]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Emit a request to clear a flushed and idle ring for unbusy bo
authorChris Wilson <chris@chris-wilson.co.uk>
Tue, 7 Dec 2010 10:38:40 +0000 (10:38 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Tue, 7 Dec 2010 10:59:14 +0000 (10:59 +0000)
commit8fdd1fb2a626458dedf8d82491ea9cd35af0a531
tree618a206608d4e853e9d084d9185a5ab1467f9546
parent09cbf4af03ba1c49f51c76f53f5267b8bbe8a8c2
drm/i915: Emit a request to clear a flushed and idle ring for unbusy bo

In order for bos to retire eventually, a request must be sent down the
ring. This is expected, for example, by occlusion queries for which mesa
will wait upon (whilst running glean) before issuing more batches and so
the normal activity upon the ring is suspended and we need to emit a
request to clear the idle ring.

Reported-by: Jinjin, Wang <jinjin.wang@intel.com>
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=30380
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
drivers/gpu/drm/i915/i915_gem.c