]> Git Repo - linux.git/commit - drivers/gpu/drm/i915/intel_ringbuffer.h
drm/i915: Move the irq_counter inside the spinlock
authorChris Wilson <[email protected]>
Wed, 27 Jun 2018 20:13:03 +0000 (21:13 +0100)
committerChris Wilson <[email protected]>
Thu, 28 Jun 2018 19:56:35 +0000 (20:56 +0100)
commit78796877c37cb2c3898c4bcd2a12238d83858287
treedfb89c14a8a2e1b7cd190a3ff113acf7ed07d434
parent69dc4d003e3b7c262fd5fea3f25852e853eb6d4f
drm/i915: Move the irq_counter inside the spinlock

Rather than have multiple locked instructions inside the notify_ring()
irq handler, move them inside the spinlock and reduce their intrinsic
locking.

Signed-off-by: Chris Wilson <[email protected]>
Reviewed-by: Mika Kuoppala <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
drivers/gpu/drm/i915/i915_irq.c
drivers/gpu/drm/i915/i915_request.c
drivers/gpu/drm/i915/intel_breadcrumbs.c
drivers/gpu/drm/i915/intel_ringbuffer.h
This page took 0.054564 seconds and 4 git commands to generate.