]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Skip the execlists CSB scan and rewrite if the ring is untouched
authorChris Wilson <chris@chris-wilson.co.uk>
Tue, 24 Jan 2017 11:00:06 +0000 (11:00 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Tue, 24 Jan 2017 15:56:18 +0000 (15:56 +0000)
commitfb84df345cbd13cbf765dcd2f33e499f8cbbe7bd
tree26fc89da50390b97f47b970d99a4079eea95e463
parenta43e969ef5711edc9920fe5316cf131c49c57722
drm/i915: Skip the execlists CSB scan and rewrite if the ring is untouched

If the CSB head/tail pointers are unchanged, we can skip the update of
the CSB register afterwards.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/20170124110009.28947-5-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/intel_lrc.c