drm/i915: add Punit read/write routines for VLV v2
authorJesse Barnes <jbarnes@virtuousgeek.org>
Tue, 2 Apr 2013 18:23:05 +0000 (11:23 -0700)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 2 Apr 2013 19:00:06 +0000 (21:00 +0200)
commita0e4e199ad18070e17d15b920a39c6ec9d95b793
tree269f1c328d220ee13596f509d6191762f709cde9
parent453c542059cfa1988cabcf84f715307cd9789163
drm/i915: add Punit read/write routines for VLV v2

Slightly different than other platforms.

v2 [Jani]: Fix IOSF_BYTE_ENABLES_SHIFT shift. Use common routine.
v3: drop turbo defines from this patch (Ville)
    use PCI_DEVFN(2,0) instead of open coding (Ville)

Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
[danvet: Add checkpatch bikeshed about missing space.]
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/i915_drv.h
drivers/gpu/drm/i915/i915_reg.h
drivers/gpu/drm/i915/intel_pm.c