]> rtime.felk.cvut.cz Git - linux-imx.git/commit
drm/i915: Add VECS semaphore bits
authorBen Widawsky <ben@bwidawsk.net>
Wed, 29 May 2013 02:22:20 +0000 (19:22 -0700)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Fri, 31 May 2013 18:54:10 +0000 (20:54 +0200)
commit1950de14fd1b8ea27a411929156c7eccee2ad7c3
treefdb2f5db92d5e9916fd87c6a0e0acb814b1e36b0
parent4a3dd19d94c65323d71b2ffc7e63940f00acfb47
drm/i915: Add VECS semaphore bits

Like the other rings, the VECS supports semaphores. The semaphore stuff
is a bit wonky so this patch on it's own should be nice for review.

This patch should have no functional impact.

v2: Fix the English parts of clarification (again, register names were
right, text was reversed) (Damien)
Restore the still valid invariant. (Damien)
The bsd semaphore register should be MI_SEMAPHORE_SYNC_VVE (Damien)

Signed-off-by: Ben Widawsky <ben@bwidawsk.net>
Reviewed-by: Damien Lespiau <damien.lespiau@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/i915_reg.h
drivers/gpu/drm/i915/intel_ringbuffer.c