summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/display/dc/dc_bios_types.h
diff options
context:
space:
mode:
authorYongqiang Sun <yongqiang.sun@amd.com>2020-11-11 23:12:04 +0300
committerAlex Deucher <alexander.deucher@amd.com>2020-11-24 20:08:15 +0300
commitc85ef99a9fa394f1cd3cc3694415f80d2c9378ec (patch)
treef8d53bcb3202b4b8113ae20fd9f230b56bde439d /drivers/gpu/drm/amd/display/dc/dc_bios_types.h
parent49d067dcf2844efd78562069574dbe25a75eb5d2 (diff)
downloadlinux-c85ef99a9fa394f1cd3cc3694415f80d2c9378ec.tar.xz
drm/amd/display: Add internal display info
[Why & How] Get internal display info from vbios and pass it to dmub fw to determine if multiple display optmization is needed. 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_bios_types.h')
-rw-r--r--drivers/gpu/drm/amd/display/dc/dc_bios_types.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/display/dc/dc_bios_types.h b/drivers/gpu/drm/amd/display/dc/dc_bios_types.h
index e146e3cba8eb..509d23fdd3c9 100644
--- a/drivers/gpu/drm/amd/display/dc/dc_bios_types.h
+++ b/drivers/gpu/drm/amd/display/dc/dc_bios_types.h
@@ -144,6 +144,11 @@ struct dc_vbios_funcs {
enum bp_result (*get_soc_bb_info)(
struct dc_bios *dcb,
struct bp_soc_bb_info *soc_bb_info);
+
+ enum bp_result (*get_disp_connector_caps_info)(
+ struct dc_bios *dcb,
+ struct graphics_object_id object_id,
+ struct bp_disp_connector_caps_info *info);
};
struct bios_registers {