drm/i915: remove debug fmax
Subsystems (2)
PATCH 1/1 drm/i915: remove debug fmax
Accidentally got pushed when we added power monitoring support. We need IPS to modify this value rather than always setting it to the max.
Signed-off-by Jesse Barnes <[email protected]>
drivers/gpu/drm/i915/intel_display.c +0 -1
@@ -5588,7 +5588,6 @@ void ironlake_enable_drps(struct drm_device *dev) fmin = (rgvmodectl &MEMMODE_FMIN_MASK ); fstart = (rgvmodectl &MEMMODE_FSTART_MASK ) >>MEMMODE_FSTART_SHIFT ; - fstart = fmax; vstart = (I915_READ (PXVFREQ_BASE + (fstart *4 )) &PXVFREQ_PX_MASK ) >>PXVFREQ_PX_SHIFT ;
Quoted 11 lines · On Mon, 1 Nov 2010 16:26:05 -0400 Jesse Barnes <[email protected]> wrote:
Accidentally got pushed when we added power monitoring support. We need IPS to modify this value rather than always setting it to the max.
Signed-off-by Jesse Barnes <[email protected]>(quoted diff) +0
-0
b/drivers/gpu/drm/i915/intel_display.cindex 4954af2..688b51d 100644
drivers/gpu/drm/i915/intel_display.c void ironlake_enable_drps(struct drm_device · line 5593
Quoted 7 lines
drivers/gpu/drm/i915/intel_display.c +0
-1@@ -5588,7 +5588,6 @@ void ironlake_enable_drps(struct drm_device *dev) fmin = (rgvmodectl & MEMMODE_FMIN_MASK); fstart = (rgvmodectl &MEMMODE_FSTART_MASK ) >>MEMMODE_FSTART_SHIFT ; - fstart = fmax; vstart = (I915_READ (PXVFREQ_BASE + (fstart *4 )) &PXVFREQ_PX_MASK ) >>PXVFREQ_PX_SHIFT ;
This is necessary but not sufficient. We also need to clamp the initial max_delay at fstart and leave fmax alone (patch from Eric on its way).
Signature · 1 line
Jesse Barnes, Intel Open Source Technology Center