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, 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 <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>
Cc: stable@vger.kernel.org
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_mst_types.c