[PATCH] drm/amd/display: [FIX] Compilation error
Qingqing Zhuo
qingqing.zhuo at amd.com
Fri Oct 2 23:56:08 UTC 2020
[Why]
ifdef mismatch.
[How]
Update to the correct flag.
Signed-off-by: Qingqing Zhuo <qingqing.zhuo at amd.com>
Cc: <stable at vger.kernel.org>
---
drivers/gpu/drm/amd/display/dc/dce/dce_abm.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/gpu/drm/amd/display/dc/dce/dce_abm.h b/drivers/gpu/drm/amd/display/dc/dce/dce_abm.h
index 389ca0d54d1b..24f7fe374e13 100644
--- a/drivers/gpu/drm/amd/display/dc/dce/dce_abm.h
+++ b/drivers/gpu/drm/amd/display/dc/dce/dce_abm.h
@@ -189,7 +189,7 @@
#define ABM_MASK_SH_LIST_DCN20(mask_sh) ABM_MASK_SH_LIST_DCE110(mask_sh)
-#if defined(CONFIG_DRM_AMD_DC_DCN3_01)
+#if defined(CONFIG_DRM_AMD_DC_DCN3_0)
#define ABM_MASK_SH_LIST_DCN301(mask_sh) ABM_MASK_SH_LIST_DCN10(mask_sh)
#endif
--
2.17.1
More information about the amd-gfx
mailing list