summaryrefslogtreecommitdiffstats
path: root/lib/error-inject.c
diff options
context:
space:
mode:
authorBjorn Andersson <bjorn.andersson@linaro.org>2023-10-09 19:40:46 +0200
committerDmitry Baryshkov <dmitry.baryshkov@linaro.org>2023-10-11 12:20:22 +0200
commitfc93835bb0d7e2c3e0a664a66d40da3c9f6ed053 (patch)
treef5dcd6859daca0fe46fc7d1604e62b7886eacc9a /lib/error-inject.c
parentMerge drm/drm-next into drm-misc-next (diff)
downloadlinux-fc93835bb0d7e2c3e0a664a66d40da3c9f6ed053.tar.xz
linux-fc93835bb0d7e2c3e0a664a66d40da3c9f6ed053.zip
drm: Add HPD state to drm_connector_oob_hotplug_event()
In some implementations, such as the Qualcomm platforms, the display driver has no way to query the current HPD state and as such it's impossible to distinguish between disconnect and attention events. Add a parameter to drm_connector_oob_hotplug_event() to pass the HPD state. Also push the test for unchanged state in the displayport altmode driver into the i915 driver, to allow other drivers to act upon each update. Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org> Reviewed-by: Hans de Goede <hdegoede@redhat.com> Acked-by: Heikki Krogerus <heikki.krogerus@linux.intel.com> Link: https://lore.kernel.org/r/20231009174048.2695981-2-dmitry.baryshkov@linaro.org Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org> Link: https://patchwork.freedesktop.org/patch/msgid/20231009174048.2695981-2-dmitry.baryshkov@linaro.org
Diffstat (limited to 'lib/error-inject.c')
0 files changed, 0 insertions, 0 deletions