]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Tidy common test_bit probing of i915_request->fence.flags
authorChris Wilson <chris@chris-wilson.co.uk>
Mon, 21 Jan 2019 22:21:02 +0000 (22:21 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Tue, 22 Jan 2019 13:13:53 +0000 (13:13 +0000)
commitf39bd2ee8e0206766d7c07bfa97382e70f1b432a
tree5a791de3433a477408eeff103b85ffff6840612a
parentfa9d0d303f870e060b96ee4912803e7346beed60
drm/i915: Tidy common test_bit probing of i915_request->fence.flags

A repeated pattern is to test the signaled bit of our
request->fence.flags. Make this an inline to shorten a few lines and
remove unnecessary line continuations.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20190121222117.23305-20-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/i915_irq.c
drivers/gpu/drm/i915/i915_request.c
drivers/gpu/drm/i915/i915_request.h
drivers/gpu/drm/i915/intel_breadcrumbs.c
drivers/gpu/drm/i915/intel_lrc.c
drivers/gpu/drm/i915/intel_pm.c
drivers/gpu/drm/i915/intel_ringbuffer.c