summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/display/dc/inc/hw
diff options
context:
space:
mode:
authorCharlene Liu <charlene.liu@amd.com>2018-04-18 14:31:41 -0400
committerAlex Deucher <alexander.deucher@amd.com>2018-05-18 16:08:23 -0500
commit3ba43a59927fbde07414393dfc2b6753cb233e00 (patch)
tree2723a35205e084a28704b87cfd610f1d0183f342 /drivers/gpu/drm/amd/display/dc/inc/hw
parent0002d3ac8aadcb2850475557de32234b447ba502 (diff)
downloadblackbird-obmc-linux-3ba43a59927fbde07414393dfc2b6753cb233e00.tar.gz
blackbird-obmc-linux-3ba43a59927fbde07414393dfc2b6753cb233e00.zip
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/inc/hw')
-rw-r--r--drivers/gpu/drm/amd/display/dc/inc/hw/hubp.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/display/dc/inc/hw/hubp.h b/drivers/gpu/drm/amd/display/dc/inc/hw/hubp.h
index 331f8ff57ed7..97df82cddf82 100644
--- a/drivers/gpu/drm/amd/display/dc/inc/hw/hubp.h
+++ b/drivers/gpu/drm/amd/display/dc/inc/hw/hubp.h
@@ -121,6 +121,8 @@ struct hubp_funcs {
void (*hubp_clk_cntl)(struct hubp *hubp, bool enable);
void (*hubp_vtg_sel)(struct hubp *hubp, uint32_t otg_inst);
void (*hubp_read_state)(struct hubp *hubp);
+ void (*hubp_disable_control)(struct hubp *hubp, bool disable_hubp);
+ unsigned int (*hubp_get_underflow_status)(struct hubp *hubp);
};
OpenPOWER on IntegriCloud