OSDN Git Service

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)
commita12c3b7d4e2ac7837c23620ebc3e42b397c1c321
tree3533f6229e73d8715ae94fa8f2a98b5aed1a4f7f
parentdeb0aac6af79265408c2b3c62b3d1150e7c46a1b
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