aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c
diff options
context:
space:
mode:
authoryipechai <[email protected]>2022-01-04 05:35:37 +0000
committerAlex Deucher <[email protected]>2022-01-14 22:51:59 +0000
commit6492e1b07c03397f85bd6dc0e230ea6cd9394635 (patch)
tree2a48000e76aa4a48c4fbf87f42e3b3108834e2e7 /drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c
parentdrm/amd/pm: correct the checks for fan attributes support (diff)
downloadkernel-6492e1b07c03397f85bd6dc0e230ea6cd9394635.tar.gz
kernel-6492e1b07c03397f85bd6dc0e230ea6cd9394635.zip
drm/amdgpu: Unify ras block interface for each ras block
1. Define unified ops interface for each block. 2. Add ras_block_match function pointer in ops interface, each ras block can customize specail match function to identify itself. 3. Add amdgpu_ras_block_match_default new function. If a ras block doesn't define .ras_block_match, default execute amdgpu_ras_block_match_default to identify this ras block. 4. Define unified basic ras block data for each ras block. 5. Create dedicated amdgpu device ras block link list to manage all of the ras blocks. 6. Add amdgpu_ras_register_ras_block new function interface for each ras block to register itself to ras controlling block. Signed-off-by: yipechai <[email protected]> Reviewed-by: Hawking Zhang <[email protected]> Reviewed-by: John Clements <[email protected]> Reviewed-by: Tao Zhou <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c')
0 files changed, 0 insertions, 0 deletions