-
- Downloads
drm/amdgpu: Optimize xxx_ras_fini function of each ras block
1. Move the variables of ras block instance members from specific xxx_ras_fini to general ras_fini call. 2. Function calls inside the modules only use parameters passed from xxx_ras_fini instead of ras block instance members. Signed-off-by:yipechai <YiPeng.Chai@amd.com> Reviewed-by:
Tao Zhou <tao.zhou1@amd.com> Signed-off-by:
Alex Deucher <alexander.deucher@amd.com>
Showing
- drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c 2 additions, 2 deletionsdrivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c
- drivers/gpu/drm/amd/amdgpu/amdgpu_gmc.c 4 additions, 4 deletionsdrivers/gpu/drm/amd/amdgpu/amdgpu_gmc.c
- drivers/gpu/drm/amd/amdgpu/amdgpu_hdp.c 2 additions, 2 deletionsdrivers/gpu/drm/amd/amdgpu/amdgpu_hdp.c
- drivers/gpu/drm/amd/amdgpu/amdgpu_mmhub.c 2 additions, 2 deletionsdrivers/gpu/drm/amd/amdgpu/amdgpu_mmhub.c
- drivers/gpu/drm/amd/amdgpu/amdgpu_nbio.c 2 additions, 2 deletionsdrivers/gpu/drm/amd/amdgpu/amdgpu_nbio.c
- drivers/gpu/drm/amd/amdgpu/amdgpu_sdma.c 2 additions, 2 deletionsdrivers/gpu/drm/amd/amdgpu/amdgpu_sdma.c
- drivers/gpu/drm/amd/amdgpu/amdgpu_umc.c 2 additions, 2 deletionsdrivers/gpu/drm/amd/amdgpu/amdgpu_umc.c
- drivers/gpu/drm/amd/amdgpu/amdgpu_xgmi.c 2 additions, 2 deletionsdrivers/gpu/drm/amd/amdgpu/amdgpu_xgmi.c
- drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c 1 addition, 1 deletiondrivers/gpu/drm/amd/amdgpu/gfx_v9_0.c
- drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c 1 addition, 1 deletiondrivers/gpu/drm/amd/amdgpu/sdma_v4_0.c
- drivers/gpu/drm/amd/amdgpu/soc15.c 1 addition, 1 deletiondrivers/gpu/drm/amd/amdgpu/soc15.c
Loading
Please register or sign in to comment