aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorQingqing Zhuo <[email protected]>2021-03-10 12:15:29 -0500
committerAlex Deucher <[email protected]>2021-03-23 23:25:30 -0400
commit1c11fac563781df3382a86730e1d6d6fbd50931c (patch)
tree7e3b790614efee2dcc9dff2582210e77bd20c4b7
parente3e984ee437a251e36fae1bdd0a1f283ead7f20f (diff)
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 <[email protected]> Reviewed-by: Rodrigo Siqueira <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
-rw-r--r--drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c2
1 files changed, 0 insertions, 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);