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

Harry Wentland harry.wentland at amd.com
Mon Aug 16 20:18:44 UTC 2021


On 2021-08-16 4:12 p.m., Alex Deucher wrote:
> 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>

Reviewed-by: Harry Wentland <harry.wentland at amd.com>

Harry

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



More information about the amd-gfx mailing list