[Intel-gfx] [PATCH 85/89] drm/i915/skl: Retrieve the frequency limits

Mika Kuoppala mika.kuoppala at linux.intel.com
Fri Sep 26 17:09:34 CEST 2014


Damien Lespiau <damien.lespiau at intel.com> writes:

> Signed-off-by: Damien Lespiau <damien.lespiau at intel.com>

Reviewed-by: Mika Kuoppala <mika.kuoppala at intel.com>

> ---
>  drivers/gpu/drm/i915/intel_pm.c | 4 ++++
>  1 file changed, 4 insertions(+)
>
> diff --git a/drivers/gpu/drm/i915/intel_pm.c b/drivers/gpu/drm/i915/intel_pm.c
> index 9e9377a..77e1d52 100644
> --- a/drivers/gpu/drm/i915/intel_pm.c
> +++ b/drivers/gpu/drm/i915/intel_pm.c
> @@ -4712,9 +4712,13 @@ void bdw_software_turbo(struct drm_device *dev)
>  static void gen9_enable_rps(struct drm_device *dev)
>  {
>  	struct drm_i915_private *dev_priv = dev->dev_private;
> +	u32 rp_state_cap;
>  
>  	gen6_gt_force_wake_get(dev_priv, FORCEWAKE_ALL);
>  
> +	rp_state_cap = I915_READ(GEN6_RP_STATE_CAP);
> +	parse_rp_state_cap(dev_priv, rp_state_cap);
> +
>  	I915_WRITE(GEN6_RPNSWREQ, 0xc800000);
>  	I915_WRITE(GEN6_RC_VIDEO_FREQ, 0xc800000);
>  
> -- 
> 1.8.3.1
>
> _______________________________________________
> Intel-gfx mailing list
> Intel-gfx at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/intel-gfx



More information about the Intel-gfx mailing list