From: Jesse Barnes Date: Fri, 15 Jun 2012 18:55:17 +0000 (-0700) Subject: drm/i915: access VLV regs through read/write switch X-Git-Tag: v3.6-rc1~83^2~42^2~9 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f7dff0c9cbb89e9c406c0ca47f32129b61721174;p=pandora-kernel.git drm/i915: access VLV regs through read/write switch Since the offsets have all moved around. v2: switch IS_DISPLAYREG and IS_VALLEYVIEW checks around since the latter is cheaper (Daniel) bail out early in IS_DISPLAYREG if the reg is in the new range (Daniel) Signed-off-by: Jesse Barnes [danvet: Fixup if cascading fail that broke HAS_FORCEWAKE machines.] Signed-off-by: Daniel Vetter --- Reading git-diff-tree failed