Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/gpu/drm/i915/gt/
Dintel_rps.c112 rps->pm_iir |= GEN6_PM_RP_UP_THRESHOLD; in rps_timer()
117 rps->pm_iir |= GEN6_PM_RP_DOWN_THRESHOLD; in rps_timer()
205 rps->pm_iir = 0; in rps_reset_interrupts()
827 rps->pm_iir = 0; in intel_rps_unpark()
1579 static u32 vlv_wa_c0_ei(struct intel_rps *rps, u32 pm_iir) in vlv_wa_c0_ei() argument
1586 if ((pm_iir & GEN6_PM_RP_UP_EI_EXPIRED) == 0) in vlv_wa_c0_ei()
1626 u32 pm_iir = 0; in rps_work() local
1629 pm_iir = fetch_and_zero(&rps->pm_iir) & rps->pm_events; in rps_work()
1634 if (!pm_iir && !client_boost) in rps_work()
1643 pm_iir |= vlv_wa_c0_ei(rps, pm_iir); in rps_work()
[all …]
Dintel_rps.h37 void gen6_rps_irq_handler(struct intel_rps *rps, u32 pm_iir);
38 void gen11_rps_irq_handler(struct intel_rps *rps, u32 pm_iir);
Ddebugfs_gt_pm.c307 u32 pm_ier, pm_imr, pm_isr, pm_iir, pm_mask; in frequency_show() local
364 pm_iir = 0; in frequency_show()
369 pm_iir = intel_uncore_read(uncore, GEN8_GT_IIR(2)); in frequency_show()
374 pm_iir = intel_uncore_read(uncore, GEN6_PMIIR); in frequency_show()
390 pm_isr, pm_iir); in frequency_show()
Dintel_rps_types.h54 u32 pm_iir; member
Dselftest_rps.c883 GEM_BUG_ON(rps->pm_iir); in sleep_for_ei()
956 if (!(rps->pm_iir & GEN6_PM_RP_UP_THRESHOLD)) { in __rps_up_interrupt()
958 engine->name, rps->pm_iir, in __rps_up_interrupt()
1001 if (!(rps->pm_iir & (GEN6_PM_RP_DOWN_THRESHOLD | GEN6_PM_RP_DOWN_TIMEOUT))) { in __rps_down_interrupt()
1003 engine->name, rps->pm_iir, in __rps_down_interrupt()
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/
Di915_irq.c1534 u32 iir, gt_iir, pm_iir; in valleyview_irq_handler() local
1540 pm_iir = I915_READ(GEN6_PMIIR); in valleyview_irq_handler()
1543 if (gt_iir == 0 && pm_iir == 0 && iir == 0) in valleyview_irq_handler()
1567 if (pm_iir) in valleyview_irq_handler()
1568 I915_WRITE(GEN6_PMIIR, pm_iir); in valleyview_irq_handler()
1593 if (pm_iir) in valleyview_irq_handler()
1594 gen6_rps_irq_handler(&dev_priv->gt.rps, pm_iir); in valleyview_irq_handler()
2094 u32 pm_iir = raw_reg_read(regs, GEN6_PMIIR); in ilk_irq_handler() local
2095 if (pm_iir) { in ilk_irq_handler()
2096 raw_reg_write(regs, GEN6_PMIIR, pm_iir); in ilk_irq_handler()
[all …]
Di915_debugfs.c848 u32 pm_ier, pm_imr, pm_isr, pm_iir, pm_mask; in i915_frequency_info() local
898 pm_iir = 0; in i915_frequency_info()
903 pm_iir = I915_READ(GEN8_GT_IIR(2)); in i915_frequency_info()
908 pm_iir = I915_READ(GEN6_PMIIR); in i915_frequency_info()
924 pm_isr, pm_iir); in i915_frequency_info()