diff options
| author | 2018-07-05 19:43:53 +0300 | |
|---|---|---|
| committer | 2018-07-13 18:22:22 +0300 | |
| commit | b6ca3eee18ba1ec97cad54b7f476bcfaca50c17c (patch) | |
| tree | 42b55d2714bbe0869ca9647d0a85f9acb448c12d /drivers/gpu/drm/i915/intel_drv.h | |
| parent | drm/i915: Rewrite mst suspend/resume in terms of encoders (diff) | |
| download | linux-dev-b6ca3eee18ba1ec97cad54b7f476bcfaca50c17c.tar.xz linux-dev-b6ca3eee18ba1ec97cad54b7f476bcfaca50c17c.zip | |
drm/i915: Nuke dev_priv->irq_port[]
Instead of looping over ports and hpd_pins, let's loop over
the encoders when doing hotplug processing. And instead of
depending on dev_priv->irq_port[] to tell us whether the
encoder has the ->hpd_pulse() hook or not, we can just
check for that directly. So we can just nuke irq_port[] entirely.
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20180705164357.28512-5-ville.syrjala@linux.intel.com
Reviewed-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Diffstat (limited to 'drivers/gpu/drm/i915/intel_drv.h')
| -rw-r--r-- | drivers/gpu/drm/i915/intel_drv.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/drm/i915/intel_drv.h b/drivers/gpu/drm/i915/intel_drv.h index 33c15fbc9cc1..a45f6324dd9b 100644 --- a/drivers/gpu/drm/i915/intel_drv.h +++ b/drivers/gpu/drm/i915/intel_drv.h @@ -304,6 +304,8 @@ struct intel_panel { } backlight; }; +struct intel_digital_port; + /* * This structure serves as a translation layer between the generic HDCP code * and the bus-specific code. What that means is that HDCP over HDMI differs |
