]> git.karo-electronics.de Git - linux-beck.git/commit
drm/i915: rip out GEM drm feature checks
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Mon, 23 Apr 2012 14:50:50 +0000 (16:50 +0200)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Thu, 3 May 2012 09:18:14 +0000 (11:18 +0200)
commit63ed2cb2d15019edf8af324479028996046c8631
tree538c7bfbab43b996ec26edb2d0a2ced7bf12fcd5
parent7bb6fb8dd958ae773ac205282e3c0b56c22e01ed
drm/i915: rip out GEM drm feature checks

We always set it so there's no point in checking. We could
instead add a bit that tells us whether gem is actually
initialized (i.e. either kms or gem_init_ioctl called), but
that's imho not worth it.

So just rip it out.

There's a little change in the wait_ring timeout, but we've never
run with anything else than the 60 second timeout, even on dri1
userspace.

Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/i915_gem.c
drivers/gpu/drm/i915/intel_ringbuffer.c