drm/i915: Simplify most HAS_BSD() checks
authorChris Wilson <chris@chris-wilson.co.uk>
Tue, 19 Oct 2010 09:13:00 +0000 (10:13 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Wed, 20 Oct 2010 09:51:51 +0000 (10:51 +0100)
commit87acb0a550694ff1a7725ea3a73b80d8ccf56180
treeda29fd24edf57a01c69d094490da80ae3511cc48
parent9af90d19f8a166694753b3f0558d3a8bcd66c0b5
drm/i915: Simplify most HAS_BSD() checks

... by always initialising the empty ringbuffer it is always then safe
to check whether it is active.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
drivers/gpu/drm/i915/i915_dma.c
drivers/gpu/drm/i915/i915_gem.c
drivers/gpu/drm/i915/i915_gem_evict.c