diff options
author | Tvrtko Ursulin <tvrtko.ursulin@intel.com> | 2016-04-12 13:37:30 (GMT) |
---|---|---|
committer | Tvrtko Ursulin <tvrtko.ursulin@intel.com> | 2016-04-12 14:35:22 (GMT) |
commit | a70ecc16d01c4fc732b81c6d7a755ef582691731 (patch) | |
tree | 40b9bfc909c39661eaa3de9d7911eb396149072c /drivers/gpu/drm/i915/intel_uncore.c | |
parent | 6863b76c6295490183ee198a4db5b2a072a68b4a (diff) | |
download | linux-a70ecc16d01c4fc732b81c6d7a755ef582691731.tar.xz |
drm/i915: Remove forcewake request registers from the shadowed table
Chris Wilson points out that we can remove them from the array
since they are always written to with raw accessors.
Signed-off-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'drivers/gpu/drm/i915/intel_uncore.c')
-rw-r--r-- | drivers/gpu/drm/i915/intel_uncore.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/gpu/drm/i915/intel_uncore.c b/drivers/gpu/drm/i915/intel_uncore.c index 6b98b8a..41dd30f 100644 --- a/drivers/gpu/drm/i915/intel_uncore.c +++ b/drivers/gpu/drm/i915/intel_uncore.c @@ -588,7 +588,6 @@ void assert_forcewakes_inactive(struct drm_i915_private *dev_priv) }) static const i915_reg_t gen8_shadowed_regs[] = { - FORCEWAKE_MT, GEN6_RPNSWREQ, GEN6_RC_VIDEO_FREQ, RING_TAIL(RENDER_RING_BASE), @@ -724,9 +723,6 @@ static const i915_reg_t gen9_shadowed_regs[] = { RING_TAIL(GEN6_BSD_RING_BASE), RING_TAIL(VEBOX_RING_BASE), RING_TAIL(BLT_RING_BASE), - FORCEWAKE_BLITTER_GEN9, - FORCEWAKE_RENDER_GEN9, - FORCEWAKE_MEDIA_GEN9, GEN6_RPNSWREQ, GEN6_RC_VIDEO_FREQ, /* TODO: Other registers are not yet used */ |