From 1c11fac563781df3382a86730e1d6d6fbd50931c Mon Sep 17 00:00:00 2001 From: Qingqing Zhuo Date: Wed, 10 Mar 2021 12:15:29 -0500 Subject: [PATCH] drm/amd/display: Remove unused defines [Why] CONFIG_DRM_AMD_DC_DCN3_0 has been folded into CONFIG_DRM_AMD_DC_DCN and is not needed. [How] Drop CONFIG_DRM_AMD_DC_DCN3_0. Signed-off-by: Qingqing Zhuo Reviewed-by: Rodrigo Siqueira Signed-off-by: Alex Deucher --- drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c b/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c index 4ca88ce0d44e..8b1d2cbda7a4 100644 --- a/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c +++ b/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c @@ -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); -- GitLab