diff options
author | Matthew Garrett <mjg59@srcf.ucam.org> | 2010-02-02 18:30:47 +0000 |
---|---|---|
committer | Eric Anholt <eric@anholt.net> | 2010-02-22 11:46:55 -0500 |
commit | b5b72e891a5a6056c849ef8eaf259f126090f88b (patch) | |
tree | 2d6ae8d0d0ab64e53b34fff47fcc5f4403804bc7 /drivers/gpu/drm/i915/intel_display.c | |
parent | f97108d1d0facc7902134ebc453b226bbd4d1cdb (diff) | |
download | op-kernel-dev-b5b72e891a5a6056c849ef8eaf259f126090f88b.zip op-kernel-dev-b5b72e891a5a6056c849ef8eaf259f126090f88b.tar.gz |
drm/i915: Deobfuscate the render p-state obfuscation
The ironlake render p-state support includes some rather odd variable
names. Clean them up in order to improve the readability of the code.
Signed-off-by: Matthew Garrett <mjg@redhat.com>
Signed-off-by: Eric Anholt <eric@anholt.net>
Diffstat (limited to 'drivers/gpu/drm/i915/intel_display.c')
-rw-r--r-- | drivers/gpu/drm/i915/intel_display.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/drm/i915/intel_display.c b/drivers/gpu/drm/i915/intel_display.c index 4a93f7a..9e80020 100644 --- a/drivers/gpu/drm/i915/intel_display.c +++ b/drivers/gpu/drm/i915/intel_display.c @@ -4770,8 +4770,8 @@ void intel_init_clock_gating(struct drm_device *dev) if (obj_priv) { I915_WRITE(PWRCTXA, obj_priv->gtt_offset | PWRCTX_EN); - I915_WRITE(RSTDBYCTL, I915_READ(RSTDBYCTL) & - ~RCX_SW_EXIT); + I915_WRITE(MCHBAR_RENDER_STANDBY, + I915_READ(MCHBAR_RENDER_STANDBY) & ~RCX_SW_EXIT); } } } |