]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commitdiff
drm/i915: Don't return busy for buffers left on the flushing list.
authorEric Anholt <eric@anholt.net>
Mon, 15 Dec 2008 03:05:04 +0000 (19:05 -0800)
committerDave Airlie <airlied@redhat.com>
Fri, 19 Dec 2008 05:34:32 +0000 (15:34 +1000)
These buffers don't have active rendering still occurring to them, they just
need either a flush to be emitted or a retire_requests to occur so that we
notice they're done.  Return unbusy so that one of the two occurs.  The two
expected consumers of this interface (OpenGL and libdrm_intel BO cache) both
want this behavior.

Signed-off-by: Eric Anholt <eric@anholt.net>
Acked-by: Keith Packard <keithp@keithp.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>

No differences found