]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
drm/i915: Pass the whole encoder to hotplug_enables()
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Wed, 8 Feb 2023 01:54:59 +0000 (03:54 +0200)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Tue, 14 Feb 2023 12:03:05 +0000 (14:03 +0200)
commitdfefe7bc53a115d8a99478ab9b8d7726c70c0c49
tree5a0f172d8ebbee6ae0d8108a7b0be86bafe4e7d1
parentf1dc979b6088426698b13e888c65f9c287af48e7
drm/i915: Pass the whole encoder to hotplug_enables()

bxt_hotplug_enables() needs to dig out not only the
hpd_pin but also the VBT child device info, so let's just
pass in the whole encoder to avoid having to look things
up multiple times.

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20230208015508.24824-2-ville.syrjala@linux.intel.com
Reviewed-by: Jani Nikula <jani.nikula@intel.com>
drivers/gpu/drm/i915/i915_irq.c