drm/i915: Rotated view does not need a fence
authorTvrtko Ursulin <tvrtko.ursulin@intel.com>
Tue, 25 Oct 2016 16:40:35 +0000 (17:40 +0100)
committerTvrtko Ursulin <tvrtko.ursulin@intel.com>
Wed, 26 Oct 2016 08:04:55 +0000 (09:04 +0100)
commit07ee2bce6a516e0218dba22581803cb8f11bcf82
tree23269b405acc6cf7bdecac53c3cc4b39f1f1c21b
parented4596ea992db45a27bfc3a0e401fb95ef2d5f23
drm/i915: Rotated view does not need a fence

We do not need to set up a fence for the rotated view.

Display does not need it and no one can access it.

v2: Move code to __i915_vma_set_map_and_fenceable. (Chris Wilson)

Signed-off-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Fixes: 05a20d098db1 ("drm/i915: Move map-and-fenceable tracking to the VMA")
Cc: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
drivers/gpu/drm/i915/i915_gem.c