diff options
author | Yongqiang Sun <yongqiang.sun@amd.com> | 2020-11-12 19:21:16 +0300 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2020-11-24 20:08:23 +0300 |
commit | 30bdf50b77bd3dbc111b4aeff7018d8c58ec7d8d (patch) | |
tree | 015ea3ab4835e9b67c876435d9617e34e7d7fd6e /drivers/gpu/drm/amd/display/dc/dc.h | |
parent | c85ef99a9fa394f1cd3cc3694415f80d2c9378ec (diff) | |
download | linux-30bdf50b77bd3dbc111b4aeff7018d8c58ec7d8d.tar.xz |
drm/amd/display: Check multiple internal displays for power optimization.
[Why & How]
only apply multiple display power optimization in case there are more
than one internal display.
Signed-off-by: Yongqiang Sun <yongqiang.sun@amd.com>
Reviewed-by: Tony Cheng <Tony.Cheng@amd.com>
Acked-by: Anthony Koo <Anthony.Koo@amd.com>
Acked-by: Aric Cyr <Aric.Cyr@amd.com>
Acked-by: Rodrigo Siqueira <Rodrigo.Siqueira@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 | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/display/dc/dc.h b/drivers/gpu/drm/amd/display/dc/dc.h index b170e653febc..115468d3f793 100644 --- a/drivers/gpu/drm/amd/display/dc/dc.h +++ b/drivers/gpu/drm/amd/display/dc/dc.h @@ -169,6 +169,7 @@ struct dc_caps { bool psp_setup_panel_mode; bool extended_aux_timeout_support; bool dmcub_support; + uint32_t num_of_internal_disp; enum dp_protocol_version max_dp_protocol_version; struct dc_plane_cap planes[MAX_PLANES]; struct dc_color_caps color; |