[PATCH 428/459] drm/amd/display: Disable DSC power gating in Diags

Alex Deucher alexdeucher at gmail.com
Mon Jun 17 19:49:17 UTC 2019

From: Nikola Cornij <nikola.cornij at amd.com>

With DSC power gating enabled, one of the register reads times out occasionally,
causing a DSC test to fail.

Disable DSC power gating in Diags.
NOTE: This has to be reverted once the problems with DSC power gating are

Signed-off-by: Nikola Cornij <nikola.cornij at amd.com>
Reviewed-by: Nevenko Stupar <Nevenko.Stupar at amd.com>
Acked-by: Bhawanpreet Lakha <Bhawanpreet.Lakha at amd.com>
Signed-off-by: Alex Deucher <alexander.deucher at amd.com>
 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c b/drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c
index e7a8a13a9d33..ac65794c7fa6 100644
--- a/drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c
+++ b/drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c
@@ -723,6 +723,9 @@ static const struct dc_debug_options debug_defaults_diags = {
 		.disable_pplib_wm_range = true,
 		.disable_stutter = true,
 		.scl_reset_length10 = true,
+		.disable_dsc_power_gate = true,
 void dcn20_dpp_destroy(struct dpp **dpp)

More information about the amd-gfx mailing list