OSDN Git Service

drm/amd/display: refine the EDID override
authorjinzh <jinzh@github.amd.com>
Thu, 10 Feb 2022 14:50:06 +0000 (22:50 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 4 Mar 2022 18:03:29 +0000 (13:03 -0500)
commit575d0df6dae46f1b5d26a35ce0ccbc5aafd40e1d
tree6c473153d723a4d29cfa0c3ddffea973299a9ef2
parent5f5d08b7eb0ab09700b22bec2adcecb8a1de1120
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>
drivers/gpu/drm/amd/display/dc/dm_helpers.h