Skip to contentSkip to conversation

drm/i915/gen9: Update the forcewake range

PATCH In review [email protected] 2 participants 2 messages Apr 29, 2016

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 drm/i915/gen9: Update the forcewake range

From: Akash Goel <[email protected]>

Update made to the Gen9 forcewake range to cover the OA registers. MMIO locations 0x2700-0x2FFF belong to the same power domain as 0x2000-0x26FF.

---
 drivers/gpu/drm/i915/intel_uncore.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
drivers/gpu/drm/i915/intel_uncore.c +1 -2
index 4f1dfe6..7387426 100644
@@ -699,8 +699,7 @@ static bool is_gen8_shadowed(u32 offset)
 	REG_RANGE((reg), 0xB00,  0x2000)
 
 #define FORCEWAKE_GEN9_RENDER_RANGE_OFFSET(reg) \
-	(REG_RANGE((reg), 0x2000, 0x2700) || \
-	 REG_RANGE((reg), 0x3000, 0x4000) || \
+	(REG_RANGE((reg), 0x2000, 0x4000) || \
 	 REG_RANGE((reg), 0x5200, 0x8000) || \
 	 REG_RANGE((reg), 0x8140, 0x8160) || \
 	 REG_RANGE((reg), 0x8300, 0x8500) || \
Signature · 6 lines
1.9.2

_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Reviewed-by on v1 1/1
#1 lore raw
Quoted 16 lines · On 4/29/2016 9:54 AM, [email protected] wrote:

From: Akash Goel <[email protected]>

Update made to the Gen9 forcewake range to cover the OA registers. MMIO locations 0x2700-0x2FFF belong to the same power domain as 0x2000-0x26FF.

---
  drivers/gpu/drm/i915/intel_uncore.c | 3 +--
  1 file changed, 1 insertion(+), 2 deletions(-)
drivers/gpu/drm/i915/intel_uncore.c +0 -0
index 4f1dfe6..7387426 100644

drivers/gpu/drm/i915/intel_uncore.c static bool is_gen8_shadowed(u32 offset) · line 705

Quoted 9 lines
drivers/gpu/drm/i915/intel_uncore.c +1 -2
@@ -699,8 +699,7 @@ static bool is_gen8_shadowed(u32 offset)
  	REG_RANGE((reg), 0xB00,  0x2000)
 
  #define FORCEWAKE_GEN9_RENDER_RANGE_OFFSET(reg) \
-	(REG_RANGE((reg), 0x2000, 0x2700) || \
-	 REG_RANGE((reg), 0x3000, 0x4000) || \
+	(REG_RANGE((reg), 0x2000, 0x4000) || \
  	 REG_RANGE((reg), 0x5200, 0x8000) || \
  	 REG_RANGE((reg), 0x8140, 0x8160) || \
  	 REG_RANGE((reg), 0x8300, 0x8500) || \

_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx