Fix i915 TypeC disconnect problems for Intel ADL-P

Bug #1952041 reported by Chris Chiu
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
HWE Next
Fix Released
Undecided
Unassigned
OEM Priority Project
Fix Released
Undecided
Unassigned
linux (Ubuntu)
Fix Released
Undecided
Chris Chiu
Focal
Won't Fix
Undecided
Unassigned
Jammy
Fix Released
Undecided
Chris Chiu
linux-oem-5.14 (Ubuntu)
Invalid
Undecided
Unassigned
Focal
Fix Released
Undecided
Chris Chiu
Jammy
Invalid
Undecided
Unassigned

Bug Description

[SRU Justification]

[Impact]
When the ADL-P system connects the external display via TypeC port, it will hang after unplugging the TypeC connector. The system will never come back until reboot.

[Fix]
Intel has released a patch set to fix the TypeC PHY connect/disconnect logic. The shift for ownership of PHY and power domain will be handled correctly for ADL-P.

[Test]
The ADL-P system will no longer freeze and the ownership will shift correctly after disconnecting the external display connects via TypeC port.

[Where problem could occur]
It's kind of a big refactor for the i915 TypeC PHY handling logic. Don't know if there's any problems on older platforms. Targeting only on Unstable and latest OEM kernel for lower risk.

================== Original Bug Description ======================
[Summary]
The system will hang on after unplug DA310 with external monitor (on-demand)
Note:
1. Build-in HDMI port cannot duplicate.
2. VGA/HDMI/DP on DA310 to system all can duplicate.
3. Unplug VGA/DP/HDMI from DA310, then unplug DA310 from the system cannot duplicate.

[Steps to reproduce]
1. Install dell-bto-focal-fossa-pypar-adl-X160-20210923-2.iso
2. Plug DA310 to USB-C port
3. Plug DP/VGA/HDMI to DA310
4. Unplug DA310 > The system hangs on with black screen

[Expected result]
The system works well after unplug USB-C with external monitor

[Actual result]
The system hangs on blackscreen after unplug DA310 with external monitor

[Failure rate]
3/3

[Additional information]
SKU: SIF-MLK-DVT1-C1, SIF-MLK-DVT1-C5, SIF-MLK-DVT1-C6
Image: canonical-oem-somerville-focal-amd64-20200502-85+fossa-pypar-adl+X160
system-manufacturer: Dell Inc.
system-product-name: Dell G15 5520
bios-version: 0.2.9
CPU: Genuine Intel(R) 0000 (12x)
GPU: 0000:00:02.0 VGA compatible controller [0300]: Intel Corporation Device [8086:46a3]
0000:01:00.0 VGA compatible controller [0300]: NVIDIA Corporation Device [10de:25e2] (rev a1)
kernel-version: 5.14.0-9002-oem

Chris Chiu (mschiu77)
Changed in linux-oem-5.14 (Ubuntu Focal):
status: New → In Progress
Chris Chiu (mschiu77)
tags: added: oem-priority originate-from-1945575 somerville
tags: added: originate-from-1943562
tags: added: originate-from-1949425
Revision history for this message
Ubuntu Kernel Bot (ubuntu-kernel-bot) wrote : Missing required logs.

This bug is missing log files that will aid in diagnosing the problem. While running an Ubuntu kernel (not a mainline or third-party kernel) please enter the following command in a terminal window:

apport-collect 1952041

and then change the status of the bug to 'Confirmed'.

If, due to the nature of the issue you have encountered, you are unable to run this command, please add a comment stating that fact and change the bug status to 'Confirmed'.

This change has been made by an automated script, maintained by the Ubuntu Kernel Team.

Changed in linux (Ubuntu):
status: New → Incomplete
Changed in linux (Ubuntu Focal):
status: New → Incomplete
tags: added: disco
Revision history for this message
Timo Aaltonen (tjaalton) wrote :

this needs to be fixed in jammy/5.15 too, unless it's ok to regress when going to hwe-5.15

Chris Chiu (mschiu77)
no longer affects: linux-hwe (Ubuntu)
Chris Chiu (mschiu77)
Changed in linux (Ubuntu Jammy):
status: Incomplete → In Progress
Changed in linux (Ubuntu Focal):
status: Incomplete → Won't Fix
Changed in linux-oem-5.14 (Ubuntu Jammy):
status: New → Invalid
Changed in linux-oem-5.14 (Ubuntu Focal):
assignee: nobody → Chris Chiu (mschiu77)
Changed in linux (Ubuntu Jammy):
assignee: nobody → Chris Chiu (mschiu77)
tags: added: originate-from-1949168
Timo Aaltonen (tjaalton)
no longer affects: linux-hwe (Ubuntu Focal)
Changed in linux-oem-5.14 (Ubuntu Focal):
status: In Progress → Fix Committed
Revision history for this message
David Chen (david.chen) wrote :

Is it already in Focal 5.14-OEM proposed?

Revision history for this message
Ubuntu Kernel Bot (ubuntu-kernel-bot) wrote :

This bug is awaiting verification that the linux-oem-5.14/5.14.0-1009.9 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-focal' to 'verification-done-focal'. If the problem still exists, change the tag 'verification-needed-focal' to 'verification-failed-focal'.

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: verification-needed-focal
Revision history for this message
Chris Chiu (mschiu77) wrote :

Verified on STRADL w/o problem

tags: added: verification-done-focal
removed: verification-needed-focal
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package linux-oem-5.14 - 5.14.0-1010.10

---------------
linux-oem-5.14 (5.14.0-1010.10) focal; urgency=medium

  * focal/linux-oem-5.14: 5.14.0-1010.10 -proposed tracker (LP: #1953346)

  * alsa/sdw: add sdw audio machine driver for several ADL machines
    (LP: #1951563)
    - ASoC: Intel: sof_sdw: Add support for SKU 0AF3 product
    - ASoC: Intel: soc-acpi: add SKU 0AF3 SoundWire configuration
    - ASoC: Intel: sof_sdw: Add support for SKU 0B00 and 0B01 products
    - ASoC: Intel: sof_sdw: Add support for SKU 0B11 product
    - ASoC: Intel: sof_sdw: Add support for SKU 0B13 product
    - ASoC: Intel: soc-acpi: add SKU 0B13 SoundWire configuration
    - ASoC: Intel: sof_sdw: Add support for SKU 0B29 product
    - ASoC: Intel: soc-acpi: add SKU 0B29 SoundWire configuration
    - ASoC: Intel: sof_sdw: Add support for SKU 0B12 product
    - ASoC: intel: sof_sdw: return the original error number
    - ASoC: intel: sof_sdw: rename be_index/link_id to link_index
    - ASoC: intel: sof_sdw: Use a fixed DAI link id for AMP
    - ASoC: intel: sof_sdw: move DMIC link id overwrite to create_sdw_dailink
    - ASoC: intel: sof_sdw: remove SOF_RT715_DAI_ID_FIX quirk
    - ASoC: intel: sof_sdw: remove get_next_be_id
    - ASoC: intel: sof_sdw: add link adr order check
    - soundwire: bus: update Slave status in sdw_clear_slave_status

 -- Chia-Lin Kao (AceLan) <email address hidden> Mon, 06 Dec 2021 22:12:32 +0800

Changed in linux-oem-5.14 (Ubuntu Focal):
status: Fix Committed → Fix Released
Timo Aaltonen (tjaalton)
Changed in linux (Ubuntu Jammy):
status: In Progress → Fix Released
Changed in linux (Ubuntu):
status: In Progress → Fix Released
Changed in oem-priority:
status: New → Fix Released
Changed in hwe-next:
status: New → Fix Released
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.