drm/radeon: rework page flip handling v4
authorChristian König <christian.koenig@amd.com>
Tue, 3 Jun 2014 22:13:21 +0000 (18:13 -0400)
committerDave Airlie <airlied@redhat.com>
Wed, 4 Jun 2014 01:59:44 +0000 (11:59 +1000)
Instead of trying to flip inside the vblank period when
the buffer is idle, offload blocking for idle to a kernel
thread and program the flip directly into the hardware.

v2: add error handling, fix EBUSY handling
v3: add proper exclusive_lock handling
v4: update crtc->primary->fb when the flip actually happens

Signed-off-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>

No differences found