drm/amd/display: Refactor headless to use atomic commit. (v2)
authorAndrey Grodzovsky <Andrey.Grodzovsky@amd.com>
Mon, 6 Feb 2017 02:48:19 +0000 (21:48 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 26 Sep 2017 21:17:40 +0000 (17:17 -0400)
commit92cc37fba0b54091b4dde4bced52c1b94d44e11f
tree825d18c18e0e791f8e540020df436ed1451e7a07
parent5f42aa394e50e4993ec370aca4bb36c3b6a81a60
drm/amd/display: Refactor headless to use atomic commit. (v2)

Headless mode set needs to be synchronized against outstanding nonblocking
commits. This achieved by building atomic state and commiting it.

v2: rebase on 4.11

Signed-off-by: Andrey Grodzovsky <Andrey.Grodzovsky@amd.com>
Acked-by: Harry Wentland <Harry.Wentland@amd.com>
Reviewed-by: Tony Cheng <Tony.Cheng@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_types.c