diff options
| author | Qingqing Zhuo <qingqing.zhuo@amd.com> | 2021-03-10 12:15:29 -0500 |
|---|---|---|
| committer | Alex Deucher <alexander.deucher@amd.com> | 2021-03-23 23:25:30 -0400 |
| commit | 1c11fac563781df3382a86730e1d6d6fbd50931c (patch) | |
| tree | 7e3b790614efee2dcc9dff2582210e77bd20c4b7 /drivers | |
| parent | drm/amdgpu: fix S0ix handling when the CONFIG_AMD_PMC=m (diff) | |
| download | linux-1c11fac563781df3382a86730e1d6d6fbd50931c.tar.gz linux-1c11fac563781df3382a86730e1d6d6fbd50931c.zip | |
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 <qingqing.zhuo@amd.com>
Reviewed-by: Rodrigo Siqueira <Rodrigo.Siqueira@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers')
| -rw-r--r-- | drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c | 2 |
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); |
