drm/amd/display: Remove unused defines
Subsystems (3)
PATCH 1/1 drm/amd/display: Remove unused defines
[Why]CONFIG_DRM_AMD_DC_DCN3_0 has been folded intoCONFIG_DRM_AMD_DC_DCN and is not needed.
[How]
Drop CONFIG_DRM_AMD_DC_DCN3_0.
Signed-off-by Qingqing Zhuo <[email protected]>
--- drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c | 2 -- 1 file changed, 2 deletions(-)
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c +0 -2
@@ -976,12 +976,10 @@ static void event_mall_stutter(struct work_struct *work)else dm->active_vblank_irq_count--; -#if defined(CONFIG_DRM_AMD_DC_DCN3_0 )dc_allow_idle_optimizations ( dm->dc, dm->active_vblank_irq_count ==0 );DRM_DEBUG_DRIVER ("Allow idle optimizations (MALL): %d\n" , dm->active_vblank_irq_count ==0 ); -#endif mutex_unlock (&dm->dc_lock);
Signature · 6 lines
2.17.1 _______________________________________________ amd-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/amd-gfx
Reviewed-by Rodrigo Siqueira <[email protected]>
Quoted 32 lines · Qingqing Zhuo
[Why]
CONFIG_DRM_AMD_DC_DCN3_0has been folded intoCONFIG_DRM_AMD_DC_DCNand is not needed.[How]
DropCONFIG_DRM_AMD_DC_DCN3_0.Signed-off-by Qingqing Zhuo <[email protected]>--- drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c | 2 -- 1 file changed, 2 deletions(-)drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c +0
-2@@ -976,12 +976,10 @@ static void event_mall_stutter(struct work_struct *work)else dm->active_vblank_irq_count--; -#if defined(CONFIG_DRM_AMD_DC_DCN3_0 )dc_allow_idle_optimizations ( dm->dc, dm->active_vblank_irq_count ==0 );DRM_DEBUG_DRIVER ("Allow idle optimizations (MALL): %d\n" , dm->active_vblank_irq_count ==0 ); -#endif mutex_unlock (&dm->dc_lock);Signature · 1 line
2.17.1
Signature · 2 lines
Rodrigo Siqueira https://siqueira.tech
_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx