Re: [Intel-gfx] [PATCH 29/36] drm/i915: Simplify rc6/rps enabling

2018-04-10 Thread Chris Wilson
Quoting Sagar Arun Kamble (2018-03-16 14:28:27) > > > On 3/14/2018 3:07 PM, Chris Wilson wrote: > > void intel_gt_pm_irq_handler(struct drm_i915_private *dev_priv, u32 > > pm_iir) > > { > > struct intel_rps *rps = &dev_priv->gt_pm.rps; > > > > - if (pm_iir & rps->pm_events) { >

Re: [Intel-gfx] [PATCH 29/36] drm/i915: Simplify rc6/rps enabling

2018-03-16 Thread Sagar Arun Kamble
On 3/14/2018 3:07 PM, Chris Wilson wrote: As we know that whenever the GT is awake, rc6 and rps are enabled (if available), then we can remove the individual tracking and enabling to the gen6_rps_busy/gen6_rps_idle() (now called intel_gt_pm_busy and intel_gt_pm_idle) entry points. Signed-off-b

[Intel-gfx] [PATCH 29/36] drm/i915: Simplify rc6/rps enabling

2018-03-14 Thread Chris Wilson
As we know that whenever the GT is awake, rc6 and rps are enabled (if available), then we can remove the individual tracking and enabling to the gen6_rps_busy/gen6_rps_idle() (now called intel_gt_pm_busy and intel_gt_pm_idle) entry points. Signed-off-by: Chris Wilson --- drivers/gpu/drm/i915/i91