OSDN Git Service

drm/i915: Take forcewake once for the entire GMBUS transaction
authorChris Wilson <chris@chris-wilson.co.uk>
Fri, 19 Aug 2016 16:45:02 +0000 (17:45 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Mon, 22 Aug 2016 17:42:44 +0000 (18:42 +0100)
commit4e6c2d58ba8649a6b505fc1461ccdedc583c3e36
tree1bb0414f90eab85d63692df42d13e035b111a773
parent637ee29eff53fd718a454aacd3b7190cb4e15df8
drm/i915: Take forcewake once for the entire GMBUS transaction

As we do many register reads within a very short period of time, hold
the GMBUS powerwell from start to finish.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: David Weinehall <david.weinehall@linux.intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/20160819164503.17845-1-chris@chris-wilson.co.uk
Reviewed-by: David Weinehall <david.weinehall@linux.intel.com>
drivers/gpu/drm/i915/intel_i2c.c