]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit38265f303c0703d0b9dbdca6ecc3f8337cdfe6cb
treee5c4384904b591578e7ce1b768804df958c53e62
parent1c48cb5414d097b07f1c627794cd243cad080602
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