]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
drm/i915/xe2lpd: Add support for HPD
authorGustavo Sousa <gustavo.sousa@intel.com>
Tue, 19 Sep 2023 19:21:22 +0000 (12:21 -0700)
committerLucas De Marchi <lucas.demarchi@intel.com>
Thu, 21 Sep 2023 15:18:06 +0000 (08:18 -0700)
commit696c331990cf6cf00506b9e56e0fe7a075cf47c5
tree8e8266a4f52a8754794a2d55f53653a68a15bfd2
parent533a7836d39f1a60dc78fb46f6cde9a25ffafe2d
drm/i915/xe2lpd: Add support for HPD

Hotplug setup for Xe2_LPD differs from Xe_LPD+ by the fact that the
extra programming for hotplug inversion and DDI HPD filter duration is
not necessary anymore. As mtp_hpd_irq_setup() is reasonably small,
prefer to fork it into a new function for Xe2_LPD instead of adding a
platform check.

v2: Add extra bspec reference and fix missing else (Matt Roper)

BSpec: 68970, 69940
Signed-off-by: Gustavo Sousa <gustavo.sousa@intel.com>
Signed-off-by: Lucas De Marchi <lucas.demarchi@intel.com>
Reviewed-by: Matt Roper <matthew.d.roper@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20230919192128.2045154-16-lucas.demarchi@intel.com
drivers/gpu/drm/i915/display/intel_hotplug_irq.c