[PATCH] drm/amd/display: Remove unused defines
Rodrigo Siqueira
Rodrigo.Siqueira at amd.com
Wed Mar 10 20:58:57 UTC 2021
Reviewed-by: Rodrigo Siqueira <Rodrigo.Siqueira at amd.com>
On 03/10, Qingqing Zhuo wrote:
> [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 at amd.com>
> ---
> 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 2506e85a19b6..7aab4a6a69c5 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);
> --
> 2.17.1
>
--
Rodrigo Siqueira
https://siqueira.tech
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/amd-gfx/attachments/20210310/08a4beb3/attachment.sig>
More information about the amd-gfx
mailing list