]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
drm/i915: Clear fence register on tiling stride change.
authorChris Wilson <chris@chris-wilson.co.uk>
Sat, 6 Jun 2009 08:46:01 +0000 (09:46 +0100)
committerEric Anholt <eric@anholt.net>
Thu, 18 Jun 2009 19:40:50 +0000 (12:40 -0700)
commit52dc7d32b88156248167864f77a9026abe27b432
tree6323469d7d42ac41ce179221c3d19f2789ccdebd
parent8c4b8c3f34de4e2da20df042bba173fe557f8b45
drm/i915: Clear fence register on tiling stride change.

The fence register value also depends upon the stride of the object, so we
need to clear the fence if that is changed as well.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
[anholt: Added 8xx and 965 paths, and renamed the confusing
i915_gem_object_tiling_ok function to i915_gem_object_fence_offset_ok]
Signed-off-by: Eric Anholt <eric@anholt.net>
drivers/gpu/drm/i915/i915_drv.h
drivers/gpu/drm/i915/i915_gem.c
drivers/gpu/drm/i915/i915_gem_tiling.c