]> git.karo-electronics.de Git - linux-beck.git/commit
drm/i915/ringbuffer: Specialise SNB+ request emission for semaphores
authorChris Wilson <chris@chris-wilson.co.uk>
Tue, 2 Aug 2016 21:50:35 +0000 (22:50 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Tue, 2 Aug 2016 21:58:29 +0000 (22:58 +0100)
commit618e4ca7b137612fd6b4395f011d9b392d68d149
treeac8e3961337e9cdb4f693b53779992a032f62ba7
parentb0411e7d453118fb72f5b0c10202b5b7c98a0329
drm/i915/ringbuffer: Specialise SNB+ request emission for semaphores

As gen6_emit_request() only differs from i9xx_emit_request() when
semaphores are enabled, only use the specialised vfunc in that scenario.

v2: Reorder semaphore init so as to keep engine->emit_request default
vfunc selection compact.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Link: http://patchwork.freedesktop.org/patch/msgid/1469432687-22756-27-git-send-email-chris@chris-wilson.co.uk
Reviewed-by: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/1470174640-18242-18-git-send-email-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/intel_ringbuffer.c