drm/radeon: rework page flip handling v3
authorChristian König <christian.koenig@amd.com>
Tue, 27 May 2014 14:49:22 +0000 (16:49 +0200)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 2 Jun 2014 14:25:13 +0000 (10:25 -0400)
commit1aab5514ca9604e0263f658a067da0189c86a35b
treef96125f31d9cd42d673ee2e6dcffbfcff9f37eed
parent1a0e79184132c5dc0e03a4047eacecc52c24deae
drm/radeon: rework page flip handling v3

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

Signed-off-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/radeon/radeon.h
drivers/gpu/drm/radeon/radeon_display.c
drivers/gpu/drm/radeon/radeon_mode.h