]> git.karo-electronics.de Git - linux-beck.git/commitdiff
drm/i915/skl: Update in Gen9 multi-engine forcewake range
authorAkash Goel <akash.goel@intel.com>
Tue, 25 Nov 2014 06:59:00 +0000 (12:29 +0530)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 3 Dec 2014 08:29:41 +0000 (09:29 +0100)
Updates in forcewake range for Render/Media/Common
power wells for Gen9.

Signed-off-by: Akash Goel <akash.goel@intel.com>
Signed-off-by: Zhe Wang <zhe1.wang@intel.com>
Reviewed-by: Damien Lespiau <damien.lespiau@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_uncore.c

index 2b34c046da6642b54c4cd83720e3175a9b64a6ae..46de8d75b4bf6fe9928bc0656a572e6139f8632f 100644 (file)
@@ -671,18 +671,22 @@ void assert_force_wake_inactive(struct drm_i915_private *dev_priv)
         REG_RANGE((reg), 0x22000, 0x24000))
 
 #define FORCEWAKE_GEN9_UNCORE_RANGE_OFFSET(reg) \
-       REG_RANGE((reg), 0xC00,  0x2000)
+       REG_RANGE((reg), 0xB00,  0x2000)
 
 #define FORCEWAKE_GEN9_RENDER_RANGE_OFFSET(reg) \
-       (REG_RANGE((reg), 0x2000, 0x4000) || \
+       (REG_RANGE((reg), 0x2000, 0x2700) || \
+        REG_RANGE((reg), 0x3000, 0x4000) || \
         REG_RANGE((reg), 0x5200, 0x8000) || \
+        REG_RANGE((reg), 0x8140, 0x8160) || \
         REG_RANGE((reg), 0x8300, 0x8500) || \
         REG_RANGE((reg), 0x8C00, 0x8D00) || \
         REG_RANGE((reg), 0xB000, 0xB480) || \
-        REG_RANGE((reg), 0xE000, 0xE800))
+        REG_RANGE((reg), 0xE000, 0xE900) || \
+        REG_RANGE((reg), 0x24400, 0x24800))
 
 #define FORCEWAKE_GEN9_MEDIA_RANGE_OFFSET(reg) \
-       (REG_RANGE((reg), 0x8800, 0x8A00) || \
+       (REG_RANGE((reg), 0x8130, 0x8140) || \
+        REG_RANGE((reg), 0x8800, 0x8A00) || \
         REG_RANGE((reg), 0xD000, 0xD800) || \
         REG_RANGE((reg), 0x12000, 0x14000) || \
         REG_RANGE((reg), 0x1A000, 0x1EA00) || \