Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/gpu/drm/i915/gt/
Dintel_rps.c131 rps->pm_iir |= GEN6_PM_RP_UP_THRESHOLD; in rps_timer()
136 rps->pm_iir |= GEN6_PM_RP_DOWN_THRESHOLD; in rps_timer()
226 rps->pm_iir = 0; in rps_reset_interrupts()
875 rps->pm_iir = 0; in intel_rps_unpark()
1751 static u32 vlv_wa_c0_ei(struct intel_rps *rps, u32 pm_iir) in vlv_wa_c0_ei() argument
1758 if ((pm_iir & GEN6_PM_RP_UP_EI_EXPIRED) == 0) in vlv_wa_c0_ei()
1798 u32 pm_iir = 0; in rps_work() local
1801 pm_iir = fetch_and_zero(&rps->pm_iir) & rps->pm_events; in rps_work()
1806 if (!pm_iir && !client_boost) in rps_work()
1815 pm_iir |= vlv_wa_c0_ei(rps, pm_iir); in rps_work()
[all …]
Dintel_rps.h58 void gen6_rps_irq_handler(struct intel_rps *rps, u32 pm_iir);
59 void gen11_rps_irq_handler(struct intel_rps *rps, u32 pm_iir);
Dintel_gt_pm_debugfs.c355 u32 pm_ier, pm_imr, pm_isr, pm_iir, pm_mask; in intel_gt_pm_frequency_dump() local
409 pm_iir = 0; in intel_gt_pm_frequency_dump()
414 pm_iir = intel_uncore_read(uncore, GEN8_GT_IIR(2)); in intel_gt_pm_frequency_dump()
419 pm_iir = intel_uncore_read(uncore, GEN6_PMIIR); in intel_gt_pm_frequency_dump()
434 pm_isr, pm_iir); in intel_gt_pm_frequency_dump()
Dintel_rps_types.h68 u32 pm_iir; member
Dselftest_rps.c888 GEM_BUG_ON(rps->pm_iir); in sleep_for_ei()
961 if (!(rps->pm_iir & GEN6_PM_RP_UP_THRESHOLD)) { in __rps_up_interrupt()
963 engine->name, rps->pm_iir, in __rps_up_interrupt()
1006 if (!(rps->pm_iir & (GEN6_PM_RP_DOWN_THRESHOLD | GEN6_PM_RP_DOWN_TIMEOUT))) { in __rps_down_interrupt()
1008 engine->name, rps->pm_iir, in __rps_down_interrupt()
/linux-6.1.9/drivers/gpu/drm/i915/
Di915_irq.c1664 u32 iir, gt_iir, pm_iir; in valleyview_irq_handler() local
1670 pm_iir = intel_uncore_read(&dev_priv->uncore, GEN6_PMIIR); in valleyview_irq_handler()
1673 if (gt_iir == 0 && pm_iir == 0 && iir == 0) in valleyview_irq_handler()
1697 if (pm_iir) in valleyview_irq_handler()
1698 intel_uncore_write(&dev_priv->uncore, GEN6_PMIIR, pm_iir); in valleyview_irq_handler()
1723 if (pm_iir) in valleyview_irq_handler()
1724 gen6_rps_irq_handler(&to_gt(dev_priv)->rps, pm_iir); in valleyview_irq_handler()
2213 u32 pm_iir = raw_reg_read(regs, GEN6_PMIIR); in ilk_irq_handler() local
2214 if (pm_iir) { in ilk_irq_handler()
2215 raw_reg_write(regs, GEN6_PMIIR, pm_iir); in ilk_irq_handler()
[all …]