]> git.baikalelectronics.ru Git - kernel.git/commit
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)
committerJani Nikula <jani.nikula@intel.com>
Fri, 28 Oct 2016 12:24:04 +0000 (15:24 +0300)
commite8e3b9cff1514c972b6691cd206d895bb85148d9
tree8e50495dc6c1683b36f3cd2b74ab0984d336d23b
parent60c4e75cde1695aa081d81eb87511306c5f6e0e8
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: 112008a2f12e ("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>
(cherry picked from commit 07ee2bce6a516e0218dba22581803cb8f11bcf82)
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
drivers/gpu/drm/i915/i915_gem.c