Re: [Intel-gfx] [PATCH 08/15] drm/i915/bdw: implement semaphore signal

2013-12-17 Thread Chris Wilson
On Mon, Dec 16, 2013 at 08:50:44PM -0800, Ben Widawsky wrote: > +static int gen8_rcs_signal(struct intel_ring_buffer *signaller, > +unsigned int num_dwords) > +{ > +#define MBOX_UPDATE_DWORDS 8 > + struct drm_device *dev = signaller->dev; > + struct drm_i915_private

[Intel-gfx] [PATCH 08/15] drm/i915/bdw: implement semaphore signal

2013-12-16 Thread Ben Widawsky
Semaphore signalling works similarly to previous GENs with the exception that the per ring mailboxes no longer exist. Instead you must define your own space, somewhere in the GTT. The comments in the code define the layout I've opted for, which should be fairly future proof. Ie. I tried to define