]> 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, 25 Apr 2018 15:07:50 +0000 (10:07 -0500)
commit22dfbb251e2ea91f478a54109d1e1bee9a8aecec
treeb95720528fcb4d29b7cb5de76f43ddcd271dd000
parent993dfdd91de054070d483d3dd44cb1c1cd7f3f1a
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