aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_hdp.c
diff options
context:
space:
mode:
authoryipechai <[email protected]>2022-01-30 09:03:32 +0000
committerAlex Deucher <[email protected]>2022-02-14 20:08:40 +0000
commitbdb3489cfca16815e9a737359e9e90a4af5d0ff3 (patch)
tree47d9a52a063e953fe2cf39046e86ba248fe129b8 /drivers/gpu/drm/amd/amdgpu/amdgpu_hdp.c
parentdrm/amdgpu: no rlcg legacy read in SRIOV case (diff)
downloadkernel-bdb3489cfca16815e9a737359e9e90a4af5d0ff3.tar.gz
kernel-bdb3489cfca16815e9a737359e9e90a4af5d0ff3.zip
drm/amdgpu: Optimize xxx_ras_late_init/xxx_ras_late_fini for each ras block
1. Define amdgpu_ras_block_late_init to create sysfs nodes and interrupt handles. 2. Define amdgpu_ras_block_late_fini to remove sysfs nodes and interrupt handles. 3. Replace ras block variable members in struct amdgpu_ras_block_object with struct ras_common_if, which can make it easy to associate each ras block instance with each ras block functional interface. 4. Add .ras_cb to struct amdgpu_ras_block_object. 5. Change each ras block to fit for the changement of struct amdgpu_ras_block_object. Signed-off-by: yipechai <[email protected]> Reviewed-by: Tao Zhou <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_hdp.c')
0 files changed, 0 insertions, 0 deletions