]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/display: Don't read EDID in atomic_check
authorHarry Wentland <harry.wentland@amd.com>
Fri, 9 Mar 2018 03:05:35 +0000 (22:05 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 11 Apr 2018 18:07:38 +0000 (13:07 -0500)
commitb0077406eae23d0e057b954f430c589821c4c7e7
tree3533f6229e73d8715ae94fa8f2a98b5aed1a4f7f
parent894a34c3c54f9b38d2954577385badd263fcc228
drm/amd/display: Don't read EDID in atomic_check

We shouldn't attempt to read EDID in atomic_check. We really shouldn't
even be modifying the connector object, or any other non-state object,
but this is a start at least.

Moving EDID cleanup to dm_dp_mst_connector_destroy from
dm_dp_destroy_mst_connector to ensure the EDID is still available for
headless mode.

Signed-off-by: Harry Wentland <harry.wentland@amd.com>
Reviewed-by: Tony Cheng <Tony.Cheng@amd.com>
Acked-by: Harry Wentland <harry.wentland@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_mst_types.c