]> git.karo-electronics.de Git - linux-beck.git/commit
drm/i915: Protect gen7 irq_seqno_barrier with uncore lock
authorChris Wilson <chris@chris-wilson.co.uk>
Wed, 27 Apr 2016 08:02:01 +0000 (09:02 +0100)
committerJani Nikula <jani.nikula@intel.com>
Mon, 23 May 2016 08:17:13 +0000 (11:17 +0300)
commite32da7adaf3c511e7e6ffa0d5b680e07201630b8
tree01f4b2e9dce97143311ad00b4189d5781c0f40c9
parent5fbd0418eef283269f2cc1b90b63d88f20c887bf
drm/i915: Protect gen7 irq_seqno_barrier with uncore lock

Faced with sporadic machine hangs on gen7, that mimic the issue of
concurrent writes to the same cacheline and seem to start with
commit 9b9ed3093613 (drm/i915: Remove forcewake dance from seqno/irq
barrier on legacy gen6+), let us restore the spinlock around the mmio
read.

Fixes: 9b9ed3093613 (drm/i915: Remove forcewake dance from seqno/irq...)
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Mika Kuoppala <mika.kuoppala@intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/1461744121-27051-1-git-send-email-chris@chris-wilson.co.uk
Tested-by: Mika Kuoppala <mika.kuoppala@intel.com>
Reviewed-by: Mika Kuoppala <mika.kuoppala@intel.com>
(cherry picked from commit bcbdb6d01150dcc1769ddc9baaaf7f102f27f919)
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
drivers/gpu/drm/i915/intel_ringbuffer.c