mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-25 00:11:13 +00:00
51db334005
Changelog: https://cdn.kernel.org/pub/linux/kernel/v6.x/ChangeLog-6.6.54 Removed upstreamed: generic/backport-6.6/780-24-v6.12-r8169-disable-ALDPS-per-default-for-RTL8125.patch[1] generic/pending-6.6/360-selftests-bpf-portability-of-unprivileged-tests.patch[2] Manually rebased: bcm53xx/patches-6.6/180-usb-xhci-add-support-for-performing-fake-doorbell.patch bmips/patches-6.6/200-mips-bmips-automatically-detect-CPU-frequency.patch All other patches automatically rebased. 1. https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=v6.6.54&id=50d062b6cc90c45a0de54e9bd9903c82777d66bf 2. https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=v6.6.54&id=103c0431c7fb4790affea121126840dbfb146341 Build system: x86/64 Build-tested: x86/64/AMD Cezanne, flogic/xiaomi_redmi-router-ax6000-ubootmod, ramips/tplink_archer-a6-v3 Run-tested: x86/64/AMD Cezanne, flogic/xiaomi_redmi-router-ax6000-ubootmod, ramips/tplink_archer-a6-v3 Signed-off-by: John Audia <therealgraysky@proton.me> Link: https://github.com/openwrt/openwrt/pull/16602 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
43 lines
1.4 KiB
Diff
43 lines
1.4 KiB
Diff
From 8d40b03821362d445a03dc23475fc4dff3ba88a7 Mon Sep 17 00:00:00 2001
|
|
From: Dom Cobley <popcornmix@gmail.com>
|
|
Date: Tue, 23 Apr 2024 17:30:56 +0100
|
|
Subject: [PATCH 1049/1085] vc4/hdmi: Ignore hotplug interrupt with
|
|
force_hotplug
|
|
|
|
The intention of the vc4.force_hotplug setting is to
|
|
ignore hotplug completely.
|
|
|
|
It can be used when a display toggles hotplug when
|
|
switching AV inputs, going into standby or changing a
|
|
KVM switch, and some side effect of that is unwanted.
|
|
|
|
It turns out while vc4.force_hotplug currently makes
|
|
hotplug always read as asserted, that isn't enough to
|
|
stop drm doing lots of stuff, including re-reading
|
|
the edid.
|
|
|
|
An example of what drm does with a hotplug deasert/assert
|
|
and vc4.force_hotplug=1 currently is:
|
|
|
|
https://paste.debian.net/hidden/dc07434b/
|
|
|
|
That is unwanted. Lets ignore the hotplug interrupt
|
|
completely so drm is blissfully unaware of the hotplug change.
|
|
|
|
Signed-off-by: Dom Cobley <popcornmix@gmail.com>
|
|
---
|
|
drivers/gpu/drm/vc4/vc4_hdmi.c | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
--- a/drivers/gpu/drm/vc4/vc4_hdmi.c
|
|
+++ b/drivers/gpu/drm/vc4/vc4_hdmi.c
|
|
@@ -2923,7 +2923,7 @@ static irqreturn_t vc4_hdmi_hpd_irq_thre
|
|
struct drm_connector *connector = &vc4_hdmi->connector;
|
|
struct drm_device *dev = connector->dev;
|
|
|
|
- if (dev && dev->registered)
|
|
+ if (dev && dev->registered && !force_hotplug)
|
|
drm_connector_helper_hpd_irq_event(connector);
|
|
|
|
return IRQ_HANDLED;
|