[SRU] [OEM-5.17] [PATCH 0/1] Fix AMDGPU probe failure

Kai-Heng Feng kai.heng.feng at canonical.com
Thu Jun 30 14:41:59 UTC 2022

BugLink: https://bugs.launchpad.net/bugs/1980374

AMDGPU probe fails on v5.17 based kernel.

Replace the 'else if' statement to 'if' statement so the logic can be
checked and run.

The AMDGPU driver always succesfully probe the device with the patch.

[Where problems could occur]
The logic had been working for sometime but code refactoring messed it
up. This brings back the old behavior so the surprise should be minimal.

Lang Yu (1):
  drm/amdgpu: enable amdgpu_dc module parameter

 drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c | 10 ++++++++--
 1 file changed, 8 insertions(+), 2 deletions(-)


More information about the kernel-team mailing list