drm/i915/gen9: Update the forcewake range
Subsystems (2)
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.
Signed-off-by Akash Goel <[email protected]>
--- drivers/gpu/drm/i915/intel_uncore.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)
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) || \
Signature · 6 lines
1.9.2 _______________________________________________ Intel-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Reviewed-by Sagar Arun Kamble <[email protected]>
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.
Signed-off-by Akash Goel <[email protected]>--- drivers/gpu/drm/i915/intel_uncore.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)drivers/gpu/drm/i915/intel_uncore.c +0
-0
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