summaryrefslogtreecommitdiffstats
path: root/drivers/hid/hid-twinhan.c
diff options
context:
space:
mode:
authorJesse Barnes <jbarnes@virtuousgeek.org>2010-01-26 23:40:05 +0100
committerEric Anholt <eric@anholt.net>2010-02-10 23:33:04 +0100
commitb1b87f6b65a770a69f3632cf7c1f9182547c1249 (patch)
tree6bcd3116e569da55789c94112e9d7afc8042f9be /drivers/hid/hid-twinhan.c
parentdrm/i915: handle FBC and self-refresh better (diff)
downloadlinux-b1b87f6b65a770a69f3632cf7c1f9182547c1249.tar.xz
linux-b1b87f6b65a770a69f3632cf7c1f9182547c1249.zip
drm/i915: untangle page flip completion
When a new page flip is requested, we need to both queue an unpin for the current framebuffer, and also increment the flip pending count on the newly submitted buffer. At flip finish time, we need to unpin the old fb and decrement the flip pending count on the new buffer. The old code was conflating the two, and led to hangs when new direct rendered apps were started, replacing the existing frame buffer. This patch splits out the buffers and prevents the hangs. Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org> Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk> Reviewed-by: Kristian Høgsberg <krh@bitplanet.net> Signed-off-by: Eric Anholt <eric@anholt.net>
Diffstat (limited to 'drivers/hid/hid-twinhan.c')
0 files changed, 0 insertions, 0 deletions