]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Tidy up flush cpu/gtt write domains
authorChris Wilson <chris@chris-wilson.co.uk>
Thu, 18 Aug 2016 16:16:51 +0000 (17:16 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Thu, 18 Aug 2016 21:36:46 +0000 (22:36 +0100)
commit8047af6369a5436bda5fc98d0e659b1284a065b1
tree26838239c004c66ae1883ab120aa47d642a962c1
parenta3af3ec3c4792b0cd1eca4a07f79b32e63b17d23
drm/i915: Tidy up flush cpu/gtt write domains

Since we know the write domain, we can drop the local variable and make
the code look a tiny bit simpler.

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/20160818161718.27187-12-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/i915_gem.c