drm/amd/display: Don't read EDID in atomic_check
commit2eea1dec478125ea888492123666feab0883255c
authorHarry Wentland <harry.wentland@amd.com>
Fri, 9 Mar 2018 03:05:35 +0000 (8 22:05 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 1 May 2018 19:47:29 +0000 (1 12:47 -0700)
tree9ccfccb9827617514276df5a70d04830ec40d974
parentae9b20eed6a7b688d533486b667cbc6a6f942e50
drm/amd/display: Don't read EDID in atomic_check

commit c7b8de00384be49dc1617a838b0ce89a0235f319 upstream.

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
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_mst_types.c