intel_hpd_irq_storm_detect(9) gather stats and detect HPD irq storm on a pin

SYNOPSIS

bool intel_hpd_irq_storm_detect(struct drm_i915_private * dev_priv, enum hpd_pin pin);

ARGUMENTS

dev_priv

private driver data pointer

pin

the pin to gather stats on

DESCRIPTION

Gather stats about HPD irqs from the specified pin, and detect irq storms. Only the pin specific stats and state are changed, the caller is responsible for further action.

HPD_STORM_THRESHOLD irqs are allowed within HPD_STORM_DETECT_PERIOD ms, otherwise it's considered an irq storm, and the irq state is set to HPD_MARK_DISABLED.

Return true if an irq storm was detected on pin.

AUTHORS

Jesse Barnes <[email protected]>
Intel Corporation,         
        

Initial version

Laurent Pinchart <[email protected]>
Ideas on board SPRL,         
        

Driver internals

Daniel Vetter <[email protected]>
Intel Corporation,         
        

Contributions all over the place

Lukas Wunner <[email protected]>

vga_switcheroo documentation

COPYRIGHT