drm/i915: add an explict mmio base for gpio/gmbus io
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Fri, 23 Mar 2012 22:43:36 +0000 (23:43 +0100)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Sun, 25 Mar 2012 20:33:33 +0000 (22:33 +0200)
commit110447fc2f30c22dcaa1936828cb33cec5b72272
treee5c4384904b591578e7ce1b768804df958c53e62
parenteef4eacb6ed3940b4a15daf3fbd060243e54056c
drm/i915: add an explict mmio base for gpio/gmbus io

Again, Valleyview modes these around, so make the mmio base more
explicit to consolidate the base address computations to one
HAS_PCH_SPLIT check.

v2: Fix up the PCH_SPLIT braino ... it actually works that way round.

Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-Off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/i915_drv.h
drivers/gpu/drm/i915/intel_i2c.c