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
Showing
- drivers/gpu/drm/i915/i915_irq.c 1 addition, 2 deletionsdrivers/gpu/drm/i915/i915_irq.c
- drivers/gpu/drm/i915/i915_request.c 1 addition, 1 deletiondrivers/gpu/drm/i915/i915_request.c
- drivers/gpu/drm/i915/i915_request.h 5 additions, 0 deletionsdrivers/gpu/drm/i915/i915_request.h
- drivers/gpu/drm/i915/intel_breadcrumbs.c 1 addition, 2 deletionsdrivers/gpu/drm/i915/intel_breadcrumbs.c
- drivers/gpu/drm/i915/intel_lrc.c 1 addition, 1 deletiondrivers/gpu/drm/i915/intel_lrc.c
- drivers/gpu/drm/i915/intel_pm.c 1 addition, 1 deletiondrivers/gpu/drm/i915/intel_pm.c
- drivers/gpu/drm/i915/intel_ringbuffer.c 1 addition, 2 deletionsdrivers/gpu/drm/i915/intel_ringbuffer.c
Loading
Please register or sign in to comment