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

Alex Deucher alexdeucher at gmail.com
Wed Oct 14 17:55:07 UTC 2020


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>
---
 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
-- 
2.25.4



More information about the amd-gfx mailing list