From: Ben Widawsky Date: Sat, 5 Oct 2013 04:22:53 +0000 (-0700) Subject: drm/i915: Create GEN specific read MMIO X-Git-Tag: v3.13-rc1~76^2~68^2~92 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3967018ed67f9480b2f47f8908b44b66bdbd40b5;p=pandora-kernel.git drm/i915: Create GEN specific read MMIO Extracting the MMIO read functionality makes per gen handling a bit simpler, and the overall function a lot easier to read. The increasing complexity of reads doesn't get too bad as the generation number increases: gen[2-4]: Nothing special gen5: ILK dummy write workaround gen6+: forcewake shenanigans Signed-off-by: Ben Widawsky Reviewed-by: Damien Lespiau Signed-off-by: Daniel Vetter --- Reading git-diff-tree failed