]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: GMBUS don't need no forcewake
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Wed, 12 Oct 2016 11:44:47 +0000 (14:44 +0300)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Mon, 17 Oct 2016 11:26:42 +0000 (14:26 +0300)
commit3bbad856087f2c8e08b2e9dcd9d4e850a2c5a370
tree52577b9562cc3f502c50aa90f84b80e8c8dfdb15
parentcace6abf77b3bc6f76ffaa3a8403d4f0ab578b6e
drm/i915: GMBUS don't need no forcewake

GMBUS is part of the display engine, and thus has no need for
forcewake. Let's not bother trying to grab it then.

I don't recall if the display engine suffers from system hangs
due to multiple accesses to the same "cacheline" in mmio space.
I hope not since we're no longer protected by the uncore lock
since commit 14978506184d ("drm/i915: Take forcewake once for
the entire GMBUS transaction")

Cc: Chris Wilson <chris@chris-wilson.co.uk>
Cc: David Weinehall <david.weinehall@linux.intel.com>
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/1476272687-15070-1-git-send-email-ville.syrjala@linux.intel.com
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
drivers/gpu/drm/i915/intel_i2c.c