aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorJesse Barnes <jbarnes@virtuousgeek.org>2012-10-25 15:15:48 -0400
committerDaniel Vetter <daniel.vetter@ffwll.ch>2012-11-11 17:51:37 -0500
commit310c53a84f592d3e4a54dc26d512d1429695080b (patch)
tree237998ad5e41f52d4db0fedc46e403e9209b79aa /drivers
parent3ac7831314eba873d60b58718123c503f6961337 (diff)
drm/i915: add clock gating regs to VLV offset check function
So we can write them properly. Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org> Reviewed-by: Antti Koskipää <antti.koskipaa@intel.com> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/gpu/drm/i915/i915_drv.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/drivers/gpu/drm/i915/i915_drv.c b/drivers/gpu/drm/i915/i915_drv.c
index 513856359ca3..a08e9cafb7f2 100644
--- a/drivers/gpu/drm/i915/i915_drv.c
+++ b/drivers/gpu/drm/i915/i915_drv.c
@@ -1133,8 +1133,17 @@ static bool IS_DISPLAYREG(u32 reg)
1133 return false; 1133 return false;
1134 1134
1135 switch (reg) { 1135 switch (reg) {
1136 case _3D_CHICKEN3:
1137 case IVB_CHICKEN3:
1138 case GEN7_COMMON_SLICE_CHICKEN1:
1139 case GEN7_L3CNTLREG1:
1140 case GEN7_L3_CHICKEN_MODE_REGISTER:
1136 case GEN7_ROW_CHICKEN2: 1141 case GEN7_ROW_CHICKEN2:
1142 case GEN7_L3SQCREG4:
1143 case GEN7_SQ_CHICKEN_MBCUNIT_CONFIG:
1137 case GEN7_HALF_SLICE_CHICKEN1: 1144 case GEN7_HALF_SLICE_CHICKEN1:
1145 case GEN6_MBCTL:
1146 case GEN6_UCGCTL2:
1138 return false; 1147 return false;
1139 default: 1148 default:
1140 break; 1149 break;