]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Refactor gen8 semaphore offset calculation
authorChris Wilson <chris@chris-wilson.co.uk>
Thu, 7 Apr 2016 06:29:14 +0000 (07:29 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Fri, 8 Apr 2016 10:43:48 +0000 (11:43 +0100)
commitd286cba19ceca8d795317cde3c9d41858fa7d522
tree9d5b58bfa88b6febdff6885cef5fca887cba300d
parent20df01c10b7578a7c140012a9dd70afc96bd1709
drm/i915: Refactor gen8 semaphore offset calculation

We reuse the same calculation into two macros, and I want to add a third
user. Time to refactor.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/1460010558-10705-5-git-send-email-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/intel_ringbuffer.h