diff options
author | Daniel Vetter <daniel.vetter@ffwll.ch> | 2010-02-19 11:51:56 +0100 |
---|---|---|
committer | Eric Anholt <eric@anholt.net> | 2010-02-26 13:23:21 -0800 |
commit | 798750e30d3de7932b0ac420f8fae2a970f2ac34 (patch) | |
tree | f272868107b9e8193e8344dd75d4dceaefa2d924 /lib/crc-ccitt.c | |
parent | 1f7a6e372e9cb4d749f34c0738d832e6cadb4071 (diff) |
drm/i915: reuse i915_gem_object_put_fence_reg for fence stealing code
This has a few functional changes against the old code:
* a few more unnecessary loads and stores to the drm_i915_fence_reg
objects. Also an unnecessary store to the hw fence register.
* zaps any userspace mappings before doing other flushes. Only changes
anything when userspace does racy stuff against itself.
* also flush GTT domain. This is a noop, but still try to keep the
bookkeeping correct.
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Signed-off-by: Eric Anholt <eric@anholt.net>
Diffstat (limited to 'lib/crc-ccitt.c')
0 files changed, 0 insertions, 0 deletions