drm/amd/display: Removed z10 save after dsc disable
authorJake Wang <haonan.wang2@amd.com>
Fri, 1 Oct 2021 20:46:49 +0000 (16:46 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 19 Oct 2021 21:20:09 +0000 (17:20 -0400)
[Why & How]
Z10 save is done during PSR and bootup.
DSC disable does not need to save for Z10.

Reviewed-by: Eric Yang <eric.yang2@amd.com>
Acked-by: Agustin Gutierrez Sanchez <agustin.gutierrez@amd.com>
Signed-off-by: Jake Wang <haonan.wang2@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/dcn31/dcn31_hwseq.c

index fee385e37c9b425aeb77f21c33311ef48fff2997..65f66687af4c38dd7f78e03841be520f1c847613 100644 (file)
@@ -317,10 +317,6 @@ void dcn31_dsc_pg_control(
                if (hws->ctx->dc->res_pool->dccg->funcs->disable_dsc && !power_on)
                        hws->ctx->dc->res_pool->dccg->funcs->disable_dsc(
                                hws->ctx->dc->res_pool->dccg, dsc_inst);
-
-#if defined(CONFIG_DRM_AMD_DC_DCN)
-               dc_z10_save_init(hws->ctx->dc);
-#endif
        }
 
 }