drm/i915: Allow get_fence_reg() to be uninterruptible
authorChris Wilson <chris@chris-wilson.co.uk>
Tue, 14 Sep 2010 12:03:28 +0000 (13:03 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Tue, 14 Sep 2010 20:08:36 +0000 (21:08 +0100)
commit2cf34d7b7ee99c27c1a6bdd2f91344cbfa5fef5c
tree86e52ca489247cddc28950e86cc8a01e5433ae4b
parent48b956c5a89c7b100ef3b818b6ccf759ab695383
drm/i915: Allow get_fence_reg() to be uninterruptible

As we currently may need to acquire a fence register during a modeset,
we need to be able to do so in an uninterruptible manner. So expose that
parameter to the callers of the fence management code.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
drivers/gpu/drm/i915/i915_drv.h
drivers/gpu/drm/i915/i915_gem.c
drivers/gpu/drm/i915/i915_gem_tiling.c
drivers/gpu/drm/i915/intel_display.c