Re: [PATCH] drm/amd/display: Remove unused defines

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Reviewed-by: Rodrigo Siqueira <Rodrigo.Siqueira@xxxxxxx>

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@xxxxxxx>
> ---
>  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

Attachment: signature.asc
Description: PGP signature

_______________________________________________
amd-gfx mailing list
amd-gfx@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/amd-gfx

[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux