]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/display: update connector->display_info after read edid
authorHersen Wu <hersenxs.wu@amd.com>
Thu, 13 Feb 2020 17:44:35 +0000 (12:44 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 19 Mar 2020 04:03:03 +0000 (00:03 -0400)
commited34230381ec51ec9118c208a9c2aed6b54cde3d
treea57fa3cf1b663b5658ed4e8de3a0c8d884dc4d9e
parent4cd883345ea13250f4eed89cf562889e4865000f
drm/amd/display: update connector->display_info after read edid

[Why]
drm_connector->display_info is not passed to amdgpu_dm right way after
read edid.

[How]
display_info is parsed from edid and saved into drm_connector by
drm_connector_update_edid_proerty which is called within
amdgpu_dm_update_connector_after_detect. call this function after read
edid to update drm_connector->display_info

Signed-off-by: Hersen Wu <hersenxs.wu@amd.com>
Reviewed-by: Bhawanpreet Lakha <Bhawanpreet.Lakha@amd.com>
Acked-by: Rodrigo Siqueira <Rodrigo.Siqueira@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.h
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_helpers.c