drm/i915: Skip uncore lock on earlier gens
authorChris Wilson <chris@chris-wilson.co.uk>
Fri, 16 Jan 2015 09:34:36 +0000 (11:34 +0200)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 27 Jan 2015 08:50:55 +0000 (09:50 +0100)
commit51f67885842e36e0d0c853795cd02b129e19a20b
tree9eb469a50d1996e92aaa69fc8b37dc36ce531c31
parent6daccb0b2a4c8c675395061cffbf77e9e5f31e7b
drm/i915: Skip uncore lock on earlier gens

With gen < 6 we don't need to take uncore lock as we
don't have anything to protect from concurrent access.

v2: rebase and account for gen9 changes

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk> (v1)
Signed-off-by: Mika Kuoppala <mika.kuoppala@intel.com>
Reviewed-by: Deepak S <deepak.s@linux.intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_uncore.c