drm/amd/display: Don't read EDID in atomic_check
authorHarry Wentland <[email protected]>
Fri, 9 Mar 2018 03:05:35 +0000 (22:05 -0500)
committerAlex Deucher <[email protected]>
Wed, 25 Apr 2018 15:07:50 +0000 (10:07 -0500)
commitc7b8de00384be49dc1617a838b0ce89a0235f319
treeb95720528fcb4d29b7cb5de76f43ddcd271dd000
parentf2877656809386d7bc62c2b1c1b4e58404c486d4
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 <[email protected]>
Reviewed-by: Tony Cheng <[email protected]>
Acked-by: Harry Wentland <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Cc: [email protected]
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_mst_types.c