drm/i915: Tidy up flush cpu/gtt write domains
commitb0dc465f9540a8659ae06be08c6fcfc04c874777
authorChris Wilson <chris@chris-wilson.co.uk>
Thu, 18 Aug 2016 16:16:51 +0000 (18 17:16 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Thu, 18 Aug 2016 21:36:46 +0000 (18 22:36 +0100)
tree26838239c004c66ae1883ab120aa47d642a962c1
parent9764951e7f517717bc7ecc3f1a9711816646ebf7
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