The system hangs after resume with thunderbolt monitor(AMD GPU [1002:1900])

Bug #2083182 reported by AceLan Kao
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
HWE Next
New
Undecided
Unassigned
linux (Ubuntu)
Fix Committed
Undecided
AceLan Kao
Noble
Fix Released
Undecided
AceLan Kao
Oracular
Fix Released
Undecided
AceLan Kao
linux-oem-6.11 (Ubuntu)
Invalid
Undecided
Unassigned
Noble
Fix Released
Undecided
AceLan Kao
Oracular
Invalid
Undecided
Unassigned

Bug Description

[Impact]
The system hangs on blackscreen with thunderbolt monitor while resume from suspend state.

[Fix]
The TBT monitor HPD will be triggered during the resume procedure
and call the drm_client_modeset_probe() while
struct drm_connector connector->dev->master is NULL.

It will mess up the pipe topology after resume.

AMD submitted a patch to fix this issue.
https://<email address hidden>/T/#e868f6b967ec79ae85c5a8a446be9b5d5c97e5427

[Test case]
1. Boot to OS
2. Plug thunderbolt monitor to the system.
3. Enter suspend
4. Press the power button to resume from suspend
5. Should not hang

[Where problems could occur]
Pretty low chance to introduce any regressions.
The patch won't do anything bad to the system while resuming,
the probing will be done after resumed.

AceLan Kao (acelankao)
Changed in linux-oem-6.11 (Ubuntu Oracular):
status: New → Invalid
Changed in linux (Ubuntu Noble):
assignee: nobody → AceLan Kao (acelankao)
Changed in linux (Ubuntu Oracular):
assignee: nobody → AceLan Kao (acelankao)
Changed in linux-oem-6.11 (Ubuntu Noble):
assignee: nobody → AceLan Kao (acelankao)
Changed in linux (Ubuntu Noble):
status: New → In Progress
Changed in linux (Ubuntu Oracular):
status: New → In Progress
Changed in linux-oem-6.11 (Ubuntu Noble):
status: New → In Progress
tags: added: oem-priority originate-from-2064209 stella
Changed in linux (Ubuntu Noble):
status: In Progress → Fix Committed
Changed in linux (Ubuntu Oracular):
status: In Progress → Fix Committed
Revision history for this message
AceLan Kao (acelankao) wrote :

The patch has been included since v6.12-rc2
52d4e3fb3d34 drm/amd/display: Fix system hang while resume with TBT monitor

AceLan Kao (acelankao)
tags: added: originate-from-2064556
Revision history for this message
Ubuntu Kernel Bot (ubuntu-kernel-bot) wrote :

This bug is awaiting verification that the linux/6.8.0-50.51 kernel in -proposed solves the problem. Please test the kernel and update this bug with the results. If the problem is solved, change the tag 'verification-needed-noble-linux' to 'verification-done-noble-linux'. If the problem still exists, change the tag 'verification-needed-noble-linux' to 'verification-failed-noble-linux'.

If verification is not done by 5 working days from today, this fix will be dropped from the source code, and this bug will be closed.

See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Thank you!

tags: added: kernel-spammed-noble-linux-v2 verification-needed-noble-linux
Revision history for this message
Ubuntu Kernel Bot (ubuntu-kernel-bot) wrote :

This bug is awaiting verification that the linux/6.11.0-12.13 kernel in -proposed solves the problem. Please test the kernel and update this bug with the results. If the problem is solved, change the tag 'verification-needed-oracular-linux' to 'verification-done-oracular-linux'. If the problem still exists, change the tag 'verification-needed-oracular-linux' to 'verification-failed-oracular-linux'.

If verification is not done by 5 working days from today, this fix will be dropped from the source code, and this bug will be closed.

See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Thank you!

tags: added: kernel-spammed-oracular-linux-v2 verification-needed-oracular-linux
Revision history for this message
Launchpad Janitor (janitor) wrote :
Download full text (8.5 KiB)

This bug was fixed in the package linux-oem-6.11 - 6.11.0-1009.9

---------------
linux-oem-6.11 (6.11.0-1009.9) noble; urgency=medium

  * noble/linux-oem-6.11: 6.11.0-1009.9 -proposed tracker (LP: #2086266)

  * Packaging resync (LP: #1786013)
    - [Packaging] resync git-ubuntu-log

  * Intel Be201 Bluetooth hardware error 0x0f on Arrow Lake (LP: #2088151)
    - Bluetooth: btintel: Add DSBR support for BlazarIW, BlazarU and GaP

  * Add soundwire support for AMD platforms (LP: #2089273)
    - ASoC: intel: rename soundwire machine driver soc ops
    - ASoC: intel: rename soundwire codec helper functions
    - ASoC: intel: rename maxim codec macros
    - ASoC: intel: rename ignore_pch_dmic variable name
    - ASoC: intel/sdw-utils: move soundwire machine driver soc ops
    - ASoC: intel: move soundwire machine driver common structures
    - ASoC: intel/sdw_utils: move soundwire machine driver helper functions
    - ASoC: intel/sdw_utils: move dmic codec helper function
    - ASoC: intel/sdw_utils: move rtk dmic helper functions
    - ASoC: intel/sdw_utils: move rt712 sdca helper functions
    - ASoC: intel/sdw_utils: move rt722 sdca helper functions
    - ASoC: intel: split soundwire machine driver private data
    - ASoC: intel/sdw_utils: move rt5682 codec helper function
    - ASoC: intel/sdw_utils: move rtk jack common helper functions
    - ASoC: intel/sdw_utils: move rt700 and rt711 codec helper functions
    - ASoC: intel/sdw_utils: move rtk amp codec helper functions
    - ASoC: intel/sdw_utils: move cirrus soundwire codec helper functions
    - ASoC: intel/sdw_utils: move maxim codec helper functions
    - ASoC: intel/sdw_utils: move dai id common macros
    - ASoC: intel/sdw_utils: move soundwire dai type macros
    - ASoC: intel/sdw_utils: move soundwire codec_info_list structure
    - ASoC: intel/sdw_utils: move machine driver dai link helper functions
    - ASoC: sdw_utils: refactor sof_sdw_card_late_probe function
    - ASoC: intel/sdw_utils: refactor init_dai_link() and init_simple_dai_link()
    - ASoC: soc-acpi: add pci revision id field in mach params structure
    - ASoC: amd: acp: add soundwire machines for acp6.3 based platform
    - ASoC: SOF: amd: add alternate machines for acp6.3 based platform
    - ASoC: SOF: amd: update mach params subsystem_rev variable
    - ASoC: amd/sdw_utils: add sof based soundwire generic machine driver
    - ASoC: intel: sof_sdw: rename soundwire endpoint and dailink structures
    - ASoC: intel: sof_sdw: rename soundwire parsing helper functions
    - ASoC: sdw_util/intel: move soundwire endpoint and dai link structures
    - ASoC: sdw_utils/intel: move soundwire endpoint parsing helper functions
    - ASoC: amd: acp: refactor SoundWire machine driver code
    - ASoC: sdw_utils/intel/amd: refactor dai link init logic
    - ASoC: sdw_utils: Update stream_name in dai_links structure
    - soundwire: amd: pass acp pci revision id as resource data
    - soundwire: amd: refactor existing code for acp 6.3 platform
    - ASoC: SOF: amd: pass acp_rev as soundwire resource data
    - ASoC: amd: ps: pass acp pci revision id as soundwire resource data
    - ASoC: rt722: change the interrupt mask for j...

Read more...

Changed in linux-oem-6.11 (Ubuntu Noble):
status: In Progress → Fix Released
Revision history for this message
Launchpad Janitor (janitor) wrote :
Download full text (143.6 KiB)

This bug was fixed in the package linux - 6.8.0-50.51

---------------
linux (6.8.0-50.51) noble; urgency=medium

  * noble/linux: 6.8.0-50.51 -proposed tracker (LP: #2086301)

  * Packaging resync (LP: #1786013)
    - [Packaging] debian.master/dkms-versions -- update from kernel-versions
      (main/2024.10.28)

  * Noble update: upstream stable patchset 2024-10-31 (LP: #2086138)
    - device property: Add cleanup.h based fwnode_handle_put() scope based
      cleanup.
    - device property: Introduce device_for_each_child_node_scoped()
    - iio: adc: ad7124: Switch from of specific to fwnode based property handling
    - ksmbd: override fsids for share path check
    - ksmbd: override fsids for smb2_query_info()
    - usbnet: ipheth: remove extraneous rx URB length check
    - usbnet: ipheth: drop RX URBs with no payload
    - usbnet: ipheth: do not stop RX on failing RX callback
    - usbnet: ipheth: fix carrier detection in modes 1 and 4
    - net: ethernet: use ip_hdrlen() instead of bit shift
    - drm: panel-orientation-quirks: Add quirk for Ayn Loki Zero
    - drm: panel-orientation-quirks: Add quirk for Ayn Loki Max
    - net: phy: vitesse: repair vsc73xx autonegotiation
    - powerpc/mm: Fix boot warning with hugepages and CONFIG_DEBUG_VIRTUAL
    - wifi: mt76: mt7921: fix NULL pointer access in mt7921_ipv6_addr_change
    - net: hns3: use correct release function during uninitialization
    - btrfs: update target inode's ctime on unlink
    - Input: ads7846 - ratelimit the spi_sync error message
    - Input: synaptics - enable SMBus for HP Elitebook 840 G2
    - HID: multitouch: Add support for GT7868Q
    - scripts: kconfig: merge_config: config files: add a trailing newline
    - platform/surface: aggregator_registry: Add Support for Surface Pro 10
    - platform/surface: aggregator_registry: Add support for Surface Laptop Go 3
    - drm/msm/adreno: Fix error return if missing firmware-name
    - Input: i8042 - add Fujitsu Lifebook E756 to i8042 quirk table
    - smb/server: fix return value of smb2_open()
    - NFSv4: Fix clearing of layout segments in layoutreturn
    - NFS: Avoid unnecessary rescanning of the per-server delegation list
    - platform/x86: panasonic-laptop: Fix SINF array out of bounds accesses
    - platform/x86: panasonic-laptop: Allocate 1 entry extra in the sinf array
    - mptcp: pm: Fix uaf in __timer_delete_sync
    - arm64: dts: rockchip: fix eMMC/SPI corruption when audio has been used on
      RK3399 Puma
    - arm64: dts: rockchip: override BIOS_DISABLE signal via GPIO hog on RK3399
      Puma
    - minmax: reduce min/max macro expansion in atomisp driver
    - net: tighten bad gso csum offset check in virtio_net_hdr
    - dm-integrity: fix a race condition when accessing recalc_sector
    - x86/hyperv: fix kexec crash due to VP assist page corruption
    - mm: avoid leaving partial pfn mappings around in error case
    - arm64: dts: rockchip: fix PMIC interrupt pin in pinctrl for ROCK Pi E
    - drm/amd/display: Disable error correction if it's not supported
    - drm/amd/display: Fix FEC_READY write on DP LT
    - eeprom: digsy_mtc: Fix 93xx46 driver probe failure
    - cxl/core: Fix incorrect vend...

Changed in linux (Ubuntu Noble):
status: Fix Committed → Fix Released
Revision history for this message
Launchpad Janitor (janitor) wrote :
Download full text (3.4 KiB)

This bug was fixed in the package linux - 6.11.0-12.13

---------------
linux (6.11.0-12.13) oracular; urgency=medium

  * oracular/linux: 6.11.0-12.13 -proposed tracker (LP: #2089269)

  * LXD fan bridge causes blocked tasks (LP: #2064176)
    - SAUCE: fan: release rcu_read_lock on skb discard path
    - SAUCE: fan: fix racy device stat update

  * OVTI08F4:00: number of CSI2 data lanes 2 is not supported (LP: #2084059)
    - SAUCE: media: ipu-bridge: Add support for additional link frequencies

  * [Oracular] Allow overriding Rust tools (LP: #2084693)
    - [Packaging] Allow rust overrides

  * Intel(R) PRO/1000 I219 ethernet adapter [8086:550c] may block entrance of
    modern standby (LP: #2081130)
    - platform/x86: intel/pmc: Ignore all LTRs during suspend
    - e1000e: change I219 (19) devices to ADP
    - x86/apic: Always explicitly disarm TSC-deadline timer

  * Need driver support for Realtek RTL8126A rev.b 5Gbps ethernet [10ec:8126]
    (LP: #2079017)
    - r8169: add support for RTL8126A rev.b
    - r8169: add missing MODULE_FIRMWARE entry for RTL8126A rev.b

  * Missing device ID for amd_atl driver for AMD Strix platform (LP: #2083292)
    - SAUCE: x86/amd_nb: Add new PCI ID for AMD family 1Ah model 20h

  * Lack of UART boot output on rb3gen2 even with earlycon (LP: #2083559)
    - [Config] move qcom clk and serial options as builtin

  * r8169: transmit queue 0 timed out error when re-plugging the Ethernet cable
    (LP: #2084526)
    - r8169: disable ALDPS per default for RTL8125

  * Dell Alienware sysytem reports errors of dell_wmi_sysman and dell_smbios in
    demsg (LP: #2084808)
    - platform/x86: dell-sysman: add support for alienware products

  * Add Intel Arrow Lake-H LPSS PCI IDs (LP: #2083905)
    - mfd: intel-lpss: Add Intel Arrow Lake-H LPSS PCI IDs

  * rtw89: reset IDMEM mode to prevent download firmware failure (LP: #2077396)
    - wifi: rtw89: 885xb: reset IDMEM mode to prevent download firmware failure

  * Missing Bluetooth device IDs for new Mediatek MT7920/MT7925 (LP: #2078878)
    - SAUCE: Bluetooth: btusb: Add USB HW IDs for MT7920/MT7925

  * rtw89: Support hardware rfkill (LP: #2077384)
    - wifi: rtw89: add support for hardware rfkill

  * [SRU] uncore: Add ARL and LNL support on 6.11 (LP: #2081810)
    - perf/x86/intel/uncore: Add Arrow Lake support
    - perf/x86/intel/uncore: Factor out common MMIO init and ops functions
    - perf/x86/intel/uncore: Add Lunar Lake support
    - perf/x86/intel/uncore: Add LNL uncore iMC freerunning support
    - perf/x86/intel/uncore: Use D0:F0 as a default device

  * Support Qualcomm WCN7851 Dual Bluetooth Adapter 0489:E0F3 (LP: #2081796)
    - SAUCE: Bluetooth: btusb: Add one more ID 0x0489:0xe0f3 for Qualcomm WCN785x

  * The system hangs after resume with thunderbolt monitor(AMD GPU [1002:1900])
    (LP: #2083182)
    - SAUCE: drm/amd/display: Fix system hang while resume with TBT monitor

  * UBSAN: array-index-out-of-bounds in module mt76 (LP: #2081785)
    - wifi: mt76: mt7925: fix a potential array-index-out-of-bounds issue for clc

  * Missing devices nodes for AMD Instinct MI300 card when installed along with
    integrated display (LP: #2078773)
    -...

Read more...

Changed in linux (Ubuntu Oracular):
status: Fix Committed → Fix Released
Revision history for this message
Ubuntu Kernel Bot (ubuntu-kernel-bot) wrote :

This bug is awaiting verification that the linux-lowlatency-hwe-6.11/6.11.0-1007.7~24.04.1 kernel in -proposed solves the problem. Please test the kernel and update this bug with the results. If the problem is solved, change the tag 'verification-needed-noble-linux-lowlatency-hwe-6.11' to 'verification-done-noble-linux-lowlatency-hwe-6.11'. If the problem still exists, change the tag 'verification-needed-noble-linux-lowlatency-hwe-6.11' to 'verification-failed-noble-linux-lowlatency-hwe-6.11'.

If verification is not done by 5 working days from today, this fix will be dropped from the source code, and this bug will be closed.

See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Thank you!

tags: added: kernel-spammed-noble-linux-lowlatency-hwe-6.11-v2 verification-needed-noble-linux-lowlatency-hwe-6.11
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.