]> git.karo-electronics.de Git - karo-tx-linux.git/commit
drm/i915: Split out i915_gem_object_set_tiling()
authorChris Wilson <chris@chris-wilson.co.uk>
Tue, 10 Jan 2017 12:10:45 +0000 (12:10 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Tue, 10 Jan 2017 15:29:14 +0000 (15:29 +0000)
commit957870f9341201b176e41eb5fa8a750b13e501aa
tree2a9ee3908065bf52a9f0377e4873469d1563b456
parent111dbcab3d5baf5ef7a377471dbd10c23484f11d
drm/i915: Split out i915_gem_object_set_tiling()

Expose an interface for changing the tiling and stride on an object,
that includes the complexity of checking for conflicting bindings and
fence registers.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/20170110121045.27144-2-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/i915_gem_object.h
drivers/gpu/drm/i915/i915_gem_tiling.c