drm/i915: Virtualize the ringbuffer signal func
authorBen Widawsky <benjamin.widawsky@intel.com>
Tue, 29 Apr 2014 21:52:29 +0000 (14:52 -0700)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Mon, 5 May 2014 08:56:53 +0000 (10:56 +0200)
commit78325f2d270897c9ee0887125b7abb963eb8efea
tree68112f7fcd949ced753c0ff964d6fa3eed5ad105
parentebc348b2ad59ed5c9b22269f422d12095b640ff5
drm/i915: Virtualize the ringbuffer signal func

This abstraction again is in preparation for gen8. Gen8 will bring new
semantics for doing this operation.

While here, make the writes of MI_NOOPs explicit for non-existent rings.
This should have been implicit before.

NOTE: This is going to be removed in a few patches.

Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: Ben Widawsky <ben@bwidawsk.net>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_ringbuffer.c
drivers/gpu/drm/i915/intel_ringbuffer.h