drm/i915/dg1: add hpd interrupt handling
authorLucas De Marchi <lucas.demarchi@intel.com>
Wed, 21 Oct 2020 08:20:29 +0000 (01:20 -0700)
committerLucas De Marchi <lucas.demarchi@intel.com>
Sat, 24 Oct 2020 00:15:39 +0000 (17:15 -0700)
commit229f31e2d370d36c2345dadb821c856f61d13197
tree39ebd916002de0f40a7fc6c3feea8cb26c32a88f
parent71c1a4998320962f7b8362b2c5ee36610d49e8fb
drm/i915/dg1: add hpd interrupt handling

DG1 has one more combo phy port, no TC and all irq handling goes through
SDE, like for MCC.

v2: Also change intel_hpd_pin_default() to include DG1 mapping
v3, v4: Rebase on hpd refactor

Cc: Ville Syrjälä <ville.syrjala@linux.intel.com>
Cc: Anshuman Gupta <anshuman.gupta@intel.com>
Cc: José Roberto de Souza <jose.souza@intel.com>
Cc: Imre Deak <imre.deak@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/20201021082034.3170478-2-lucas.demarchi@intel.com
drivers/gpu/drm/i915/display/intel_ddi.c
drivers/gpu/drm/i915/i915_irq.c
drivers/gpu/drm/i915/i915_reg.h