]> git.karo-electronics.de Git - karo-tx-linux.git/commit
drm/amdgpu: Set PFLIP_SUBMITTED for crtc after address update
authorAndrey Grodzovsky <Andrey.Grodzovsky@amd.com>
Wed, 30 Mar 2016 21:34:27 +0000 (17:34 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 5 May 2016 00:19:07 +0000 (20:19 -0400)
commitbd4c72d1e9dd7efdb9a990225f32e0130c0884af
tree01fafadd828a1d5f3b982970ac9d1f1c656362f2
parentc63dd758589b1f7e8398841d1f443f06ebfbcefc
drm/amdgpu: Set PFLIP_SUBMITTED for crtc after address update

Also add some pflip debug prints.

This change allows us to wait on pflip status until the new surface address
is actually submitted to the register.

This reverts ed3020e923240829dcdfd3343f6e91dc02c63775
drm/amdgpu: Move MMIO flip out of spinlocked region
The original change assumed DAL will aquire locks inside DAL
implemetion of page_flip callback which eventaully didn't happen.

This moves the flip before status update which makes sense for the
non-DAL code pathes as well.

Signed-off-by: Andrey Grodzovsky <Andrey.Grodzovsky@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_display.c