From aa5a5777304228819a52562d346bc3eb1b4873fa Mon Sep 17 00:00:00 2001 From: SivapiriyanKumarasamy Date: Tue, 13 Feb 2018 17:37:23 -0500 Subject: drm/amd/display: Vari-bright looks disabled near end of MM14 Avoid hanging DMCU by setting abm level only when OTG unblanked Signed-off-by: SivapiriyanKumarasamy Reviewed-by: Tony Cheng Acked-by: Harry Wentland Signed-off-by: Alex Deucher --- drivers/gpu/drm/amd/display/dc/dc.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'drivers/gpu/drm/amd/display/dc/dc.h') diff --git a/drivers/gpu/drm/amd/display/dc/dc.h b/drivers/gpu/drm/amd/display/dc/dc.h index 2cd97342bf0f..bf4f2e6960cb 100644 --- a/drivers/gpu/drm/amd/display/dc/dc.h +++ b/drivers/gpu/drm/amd/display/dc/dc.h @@ -60,6 +60,11 @@ struct dc_versions { struct dmcu_version dmcu_version; }; +struct abm_setting { + bool stream_update; + unsigned int abm_level; +}; + struct dc_caps { uint32_t max_streams; uint32_t max_links; -- cgit v1.2.3