diff options
author | SivapiriyanKumarasamy <sivapiriyan.kumarasamy@amd.com> | 2018-02-13 17:37:23 -0500 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2018-03-14 15:08:41 -0500 |
commit | aa5a5777304228819a52562d346bc3eb1b4873fa (patch) | |
tree | ec88e555b89d22338efda0f57ebd1e58ac761815 /drivers/gpu/drm/amd/display/dc/dc.h | |
parent | d5400aab15761cd836e3d5d0ad34c330784bbe1a (diff) |
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 <sivapiriyan.kumarasamy@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/dc.h')
-rw-r--r-- | drivers/gpu/drm/amd/display/dc/dc.h | 5 |
1 files changed, 5 insertions, 0 deletions
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; |