Re: [PATCH v2 1/2] drm/i915: Extract GT render power state management

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Quoting Andi Shyti (2019-10-23 10:50:00)
> @@ -14976,7 +14978,7 @@ intel_prepare_plane_fb(struct drm_plane *plane,
>          * maximum clocks following a vblank miss (see do_rps_boost()).
>          */
>         if (!intel_state->rps_interactive) {
> -               intel_rps_mark_interactive(dev_priv, true);
> +               intel_rps_mark_interactive(&dev_priv->gt.rps, true);

I wonder if we can do &plane->vma->vm->gt->rps

Mwahaha.

>                 intel_state->rps_interactive = true;
>         }
>  
> @@ -15001,7 +15003,7 @@ intel_cleanup_plane_fb(struct drm_plane *plane,
>         struct drm_i915_private *dev_priv = to_i915(plane->dev);
>  
>         if (intel_state->rps_interactive) {
> -               intel_rps_mark_interactive(dev_priv, false);
> +               intel_rps_mark_interactive(&dev_priv->gt.rps, false);
>                 intel_state->rps_interactive = false;
>         }
_______________________________________________
Intel-gfx mailing list
Intel-gfx@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/intel-gfx




[Index of Archives]     [AMD Graphics]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux