]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Replace the feature tests for BLT/BSD with ring init checks
authorChris Wilson <chris@chris-wilson.co.uk>
Fri, 11 May 2012 13:29:32 +0000 (14:29 +0100)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Sat, 19 May 2012 20:39:54 +0000 (22:39 +0200)
commitbd274968e7a180bc24a57a4749d7e8f6226e1856
treeb6c4f176d53a779862a9a4176190dc2ee8589886
parent1fd9c43cb71c61276b2ea15e3728c7ccd5d8ec3e
drm/i915: Replace the feature tests for BLT/BSD with ring init checks

When userspace asks whether the driver supports the BLT or BSD rings for
this chip, simply report whether those particular rings are initialised

v2: Use intel_ring_initialized()

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