[PATCH 0/4 V2][SRU][K/J/OEM-6.0/OEM-5.17] Fix SUT can't displayed after resume from WB/CB with dGFX installed(FR:6/10)[RX6300][RX6500]
Koba Ko
koba.ko at canonical.com
Fri Dec 16 01:42:00 UTC 2022
BugLink: https://bugs.launchpad.net/bugs/1999836
[Impact]
SUT can't displayed after resume from WB/CB with dGFX installed.
Recovery: SUT can display when the DP cable unplug and plug .
[Fix]
Use quirk to block the affected SKUes.
[Test Case]
1.Install Ubuntu 22.04 on SUT with dGFX card.
2.Connect the DP cable to the dGFX port.
3.SUT do power off/restart.
4.SUT can display.
[Where problems could occur]
Add SKU's id to a quirk table, the impact would be small.
[Other Info]
* For the pure Jammy, Confronted the error of compilation.
1. Need 8e794421bc98) drm/amd/display: Fork thread to offload work
~~
drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm.c:1449:38: error: implicit declaration of function 'hpd_rx_irq_create_ workqueue'; did you mean 'hdcp_create_workqueue'? [-Werror=implicit-function-declaration]
18848 1449 | adev->dm.hpd_rx_offload_wq = hpd_rx_irq_create_workqueue(adev->dm.dc);
18849 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~
18850 | hdcp_create_workqueue
~~
2. Need 3ce51649cdf2) drm/amdgpu/display: add quirk handling for stutter
~~
drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm.c:1505:13: error: implicit declaration of function 'dm_should_disable_ stutter' [-Werror=implicit-function-declaration]
18838 1505 | if (dm_should_disable_stutter(adev->pdev))
~~
* hpd_disconnect_quirk_table is placed to the different location on J/OEM-5.17 and on K/OEM-6.0, so can't use a single patch for all.
* Result from CBD
~~
Jammy,
remote: *** kernel-cbd *********************************************************
remote: * Queueing builds (your 'j_gen_nxt'); ok to interrupt
remote: * For results: ssh cbd ls kobako-jammy-820f542767e6-ESq2
remote: * 192/672 cores busy (2/7 hosts), 0 builds queued
remote: 2022-12-15 17:09:15 kobako-jammy-820f542767e6-ESq2/amd64/BUILD-OK
remote: 2022-12-15 17:11:13 kobako-jammy-820f542767e6-ESq2/arm64/BUILD-OK
remote: 2022-12-15 17:07:30 kobako-jammy-820f542767e6-ESq2/armhf/BUILD-OK
remote: 2022-12-15 17:10:17 kobako-jammy-820f542767e6-ESq2/ppc64el/BUILD-OK
remote: 2022-12-15 17:04:55 kobako-jammy-820f542767e6-ESq2/s390x/BUILD-OK
remote: ************************************************************************
To 54.69.112.110:jammy.git
~~
Kinetic
remote: *** kernel-cbd *********************************************************
remote: * Queueing builds (your 'k_gen_nxt'); ok to interrupt
remote: * For results: ssh cbd ls kobako-kinetic-857358673609-X4Nz
remote: * 0/672 cores busy (0/7 hosts), 0 builds queued
remote: 2022-12-15 17:41:37 kobako-kinetic-857358673609-X4Nz/amd64/BUILD-OK
remote: 2022-12-15 17:42:13 kobako-kinetic-857358673609-X4Nz/arm64/BUILD-OK
remote: 2022-12-15 17:35:54 kobako-kinetic-857358673609-X4Nz/armhf/BUILD-OK
remote: 2022-12-15 17:40:54 kobako-kinetic-857358673609-X4Nz/ppc64el/BUILD-OK
remote: 2022-12-15 17:34:47 kobako-kinetic-857358673609-X4Nz/s390x/BUILD-OK
remote: ************************************************************************
To 54.69.112.110:kinetic.git
~~
V2: Modify [Test Case]
Alex Deucher (1):
[J] drm/amdgpu/display: add quirk handling for stutter mode
Tsung-hua Lin (1):
[J/OEM-5.17] drm/amd/display: No display after resume from WB/CB
Wayne Lin (1):
[J] drm/amd/display: Fork thread to offload work of hpd_rx_irq
.../gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c | 144 ++++++++++++++++++
1 file changed, 144 insertions(+)
--
2.25.1
More information about the kernel-team
mailing list