Lines Matching refs:drm_i915_private
142 static void gen5_assert_iir_is_zero(struct drm_i915_private *dev_priv, u32 reg) in gen5_assert_iir_is_zero()
171 static void gen6_rps_irq_handler(struct drm_i915_private *dev_priv, u32 pm_iir);
175 i915_hotplug_interrupt_update_locked(struct drm_i915_private *dev_priv, in i915_hotplug_interrupt_update_locked()
202 void i915_hotplug_interrupt_update(struct drm_i915_private *dev_priv, in i915_hotplug_interrupt_update()
217 static void ilk_update_display_irq(struct drm_i915_private *dev_priv, in ilk_update_display_irq()
242 ironlake_enable_display_irq(struct drm_i915_private *dev_priv, u32 mask) in ironlake_enable_display_irq()
248 ironlake_disable_display_irq(struct drm_i915_private *dev_priv, u32 mask) in ironlake_disable_display_irq()
259 static void ilk_update_gt_irq(struct drm_i915_private *dev_priv, in ilk_update_gt_irq()
276 void gen5_enable_gt_irq(struct drm_i915_private *dev_priv, uint32_t mask) in gen5_enable_gt_irq()
281 void gen5_disable_gt_irq(struct drm_i915_private *dev_priv, uint32_t mask) in gen5_disable_gt_irq()
286 static u32 gen6_pm_iir(struct drm_i915_private *dev_priv) in gen6_pm_iir()
291 static u32 gen6_pm_imr(struct drm_i915_private *dev_priv) in gen6_pm_imr()
296 static u32 gen6_pm_ier(struct drm_i915_private *dev_priv) in gen6_pm_ier()
307 static void snb_update_pm_irq(struct drm_i915_private *dev_priv, in snb_update_pm_irq()
328 void gen6_enable_pm_irq(struct drm_i915_private *dev_priv, uint32_t mask) in gen6_enable_pm_irq()
336 static void __gen6_disable_pm_irq(struct drm_i915_private *dev_priv, in __gen6_disable_pm_irq()
342 void gen6_disable_pm_irq(struct drm_i915_private *dev_priv, uint32_t mask) in gen6_disable_pm_irq()
352 struct drm_i915_private *dev_priv = dev->dev_private; in gen6_reset_rps_interrupts()
365 struct drm_i915_private *dev_priv = dev->dev_private; in gen6_enable_rps_interrupts()
379 u32 gen6_sanitize_rps_pm_mask(struct drm_i915_private *dev_priv, u32 mask) in gen6_sanitize_rps_pm_mask()
398 struct drm_i915_private *dev_priv = dev->dev_private; in gen6_disable_rps_interrupts()
425 static void bdw_update_port_irq(struct drm_i915_private *dev_priv, in bdw_update_port_irq()
457 void ibx_display_interrupt_update(struct drm_i915_private *dev_priv, in ibx_display_interrupt_update()
477 __i915_enable_pipestat(struct drm_i915_private *dev_priv, enum pipe pipe, in __i915_enable_pipestat()
504 __i915_disable_pipestat(struct drm_i915_private *dev_priv, enum pipe pipe, in __i915_disable_pipestat()
558 i915_enable_pipestat(struct drm_i915_private *dev_priv, enum pipe pipe, in i915_enable_pipestat()
572 i915_disable_pipestat(struct drm_i915_private *dev_priv, enum pipe pipe, in i915_disable_pipestat()
591 struct drm_i915_private *dev_priv = dev->dev_private; in i915_enable_asle_pipestat()
667 struct drm_i915_private *dev_priv = dev->dev_private; in i915_get_vblank_counter()
715 struct drm_i915_private *dev_priv = dev->dev_private; in g4x_get_vblank_counter()
726 struct drm_i915_private *dev_priv = dev->dev_private; in __intel_get_crtc_scanline()
778 struct drm_i915_private *dev_priv = dev->dev_private; in i915_get_crtc_scanoutpos()
899 struct drm_i915_private *dev_priv = crtc->base.dev->dev_private; in intel_get_crtc_scanline()
942 struct drm_i915_private *dev_priv = dev->dev_private; in ironlake_rps_change_irq_handler()
989 static void vlv_c0_read(struct drm_i915_private *dev_priv, in vlv_c0_read()
997 void gen6_rps_reset_ei(struct drm_i915_private *dev_priv) in gen6_rps_reset_ei()
1002 static u32 vlv_wa_c0_ei(struct drm_i915_private *dev_priv, u32 pm_iir) in vlv_wa_c0_ei()
1045 static bool any_waiters(struct drm_i915_private *dev_priv) in any_waiters()
1059 struct drm_i915_private *dev_priv = in gen6_pm_rps_work()
1060 container_of(work, struct drm_i915_private, rps.work); in gen6_pm_rps_work()
1152 struct drm_i915_private *dev_priv = in ivybridge_parity_work()
1153 container_of(work, struct drm_i915_private, l3_parity.error_work); in ivybridge_parity_work()
1224 struct drm_i915_private *dev_priv = dev->dev_private; in ivybridge_parity_error_irq_handler()
1244 struct drm_i915_private *dev_priv, in ilk_gt_irq_handler()
1255 struct drm_i915_private *dev_priv, in snb_gt_irq_handler()
1276 static irqreturn_t gen8_gt_irq_handler(struct drm_i915_private *dev_priv, in gen8_gt_irq_handler()
1460 struct drm_i915_private *dev_priv = dev->dev_private; in gmbus_irq_handler()
1467 struct drm_i915_private *dev_priv = dev->dev_private; in dp_aux_irq_handler()
1478 struct drm_i915_private *dev_priv = dev->dev_private; in display_pipe_crc_irq_handler()
1527 struct drm_i915_private *dev_priv = dev->dev_private; in hsw_pipe_crc_irq_handler()
1536 struct drm_i915_private *dev_priv = dev->dev_private; in ivb_pipe_crc_irq_handler()
1548 struct drm_i915_private *dev_priv = dev->dev_private; in i9xx_pipe_crc_irq_handler()
1571 static void gen6_rps_irq_handler(struct drm_i915_private *dev_priv, u32 pm_iir) in gen6_rps_irq_handler()
1605 struct drm_i915_private *dev_priv = dev->dev_private; in valleyview_pipestat_irq_handler()
1678 struct drm_i915_private *dev_priv = dev->dev_private; in i9xx_hpd_irq_handler()
1720 struct drm_i915_private *dev_priv = dev->dev_private; in valleyview_irq_handler()
1767 struct drm_i915_private *dev_priv = dev->dev_private; in cherryview_irq_handler()
1810 struct drm_i915_private *dev_priv = to_i915(dev); in ibx_hpd_irq_handler()
1825 struct drm_i915_private *dev_priv = dev->dev_private; in ibx_irq_handler()
1875 struct drm_i915_private *dev_priv = dev->dev_private; in ivb_err_int_handler()
1899 struct drm_i915_private *dev_priv = dev->dev_private; in cpt_serr_int_handler()
1919 struct drm_i915_private *dev_priv = dev->dev_private; in cpt_irq_handler()
1957 struct drm_i915_private *dev_priv = dev->dev_private; in spt_irq_handler()
1995 struct drm_i915_private *dev_priv = to_i915(dev); in ilk_hpd_irq_handler()
2010 struct drm_i915_private *dev_priv = dev->dev_private; in ilk_display_irq_handler()
2063 struct drm_i915_private *dev_priv = dev->dev_private; in ivb_display_irq_handler()
2113 struct drm_i915_private *dev_priv = dev->dev_private; in ironlake_irq_handler()
2184 struct drm_i915_private *dev_priv = to_i915(dev); in bxt_hpd_irq_handler()
2200 struct drm_i915_private *dev_priv = dev->dev_private; in gen8_irq_handler()
2355 static void i915_error_wake_up(struct drm_i915_private *dev_priv, in i915_error_wake_up()
2392 struct drm_i915_private *dev_priv = to_i915(dev); in i915_reset_and_wakeup()
2469 struct drm_i915_private *dev_priv = dev->dev_private; in i915_report_and_clear_eir()
2572 struct drm_i915_private *dev_priv = dev->dev_private; in i915_handle_error()
2611 struct drm_i915_private *dev_priv = dev->dev_private; in i915_enable_vblank()
2628 struct drm_i915_private *dev_priv = dev->dev_private; in ironlake_enable_vblank()
2642 struct drm_i915_private *dev_priv = dev->dev_private; in valleyview_enable_vblank()
2655 struct drm_i915_private *dev_priv = dev->dev_private; in gen8_enable_vblank()
2671 struct drm_i915_private *dev_priv = dev->dev_private; in i915_disable_vblank()
2683 struct drm_i915_private *dev_priv = dev->dev_private; in ironlake_disable_vblank()
2695 struct drm_i915_private *dev_priv = dev->dev_private; in valleyview_disable_vblank()
2706 struct drm_i915_private *dev_priv = dev->dev_private; in gen8_disable_vblank()
2738 struct drm_i915_private *dev_priv = ring->dev->dev_private; in semaphore_wait_to_signaller_ring()
2771 struct drm_i915_private *dev_priv = ring->dev->dev_private; in semaphore_waits_for()
2841 struct drm_i915_private *dev_priv = ring->dev->dev_private; in semaphore_passed()
2866 static void semaphore_clear_deadlocks(struct drm_i915_private *dev_priv) in semaphore_clear_deadlocks()
2879 struct drm_i915_private *dev_priv = dev->dev_private; in ring_stuck()
2936 struct drm_i915_private *dev_priv = in i915_hangcheck_elapsed()
3069 struct drm_i915_private *dev_priv = dev->dev_private; in ibx_irq_reset()
3090 struct drm_i915_private *dev_priv = dev->dev_private; in ibx_irq_pre_postinstall()
3102 struct drm_i915_private *dev_priv = dev->dev_private; in gen5_gt_irq_reset()
3113 struct drm_i915_private *dev_priv = dev->dev_private; in ironlake_irq_reset()
3126 static void vlv_display_irq_reset(struct drm_i915_private *dev_priv) in vlv_display_irq_reset()
3141 struct drm_i915_private *dev_priv = dev->dev_private; in valleyview_irq_preinstall()
3156 static void gen8_gt_irq_reset(struct drm_i915_private *dev_priv) in gen8_gt_irq_reset()
3166 struct drm_i915_private *dev_priv = dev->dev_private; in gen8_irq_reset()
3187 void gen8_irq_power_well_post_enable(struct drm_i915_private *dev_priv, in gen8_irq_power_well_post_enable()
3210 struct drm_i915_private *dev_priv = dev->dev_private; in cherryview_irq_preinstall()
3227 struct drm_i915_private *dev_priv = to_i915(dev); in intel_hpd_enabled_irqs()
3240 struct drm_i915_private *dev_priv = dev->dev_private; in ibx_hpd_irq_setup()
3274 struct drm_i915_private *dev_priv = dev->dev_private; in spt_hpd_irq_setup()
3295 struct drm_i915_private *dev_priv = dev->dev_private; in ilk_hpd_irq_setup()
3330 struct drm_i915_private *dev_priv = dev->dev_private; in bxt_hpd_irq_setup()
3346 struct drm_i915_private *dev_priv = dev->dev_private; in ibx_irq_postinstall()
3363 struct drm_i915_private *dev_priv = dev->dev_private; in gen5_gt_irq_postinstall()
3400 struct drm_i915_private *dev_priv = dev->dev_private; in ironlake_irq_postinstall()
3448 static void valleyview_display_irqs_install(struct drm_i915_private *dev_priv) in valleyview_display_irqs_install()
3482 static void valleyview_display_irqs_uninstall(struct drm_i915_private *dev_priv) in valleyview_display_irqs_uninstall()
3516 void valleyview_enable_display_irqs(struct drm_i915_private *dev_priv) in valleyview_enable_display_irqs()
3529 void valleyview_disable_display_irqs(struct drm_i915_private *dev_priv) in valleyview_disable_display_irqs()
3542 static void vlv_display_irq_postinstall(struct drm_i915_private *dev_priv) in vlv_display_irq_postinstall()
3565 struct drm_i915_private *dev_priv = dev->dev_private; in valleyview_irq_postinstall()
3582 static void gen8_gt_irq_postinstall(struct drm_i915_private *dev_priv) in gen8_gt_irq_postinstall()
3611 static void gen8_de_irq_postinstall(struct drm_i915_private *dev_priv) in gen8_de_irq_postinstall()
3656 struct drm_i915_private *dev_priv = dev->dev_private; in gen8_irq_postinstall()
3675 struct drm_i915_private *dev_priv = dev->dev_private; in cherryview_irq_postinstall()
3689 struct drm_i915_private *dev_priv = dev->dev_private; in gen8_irq_uninstall()
3697 static void vlv_display_irq_uninstall(struct drm_i915_private *dev_priv) in vlv_display_irq_uninstall()
3713 struct drm_i915_private *dev_priv = dev->dev_private; in valleyview_irq_uninstall()
3729 struct drm_i915_private *dev_priv = dev->dev_private; in cherryview_irq_uninstall()
3746 struct drm_i915_private *dev_priv = dev->dev_private; in ironlake_irq_uninstall()
3756 struct drm_i915_private *dev_priv = dev->dev_private; in i8xx_irq_preinstall()
3768 struct drm_i915_private *dev_priv = dev->dev_private; in i8xx_irq_postinstall()
3803 struct drm_i915_private *dev_priv = dev->dev_private; in i8xx_handle_vblank()
3833 struct drm_i915_private *dev_priv = dev->dev_private; in i8xx_irq_handler()
3901 struct drm_i915_private *dev_priv = dev->dev_private; in i8xx_irq_uninstall()
3916 struct drm_i915_private *dev_priv = dev->dev_private; in i915_irq_preinstall()
3934 struct drm_i915_private *dev_priv = dev->dev_private; in i915_irq_postinstall()
3985 struct drm_i915_private *dev_priv = dev->dev_private; in i915_handle_vblank()
4015 struct drm_i915_private *dev_priv = dev->dev_private; in i915_irq_handler()
4112 struct drm_i915_private *dev_priv = dev->dev_private; in i915_irq_uninstall()
4134 struct drm_i915_private *dev_priv = dev->dev_private; in i965_irq_preinstall()
4150 struct drm_i915_private *dev_priv = dev->dev_private; in i965_irq_postinstall()
4208 struct drm_i915_private *dev_priv = dev->dev_private; in i915_hpd_irq_setup()
4235 struct drm_i915_private *dev_priv = dev->dev_private; in i965_irq_handler()
4336 struct drm_i915_private *dev_priv = dev->dev_private; in i965_irq_uninstall()
4364 void intel_irq_init(struct drm_i915_private *dev_priv) in intel_irq_init()
4479 int intel_irq_install(struct drm_i915_private *dev_priv) in intel_irq_install()
4498 void intel_irq_uninstall(struct drm_i915_private *dev_priv) in intel_irq_uninstall()
4512 void intel_runtime_pm_disable_interrupts(struct drm_i915_private *dev_priv) in intel_runtime_pm_disable_interrupts()
4526 void intel_runtime_pm_enable_interrupts(struct drm_i915_private *dev_priv) in intel_runtime_pm_enable_interrupts()