]> 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)
commitaa072ecb37d3d7b820f4f6e547a0501d7cb6eff6
treeb6a3f9e2d470c1f3cc259f6ddac599fbe58b5b94
parent5f00ee23cd9e7fd265c1be49dd3443f1497dfdb5
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