commit | 78796877c37cb2c3898c4bcd2a12238d83858287 | [log] [tgz] |
---|---|---|
author | Chris Wilson <chris@chris-wilson.co.uk> | Wed Jun 27 21:13:03 2018 +0100 |
committer | Chris Wilson <chris@chris-wilson.co.uk> | Thu Jun 28 20:56:35 2018 +0100 |
tree | dfb89c14a8a2e1b7cd190a3ff113acf7ed07d434 | |
parent | 69dc4d003e3b7c262fd5fea3f25852e853eb6d4f [diff] |
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 <chris@chris-wilson.co.uk> Reviewed-by: Mika Kuoppala <mika.kuoppala@linux.intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20180627201304.15817-3-chris@chris-wilson.co.uk