OSDN Git Service

drm/i915: Use stashed away hpd isr bits in intel_digital_port_connected()
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Wed, 11 Mar 2020 15:54:22 +0000 (17:54 +0200)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Mon, 11 May 2020 13:32:12 +0000 (16:32 +0300)
commitc7e8a3d674fbaa5b12ddc681bdf46c34a27e55d5
treebac92791be16dfd4a7dfbacdca8fc337eb2b3887
parent0398993b82f40ad02d88da7c894e3faae2da3b0a
drm/i915: Use stashed away hpd isr bits in intel_digital_port_connected()

Get rid of several platform specific variants of
intel_digital_port_connected() and just use the ISR bits we've
stashed away.

v2: Duplicate stuff to avoid exposing platform specific
    functions across files (Jani)

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20200311155422.3043-4-ville.syrjala@linux.intel.com
Reviewed-by: Imre Deak <imre.deak@intel.com>
drivers/gpu/drm/i915/display/intel_ddi.c
drivers/gpu/drm/i915/display/intel_dp.c
drivers/gpu/drm/i915/display/intel_tc.c