summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/display/dc/dcn10/dcn10_resource.c
diff options
context:
space:
mode:
authorCharlene Liu <charlene.liu@amd.com>2018-04-18 21:31:41 +0300
committerAlex Deucher <alexander.deucher@amd.com>2018-05-19 00:08:23 +0300
commit3ba43a59927fbde07414393dfc2b6753cb233e00 (patch)
tree2723a35205e084a28704b87cfd610f1d0183f342 /drivers/gpu/drm/amd/display/dc/dcn10/dcn10_resource.c
parent0002d3ac8aadcb2850475557de32234b447ba502 (diff)
downloadlinux-3ba43a59927fbde07414393dfc2b6753cb233e00.tar.xz
drm/amd/display: underflow/blankscreen recovery
[Description] for any reason, if driver detects HUBP underflow, if a debug option enabled to enable recovery. it will kick in a sequence of recovery. Signed-off-by: Charlene Liu <charlene.liu@amd.com> Reviewed-by: Tony Cheng <Tony.Cheng@amd.com> Acked-by: Harry Wentland <harry.wentland@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/display/dc/dcn10/dcn10_resource.c')
-rw-r--r--drivers/gpu/drm/amd/display/dc/dcn10/dcn10_resource.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/display/dc/dcn10/dcn10_resource.c b/drivers/gpu/drm/amd/display/dc/dcn10/dcn10_resource.c
index 2c0a3150bf2d..16c84e9ee33b 100644
--- a/drivers/gpu/drm/amd/display/dc/dcn10/dcn10_resource.c
+++ b/drivers/gpu/drm/amd/display/dc/dcn10/dcn10_resource.c
@@ -446,6 +446,7 @@ static const struct dc_debug debug_defaults_drv = {
.vsr_support = true,
.performance_trace = false,
.az_endpoint_mute_only = true,
+ .recovery_enabled = false, /*enable this by default after testing.*/
};
static const struct dc_debug debug_defaults_diags = {