]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu: Support DRM_MODE_PAGE_FLIP_ASYNC (v2)
authorAlex Deucher <alexander.deucher@amd.com>
Thu, 5 May 2016 20:03:57 +0000 (16:03 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 11 May 2016 16:31:25 +0000 (12:31 -0400)
commit0185ac6a423d048eb11185ceebd8b7ec0744fb1d
treeb6a3f9e2d470c1f3cc259f6ddac599fbe58b5b94
parent97438825433fedc54c98feaf8fc16f7260c05a5c
drm/amdgpu: Support DRM_MODE_PAGE_FLIP_ASYNC (v2)

When this flag is set, we program the hardware to execute the flip
during horizontal blank (i.e. for the next scanline) instead of during
vertical blank (i.e. for the next frame).

Ported from radeon commit:
drm/radeon: Support DRM_MODE_PAGE_FLIP_ASYNC

v2: drop DAL change for upstream

Reviewed-by: Michel Dänzer <michel.daenzer@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu.h
drivers/gpu/drm/amd/amdgpu/amdgpu_display.c
drivers/gpu/drm/amd/amdgpu/amdgpu_mode.h
drivers/gpu/drm/amd/amdgpu/dce_v10_0.c
drivers/gpu/drm/amd/amdgpu/dce_v11_0.c
drivers/gpu/drm/amd/amdgpu/dce_v8_0.c