* [PATCH] drm/i915/gen9: Update the forcewake range
@ 2016-04-29 4:24 akash.goel
2016-04-29 4:53 ` Kamble, Sagar A
0 siblings, 1 reply; 2+ messages in thread
From: akash.goel @ 2016-04-29 4:24 UTC (permalink / raw)
To: intel-gfx; +Cc: Akash Goel
From: Akash Goel <akash.goel@intel.com>
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 <akash.goel@intel.com>
---
drivers/gpu/drm/i915/intel_uncore.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/drivers/gpu/drm/i915/intel_uncore.c b/drivers/gpu/drm/i915/intel_uncore.c
index 4f1dfe6..7387426 100644
--- a/drivers/gpu/drm/i915/intel_uncore.c
+++ b/drivers/gpu/drm/i915/intel_uncore.c
@@ -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) || \
--
1.9.2
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] drm/i915/gen9: Update the forcewake range
2016-04-29 4:24 [PATCH] drm/i915/gen9: Update the forcewake range akash.goel
@ 2016-04-29 4:53 ` Kamble, Sagar A
0 siblings, 0 replies; 2+ messages in thread
From: Kamble, Sagar A @ 2016-04-29 4:53 UTC (permalink / raw)
To: akash.goel, intel-gfx
Reviewed-by: Sagar Arun Kamble <sagar.a.kamble@intel.com>
On 4/29/2016 9:54 AM, akash.goel@intel.com wrote:
> From: Akash Goel <akash.goel@intel.com>
>
> 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 <akash.goel@intel.com>
> ---
> drivers/gpu/drm/i915/intel_uncore.c | 3 +--
> 1 file changed, 1 insertion(+), 2 deletions(-)
>
> diff --git a/drivers/gpu/drm/i915/intel_uncore.c b/drivers/gpu/drm/i915/intel_uncore.c
> index 4f1dfe6..7387426 100644
> --- a/drivers/gpu/drm/i915/intel_uncore.c
> +++ b/drivers/gpu/drm/i915/intel_uncore.c
> @@ -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
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2016-04-29 4:53 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-04-29 4:24 [PATCH] drm/i915/gen9: Update the forcewake range akash.goel
2016-04-29 4:53 ` Kamble, Sagar A
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox