diff options
author | Jesse Barnes <[email protected]> | 2010-01-26 14:40:05 -0800 |
---|---|---|
committer | Eric Anholt <[email protected]> | 2010-02-10 14:33:04 -0800 |
commit | b1b87f6b65a770a69f3632cf7c1f9182547c1249 (patch) | |
tree | 6bcd3116e569da55789c94112e9d7afc8042f9be /net/lapb/lapb_iface.c | |
parent | ee25df2bc379728c45d81e04cf87984db1425edf (diff) |
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 <[email protected]>
Reviewed-by: Chris Wilson <[email protected]>
Reviewed-by: Kristian Høgsberg <[email protected]>
Signed-off-by: Eric Anholt <[email protected]>
Diffstat (limited to 'net/lapb/lapb_iface.c')
0 files changed, 0 insertions, 0 deletions