Name

intel_hpd_init — initializes and enables hpd support

Synopsis

void intel_hpd_init (struct drm_i915_private * dev_priv);
 

Arguments

dev_priv

i915 device instance

Description

This function enables the hotplug support. It requires that interrupts have already been enabled with intel_irq_init_hw. From this point on hotplug and poll request can run concurrently to other code, so locking rules must be obeyed.

This is a separate step from interrupt enabling to simplify the locking rules in the driver load and resume code.