]> git.baikalelectronics.ru Git - kernel.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)
commit9512b4e4ffb44a4fffbe254397c7fc5375c9832e
treeaeaa2ad1bbe115ceaea9b39ae3905e22380644f7
parent8827317ba23ef4ae40d377317da9fcb991c5b4ca
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: 07dfa5497ec38a27fc939ae02fc116333eea9e8f
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