diff options
author | Nikola Cornij <nikola.cornij@amd.com> | 2019-04-30 17:54:31 -0400 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2019-06-22 09:34:12 -0500 |
commit | b5d71c93963deb53ebd0f8e762d290f0cee2ff32 (patch) | |
tree | 8378ce95cd469bda83b57ccc021458f5bd6e0835 | |
parent | 324707fdf83a5c25a99b2ac2500f530d530c89d2 (diff) | |
download | linux-stable-b5d71c93963deb53ebd0f8e762d290f0cee2ff32.tar.gz linux-stable-b5d71c93963deb53ebd0f8e762d290f0cee2ff32.tar.bz2 linux-stable-b5d71c93963deb53ebd0f8e762d290f0cee2ff32.zip |
drm/amd/display: Disable DSC power gating in Diags
[why]
With DSC power gating enabled, one of the register reads times out occasionally,
causing a DSC test to fail.
[how]
Disable DSC power gating in Diags.
NOTE: This has to be reverted once the problems with DSC power gating are
resolved.
Signed-off-by: Nikola Cornij <nikola.cornij@amd.com>
Reviewed-by: Nevenko Stupar <Nevenko.Stupar@amd.com>
Acked-by: Bhawanpreet Lakha <Bhawanpreet.Lakha@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
-rw-r--r-- | drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c | 3 |
1 files changed, 3 insertions, 0 deletions
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, +#ifdef CONFIG_DRM_AMD_DC_DSC_SUPPORT + .disable_dsc_power_gate = true, +#endif }; void dcn20_dpp_destroy(struct dpp **dpp) |