]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Switch the global i915.semaphores check to a local predicate
authorChris Wilson <chris@chris-wilson.co.uk>
Wed, 3 May 2017 09:39:24 +0000 (10:39 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Wed, 3 May 2017 10:08:53 +0000 (11:08 +0100)
commitc524bf4a68c6be59768367f7bfc50d8112e74c12
treefb4c3a10cfb8d017875900e0fb31f7cb2c082ac0
parent4d160e4ee89f554e8e967b9680bfc7e02a0c8b4a
drm/i915: Switch the global i915.semaphores check to a local predicate

Rather than use a global modparam, we can just check to see if the
engine has semaphores configured upon it.

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/20170503093924.5320-7-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/i915_gem_request.c