[PATCH] drm/amdgpu/display: DRM_AMD_DC_DCN3_02 depends on DRM_AMD_DC_DCN3_01

Randy Dunlap rdunlap at infradead.org
Wed Oct 14 18:39:34 UTC 2020


On 10/14/20 10:55 AM, Alex Deucher wrote:
> Fix this to avoid build problems if DRM_AMD_DC_DCN3_02 is defined, but
> DRM_AMD_DC_DCN3_01 is not.
> 
> Fixes: 36d26912e8d854 ("drm/amd/display: Add support for DCN302 (v2)")
> Reported-by: Randy Dunlap <rdunlap at infradead.org>
> Signed-off-by: Alex Deucher <alexander.deucher at amd.com>

Acked-by: Randy Dunlap <rdunlap at infradead.org> # build-tested

Thanks.

> ---
>  drivers/gpu/drm/amd/display/Kconfig | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/drivers/gpu/drm/amd/display/Kconfig b/drivers/gpu/drm/amd/display/Kconfig
> index 5906778627f0..93cdcd1ee9ff 100644
> --- a/drivers/gpu/drm/amd/display/Kconfig
> +++ b/drivers/gpu/drm/amd/display/Kconfig
> @@ -45,6 +45,7 @@ config DRM_AMD_DC_DCN3_01
>  config DRM_AMD_DC_DCN3_02
>          bool "DCN 3.02 family"
>          depends on DRM_AMD_DC_DCN3_0
> +        depends on DRM_AMD_DC_DCN3_01
>          help
>              Choose this option if you want to have
>              Dimgrey_cavefish support for display engine
> 


-- 
~Randy


More information about the amd-gfx mailing list