]> git.karo-electronics.de Git - linux-beck.git/commit
drm/i915: Fix gen8 semaphores id for legacy mode
authorChris Wilson <chris@chris-wilson.co.uk>
Fri, 29 Apr 2016 12:18:23 +0000 (13:18 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Fri, 29 Apr 2016 12:59:26 +0000 (13:59 +0100)
commit215a7e3210eb208abe634480741e418b5a8bf60c
treeaeaa2ad1bbe115ceaea9b39ae3905e22380644f7
parent0e4ca1008e101d781b430bfecae1ee6d945b7504
drm/i915: Fix gen8 semaphores id for legacy mode

With the introduction of a distinct engine->id vs the hardware id, we need
to fix up the value we use for selecting the target engine when signaling
a semaphore. Note that these values can be merged with engine->guc_id.

Fixes: de1add360522c876c25ef2bbbbab1c94bdb509ab
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Cc: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/1461932305-14637-3-git-send-email-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/intel_ringbuffer.c
drivers/gpu/drm/i915/intel_ringbuffer.h