Name

intel_hpd_poll_init — enables/disables polling for connectors with hpd

Synopsis

void intel_hpd_poll_init (struct drm_i915_private * dev_priv);
 

Arguments

dev_priv

i915 device instance

Description

This function enables polling for all connectors, regardless of whether or not they support hotplug detection. Under certain conditions HPD may not be functional. On most Intel GPUs, this happens when we enter runtime suspend. On Valleyview and Cherryview systems, this also happens when we shut off all of the powerwells.

Since this function can get called in contexts where we're already holding dev->mode_config.mutex, we do the actual hotplug enabling in a seperate worker.

Also see

intel_hpd_init, which restores hpd handling.