]> git.baikalelectronics.ru Git - 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)
commit0462074fdc25aef95a735b68579918fd3c7a220e
tree6323469d7d42ac41ce179221c3d19f2789ccdebd
parent5e4d21e7e74623ccafd7d2b3797a0e24d0bfef34
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