1
0
Fork 0
mirror of synced 2025-03-06 20:59:54 +01:00
linux/drivers
Thomas Zimmermann fd39c41bcd drm/ast: astdp: Fix timeout for enabling video signal
The ASTDP transmitter sometimes takes up to 1 second for enabling the
video signal, while the timeout is only 200 msec. This results in a
kernel error message. Increase the timeout to 1 second. An example
of the error message is shown below.

[  697.084433] ------------[ cut here ]------------
[  697.091115] ast 0000:02:00.0: [drm] drm_WARN_ON(!__ast_dp_wait_enable(ast, enabled))
[  697.091233] WARNING: CPU: 1 PID: 160 at drivers/gpu/drm/ast/ast_dp.c:232 ast_dp_set_enable+0x123/0x140 [ast]
[...]
[  697.272469] RIP: 0010:ast_dp_set_enable+0x123/0x140 [ast]
[...]
[  697.415283] Call Trace:
[  697.420727]  <TASK>
[  697.425908]  ? show_trace_log_lvl+0x196/0x2c0
[  697.433304]  ? show_trace_log_lvl+0x196/0x2c0
[  697.440693]  ? drm_atomic_helper_commit_modeset_enables+0x30a/0x470
[  697.450115]  ? ast_dp_set_enable+0x123/0x140 [ast]
[  697.458059]  ? __warn.cold+0xaf/0xca
[  697.464713]  ? ast_dp_set_enable+0x123/0x140 [ast]
[  697.472633]  ? report_bug+0x134/0x1d0
[  697.479544]  ? handle_bug+0x58/0x90
[  697.486127]  ? exc_invalid_op+0x13/0x40
[  697.492975]  ? asm_exc_invalid_op+0x16/0x20
[  697.500224]  ? preempt_count_sub+0x14/0xc0
[  697.507473]  ? ast_dp_set_enable+0x123/0x140 [ast]
[  697.515377]  ? ast_dp_set_enable+0x123/0x140 [ast]
[  697.523227]  drm_atomic_helper_commit_modeset_enables+0x30a/0x470
[  697.532388]  drm_atomic_helper_commit_tail+0x58/0x90
[  697.540400]  ast_mode_config_helper_atomic_commit_tail+0x30/0x40 [ast]
[  697.550009]  commit_tail+0xfe/0x1d0
[  697.556547]  drm_atomic_helper_commit+0x198/0x1c0

This is a cosmetical problem. Enabling the video signal still works
even with the error message. The problem has always been present, but
only recent versions of the ast driver warn about missing the timeout.

Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Fixes: 4e29cc7c5c ("drm/ast: astdp: Replace ast_dp_set_on_off()")
Cc: Thomas Zimmermann <tzimmermann@suse.de>
Cc: Jocelyn Falempe <jfalempe@redhat.com>
Cc: Dave Airlie <airlied@redhat.com>
Cc: dri-devel@lists.freedesktop.org
Cc: <stable@vger.kernel.org> # v6.13+
Reviewed-by: Jocelyn Falempe <jfalempe@redhat.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20250127134423.84266-1-tzimmermann@suse.de
2025-01-28 14:31:50 +01:00
..
accel accel/ivpu: Fix WARN in ivpu_ipc_send_receive_internal() 2024-12-19 13:16:59 +01:00
accessibility speakup: use SPKDIR=$(src) to specify the source directory 2024-11-04 17:53:09 +09:00
acpi power supply and reset changes for the 6.13 series 2024-11-28 09:28:09 -08:00
amba ARM: 9415/1: amba: Add dev_is_amba() function and export it for modules 2024-11-12 16:41:45 +00:00
android Char/Misc/IIO/Whatever driver subsystem updates for 6.13-rc1 2024-11-29 11:58:27 -08:00
ata pci-v6.13-changes 2024-11-26 18:05:44 -08:00
atm
auxdisplay fbdev: Fix recursive dependencies wrt BACKLIGHT_CLASS_DEVICE 2024-12-17 18:06:10 +01:00
base Driver core changes for 6.13-rc1 2024-11-29 11:43:29 -08:00
bcma
block block-6.13-20242901 2024-11-30 15:47:29 -08:00
bluetooth Networking changes for 6.13. 2024-11-21 08:28:08 -08:00
bus Char/Misc/IIO/Whatever driver subsystem updates for 6.13-rc1 2024-11-29 11:58:27 -08:00
cache
cdrom
cdx cdx: Fix cdx_mmap_resource() after constifying attr in ->mmap() 2024-11-10 10:53:21 +01:00
char Char/Misc/IIO/Whatever driver subsystem updates for 6.13-rc1 2024-11-29 11:58:27 -08:00
clk The core framework gained a clk provider helper, a clk consumer helper, and 2024-11-22 17:02:25 -08:00
clocksource clocksource/drivers/arm_arch_timer: Use of_property_present() for non-boolean properties 2024-11-13 13:49:33 +01:00
comedi comedi: Flush partial mappings in error case 2024-11-05 14:01:07 +01:00
connector
counter Counter fixes for 6.12 2024-11-07 08:25:08 +01:00
cpufreq powerpc updates for 6.13 2024-11-23 10:44:31 -08:00
cpuidle RISC-V Paches for the 6.13 Merge Window, Part 1 2024-11-27 11:19:09 -08:00
crypto pci-v6.13-changes 2024-11-26 18:05:44 -08:00
cxl Driver core changes for 6.13-rc1 2024-11-29 11:43:29 -08:00
dax libnvdimm additions for 6.13 2024-11-25 18:31:48 -08:00
dca
devfreq
dio
dma dmaengine updates for v6.13 2024-11-27 13:25:47 -08:00
dma-buf dma-buf: Fix __dma_buf_debugfs_list_del argument for !CONFIG_DEBUG_FS 2024-12-12 18:53:45 +05:30
dpll dpll: add clock quality level attribute and op 2024-11-03 08:39:07 -08:00
edac powerpc updates for 6.13 2024-11-23 10:44:31 -08:00
eisa
extcon
firewire firewire updates for v6.13 2024-11-25 17:12:54 -08:00
firmware Char/Misc/IIO/Whatever driver subsystem updates for 6.13-rc1 2024-11-29 11:58:27 -08:00
fpga Char/Misc/IIO/Whatever driver subsystem updates for 6.13-rc1 2024-11-29 11:58:27 -08:00
fsi
gnss
gpio Driver core changes for 6.13-rc1 2024-11-29 11:43:29 -08:00
gpu drm/ast: astdp: Fix timeout for enabling video signal 2025-01-28 14:31:50 +01:00
greybus greybus: Fix a typo 2024-11-05 05:33:46 +01:00
hid Revert "HID: bpf: allow write access to quirks field in struct hid_device" 2024-11-25 09:21:47 -08:00
hsi
hte
hv
hwmon hwmon: (aquacomputer_d5next) Fix length of speed_input array 2024-11-24 07:36:47 -08:00
hwspinlock
hwtracing intel_th: pci: Replace deprecated PCI functions 2024-10-30 16:07:37 -05:00
i2c i2c: Fix whitespace style issue 2024-11-27 12:23:43 +01:00
i3c i3c: Use i3cdev->desc->info instead of calling i3c_device_get_info() to avoid deadlock 2024-11-18 14:29:13 +01:00
idle intel_idle: add Granite Rapids Xeon D support 2024-11-11 15:48:50 +01:00
iio Char/Misc/IIO/Whatever driver subsystem updates for 6.13-rc1 2024-11-29 11:58:27 -08:00
infiniband Driver core changes for 6.13-rc1 2024-11-29 11:43:29 -08:00
input Input updates for v6.13-rc0 2024-11-25 10:31:39 -08:00
interconnect Merge branch 'icc-sar2130p' into icc-next 2024-11-05 01:32:05 +02:00
iommu iommufd 6.13 merge window pull #2 2024-11-27 14:24:34 -08:00
ipack
irqchip - Move the ->select callback to the correct ops structure in irq-mvebu-sei to 2024-12-01 12:37:58 -08:00
isdn mISDN: Fix typos 2024-11-09 09:14:12 -08:00
leds - Removed unused local header files from various drivers. 2024-11-22 16:25:20 -08:00
macintosh fbdev: Fix recursive dependencies wrt BACKLIGHT_CLASS_DEVICE 2024-12-17 18:06:10 +01:00
mailbox TTY / Serial driver updates for 6.13-rc1 2024-11-30 09:03:16 -08:00
mcb
md block-6.13-20242901 2024-11-30 15:47:29 -08:00
media media updates for v6.13-rc1 2024-11-20 14:05:34 -08:00
memory
memstick
message scsi: fusion: Remove unused variable 'rc' 2024-11-06 20:46:07 -05:00
mfd - Several drivers, including atmel-flexcom/rk8xx-core, palmas, and 2024-11-22 16:19:47 -08:00
misc TTY / Serial driver updates for 6.13-rc1 2024-11-30 09:03:16 -08:00
mmc MMC core: 2024-11-20 12:51:32 -08:00
most
mtd This pull request contains updates for JFFS2, UBI and UBIFS: 2024-11-30 10:32:47 -08:00
mux
net Including fixes from bluetooth. 2024-11-28 10:15:20 -08:00
nfc
ntb ntb: idt: Replace deprecated PCI functions 2024-10-30 16:07:38 -05:00
nubus
nvdimm virtio: features, fixes, cleanups 2024-11-27 13:11:58 -08:00
nvme block-6.13-20242901 2024-11-30 15:47:29 -08:00
nvmem Char/Misc/IIO/Whatever driver subsystem updates for 6.13-rc1 2024-11-29 11:58:27 -08:00
of i2c-for-6.13-rc1-part3 2024-12-01 13:38:24 -08:00
opp Additional power management updates for 6.13-rc1 2024-11-27 14:40:33 -08:00
parisc
parport
pci pci-v6.13-fixes-1 2024-11-30 18:23:05 -08:00
pcmcia pcmcia: soc_common: Avoid using GPIOF_ACTIVE_LOW 2024-11-09 14:55:33 +01:00
peci
perf arm64 fixes for 6.13-rc1: 2024-11-30 14:33:44 -08:00
phy Driver core changes for 6.13-rc1 2024-11-29 11:43:29 -08:00
pinctrl Driver core changes for 6.13-rc1 2024-11-29 11:43:29 -08:00
platform i2c-for-6.13-rc1-part3 2024-12-01 13:38:24 -08:00
pmdomain pmdomain: qcom: rpmhpd: Add rpmhpd support for SM8750 2024-11-12 19:46:51 +01:00
pnp
power power supply and reset changes for the 6.13 series 2024-11-28 09:28:09 -08:00
powercap
pps
ps3 ps3: Correct some typos in comments 2024-11-15 00:32:29 +11:00
ptp ptp: Remove 'default y' for VMCLOCK PTP device 2024-11-04 18:18:10 -08:00
pwm pwm: Assume a disabled PWM to emit a constant inactive output 2024-11-07 12:03:39 +01:00
rapidio
ras
regulator regulator: Fixes for v6.13 2024-11-28 09:40:53 -08:00
remoteproc remoteproc: qcom: wcss: Remove double assignment in q6v5_wcss_probe() 2024-11-15 20:36:27 -08:00
reset The core framework gained a clk provider helper, a clk consumer helper, and 2024-11-22 17:02:25 -08:00
rpmsg rpmsg updates for v6.13 2024-11-26 18:36:55 -08:00
rtc RTC for 6.13 2024-11-30 11:18:16 -08:00
s390 Driver core changes for 6.13-rc1 2024-11-29 11:43:29 -08:00
sbus
scsi Driver core changes for 6.13-rc1 2024-11-29 11:43:29 -08:00
sh sh updates for v6.13 2024-11-30 14:45:29 -08:00
siox
slimbus
soc Networking changes for 6.13. 2024-11-21 08:28:08 -08:00
soundwire soundwire updates for 6.13 2024-11-27 13:38:09 -08:00
spi spi: Fixes for v6.13 2024-11-28 10:06:00 -08:00
spmi spmi: pmic-arb: fix return path in for_each_available_child_of_node() 2024-11-10 10:56:46 +01:00
ssb
staging fbdev: Fix recursive dependencies wrt BACKLIGHT_CLASS_DEVICE 2024-12-17 18:06:10 +01:00
target SCSI misc on 20241125 2024-11-25 18:50:55 -08:00
tc TC: Fix the wrong format specifier 2024-11-12 15:48:08 +01:00
tee
thermal Additional thermal control updates for 6.13-rc1 2024-11-27 14:36:00 -08:00
thunderbolt USB / Thunderbolt (USB4) changes for 6.13-rc1 2024-11-29 11:19:31 -08:00
tty TTY / Serial driver updates for 6.13-rc1 2024-11-30 09:03:16 -08:00
ufs SCSI misc on 20241125 2024-11-25 18:50:55 -08:00
uio Char/Misc/IIO/Whatever driver subsystem updates for 6.13-rc1 2024-11-29 11:58:27 -08:00
usb Kbuild updates for v6.13 2024-11-30 13:41:50 -08:00
vdpa vdpa/mlx5: Fix suboptimal range on iotlb iteration 2024-11-12 18:05:05 -05:00
vfio VFIO updates for v6.13 2024-11-27 12:57:03 -08:00
vhost mm: page_frag: avoid caller accessing 'page_frag_cache' directly 2024-11-11 10:56:27 -08:00
video fbdev: Fix recursive dependencies wrt BACKLIGHT_CLASS_DEVICE 2024-12-17 18:06:10 +01:00
virt - Do the proper memory conversion of guest memory in order to be able to kexec 2024-11-19 12:21:35 -08:00
virtio virtio: features, fixes, cleanups 2024-11-27 13:11:58 -08:00
w1
watchdog asm-generic updates for 6.13 2024-11-20 15:13:02 -08:00
xen A set of updates for the interrupt subsystem: 2024-11-19 15:54:19 -08:00
zorro
Kconfig
Makefile