summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorjinzh <jinzh@github.amd.com>2022-02-10 22:50:06 +0800
committerAlex Deucher <alexander.deucher@amd.com>2022-03-04 13:03:29 -0500
commit575d0df6dae46f1b5d26a35ce0ccbc5aafd40e1d (patch)
tree6c473153d723a4d29cfa0c3ddffea973299a9ef2 /drivers
parent5f5d08b7eb0ab09700b22bec2adcecb8a1de1120 (diff)
downloadlinux-575d0df6dae46f1b5d26a35ce0ccbc5aafd40e1d.tar.bz2
drm/amd/display: refine the EDID override
[Why] We already get the SBIOS EDID via ACPI on KMD, but after that, we just use the monitor EDID to set it HDR caps [How] Make the SBIOS EDID override to read_edid() That can change the read EDID caps from the right EDID Reviewed-by: Aric Cyr <Aric.Cyr@amd.com> Acked-by: Alan Liu <HaoPing.Liu@amd.com> Signed-off-by: jinzh <jinzh@github.amd.com> Tested-by: Daniel Wheeler <daniel.wheeler@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/gpu/drm/amd/display/dc/dm_helpers.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/display/dc/dm_helpers.h b/drivers/gpu/drm/amd/display/dc/dm_helpers.h
index b71b5fb894e2..31109db02e93 100644
--- a/drivers/gpu/drm/amd/display/dc/dm_helpers.h
+++ b/drivers/gpu/drm/amd/display/dc/dm_helpers.h
@@ -184,4 +184,7 @@ int dm_helpers_dmub_set_config_sync(struct dc_context *ctx,
const struct dc_link *link,
struct set_config_cmd_payload *payload,
enum set_config_status *operation_result);
+
+enum dc_edid_status dm_helpers_get_sbios_edid(struct dc_link *link, struct dc_edid *edid);
+
#endif /* __DM_HELPERS__ */