OSDN Git Service

drm/amdgpu/display: DRM_AMD_DC_DCN3_02 depends on DRM_AMD_DC_DCN3_01
authorAlex Deucher <alexander.deucher@amd.com>
Wed, 14 Oct 2020 17:39:39 +0000 (13:39 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 14 Oct 2020 19:16:30 +0000 (15:16 -0400)
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)")
Acked-by: Nirmoy Das <nirmoy.das@amd.com>
Acked-by: Randy Dunlap <rdunlap@infradead.org>
Reported-by: Randy Dunlap <rdunlap@infradead.org>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/Kconfig

index 5906778..93cdcd1 100644 (file)
@@ -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