diff options
author | Akash Goel <akash.goel@intel.com> | 2014-11-25 01:59:00 -0500 |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2014-12-03 03:29:41 -0500 |
commit | 8ee558d8041f3facc79a13242c624c2ca87626e7 (patch) | |
tree | b13d19af4fb40b1ab63d6f5cb94dcfa5f5c54d78 | |
parent | 2c623c11c7d87ada0121c5502358b30c9a849d2d (diff) |
drm/i915/skl: Update in Gen9 multi-engine forcewake range
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>
-rw-r--r-- | drivers/gpu/drm/i915/intel_uncore.c | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/drivers/gpu/drm/i915/intel_uncore.c b/drivers/gpu/drm/i915/intel_uncore.c index 2b34c046da66..46de8d75b4bf 100644 --- a/drivers/gpu/drm/i915/intel_uncore.c +++ b/drivers/gpu/drm/i915/intel_uncore.c | |||
@@ -671,18 +671,22 @@ void assert_force_wake_inactive(struct drm_i915_private *dev_priv) | |||
671 | REG_RANGE((reg), 0x22000, 0x24000)) | 671 | REG_RANGE((reg), 0x22000, 0x24000)) |
672 | 672 | ||
673 | #define FORCEWAKE_GEN9_UNCORE_RANGE_OFFSET(reg) \ | 673 | #define FORCEWAKE_GEN9_UNCORE_RANGE_OFFSET(reg) \ |
674 | REG_RANGE((reg), 0xC00, 0x2000) | 674 | REG_RANGE((reg), 0xB00, 0x2000) |
675 | 675 | ||
676 | #define FORCEWAKE_GEN9_RENDER_RANGE_OFFSET(reg) \ | 676 | #define FORCEWAKE_GEN9_RENDER_RANGE_OFFSET(reg) \ |
677 | (REG_RANGE((reg), 0x2000, 0x4000) || \ | 677 | (REG_RANGE((reg), 0x2000, 0x2700) || \ |
678 | REG_RANGE((reg), 0x3000, 0x4000) || \ | ||
678 | REG_RANGE((reg), 0x5200, 0x8000) || \ | 679 | REG_RANGE((reg), 0x5200, 0x8000) || \ |
680 | REG_RANGE((reg), 0x8140, 0x8160) || \ | ||
679 | REG_RANGE((reg), 0x8300, 0x8500) || \ | 681 | REG_RANGE((reg), 0x8300, 0x8500) || \ |
680 | REG_RANGE((reg), 0x8C00, 0x8D00) || \ | 682 | REG_RANGE((reg), 0x8C00, 0x8D00) || \ |
681 | REG_RANGE((reg), 0xB000, 0xB480) || \ | 683 | REG_RANGE((reg), 0xB000, 0xB480) || \ |
682 | REG_RANGE((reg), 0xE000, 0xE800)) | 684 | REG_RANGE((reg), 0xE000, 0xE900) || \ |
685 | REG_RANGE((reg), 0x24400, 0x24800)) | ||
683 | 686 | ||
684 | #define FORCEWAKE_GEN9_MEDIA_RANGE_OFFSET(reg) \ | 687 | #define FORCEWAKE_GEN9_MEDIA_RANGE_OFFSET(reg) \ |
685 | (REG_RANGE((reg), 0x8800, 0x8A00) || \ | 688 | (REG_RANGE((reg), 0x8130, 0x8140) || \ |
689 | REG_RANGE((reg), 0x8800, 0x8A00) || \ | ||
686 | REG_RANGE((reg), 0xD000, 0xD800) || \ | 690 | REG_RANGE((reg), 0xD000, 0xD800) || \ |
687 | REG_RANGE((reg), 0x12000, 0x14000) || \ | 691 | REG_RANGE((reg), 0x12000, 0x14000) || \ |
688 | REG_RANGE((reg), 0x1A000, 0x1EA00) || \ | 692 | REG_RANGE((reg), 0x1A000, 0x1EA00) || \ |