Home
last modified time | relevance | path

Searched refs:pm_iir (Results 1 – 5 of 5) sorted by relevance

/linux/drivers/gpu/drm/i915/gt/
H A Dintel_rps.c137 rps->pm_iir |= GEN6_PM_RP_UP_THRESHOLD; in rps_timer()
142 rps->pm_iir |= GEN6_PM_RP_DOWN_THRESHOLD; in rps_timer()
232 rps->pm_iir = 0; in rps_reset_interrupts()
880 rps->pm_iir = 0; in intel_rps_unpark()
1764 static u32 vlv_wa_c0_ei(struct intel_rps *rps, u32 pm_iir) in vlv_wa_c0_ei() argument
1771 if ((pm_iir & GEN6_PM_RP_UP_EI_EXPIRED) == 0) in vlv_wa_c0_ei()
1811 u32 pm_iir = 0; in rps_work() local
1814 pm_iir = fetch_and_zero(&rps->pm_iir) & rps->pm_events; in rps_work()
1819 if (!pm_iir && !client_boost) in rps_work()
1828 pm_iir |= vlv_wa_c0_ei(rps, pm_iir); in rps_work()
[all …]
H A Dintel_rps.h68 void gen6_rps_irq_handler(struct intel_rps *rps, u32 pm_iir);
69 void gen11_rps_irq_handler(struct intel_rps *rps, u32 pm_iir);
H A Dintel_rps_types.h68 u32 pm_iir; member
H A Dselftest_rps.c887 GEM_BUG_ON(rps->pm_iir); in sleep_for_ei()
960 if (!(rps->pm_iir & GEN6_PM_RP_UP_THRESHOLD)) { in __rps_up_interrupt()
962 engine->name, rps->pm_iir, in __rps_up_interrupt()
1005 if (!(rps->pm_iir & (GEN6_PM_RP_DOWN_THRESHOLD | GEN6_PM_RP_DOWN_TIMEOUT))) { in __rps_down_interrupt()
1007 engine->name, rps->pm_iir, in __rps_down_interrupt()
/linux/drivers/gpu/drm/i915/
H A Di915_irq.c219 u32 iir, gt_iir, pm_iir; in valleyview_irq_handler() local
225 pm_iir = intel_uncore_read(&dev_priv->uncore, GEN6_PMIIR); in valleyview_irq_handler()
228 if (gt_iir == 0 && pm_iir == 0 && iir == 0) in valleyview_irq_handler()
251 if (pm_iir) in valleyview_irq_handler()
252 intel_uncore_write(&dev_priv->uncore, GEN6_PMIIR, pm_iir); in valleyview_irq_handler()
277 if (pm_iir) in valleyview_irq_handler()
278 gen6_rps_irq_handler(&to_gt(dev_priv)->rps, pm_iir); in valleyview_irq_handler()
429 u32 pm_iir = raw_reg_read(regs, GEN6_PMIIR); in ilk_irq_handler() local
430 if (pm_iir) { in ilk_irq_handler()
431 raw_reg_write(regs, GEN6_PMIIR, pm_iir); in ilk_irq_handler()
[all …]