drm/i915: Extract common MMIO lines
authorBen Widawsky <benjamin.widawsky@intel.com>
Sat, 5 Oct 2013 04:24:53 +0000 (21:24 -0700)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Thu, 10 Oct 2013 10:47:08 +0000 (12:47 +0200)
commit5d738795968dfa8f034e5f0d30f65d362c450455
tree1d8108947c649cc5ee45bf134904ae46281799c1
parent0b27448141bbe9da34a2fdf965dcba6f0f1b75c5
drm/i915: Extract common MMIO lines

Just to make the churn and code duplication in upcoming patches a bit
less, turn code which is common to all GEN MMIO functions into a macro.

v2: Fix typo in subject

Signed-off-by: Ben Widawsky <ben@bwidawsk.net>
Reviewed-by: Damien Lespiau <damien.lespiau@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_uncore.c