[PATCH] drm/amdgpu/display: fix leftover CONFIG_DRM_AMD_DC_DCN3_1

Alex Deucher alexander.deucher at amd.com
Mon Aug 16 20:12:01 UTC 2021


These were converted to CONFIG_DRM_AMD_DC_DCN, fix this case up.

Fixes: d7cecec64d07 ("drm/amd/display: Ensure DCN save after VM setup")
Signed-off-by: Alex Deucher <alexander.deucher at amd.com>
---
 drivers/gpu/drm/amd/display/dc/core/dc_vm_helper.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/gpu/drm/amd/display/dc/core/dc_vm_helper.c b/drivers/gpu/drm/amd/display/dc/core/dc_vm_helper.c
index 80c752ca4a5a..cde8ed2560b3 100644
--- a/drivers/gpu/drm/amd/display/dc/core/dc_vm_helper.c
+++ b/drivers/gpu/drm/amd/display/dc/core/dc_vm_helper.c
@@ -47,7 +47,7 @@ int dc_setup_system_context(struct dc *dc, struct dc_phy_addr_space_config *pa_c
 		 */
 		memcpy(&dc->vm_pa_config, pa_config, sizeof(struct dc_phy_addr_space_config));
 		dc->vm_pa_config.valid = true;
-#if defined(CONFIG_DRM_AMD_DC_DCN3_1)
+#if defined(CONFIG_DRM_AMD_DC_DCN)
 		dc_z10_save_init(dc);
 #endif
 	}
-- 
2.31.1



More information about the amd-gfx mailing list
  翻译: