[SRU] [H/Unstable/OEM-5.10] [PATCH 0/1] Fix non-working GPU on Some HP desktops

Kai-Heng Feng kai.heng.feng at canonical.com
Mon Jun 7 16:39:08 UTC 2021


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

[Impact]
Integrated GPU on AMD based HP desktop doesn't work.

[Fix]
Coalesce host bridge contiguous apertures so the resources requested by
child devices can be met.

[Test]
Boot affected systems. No picture from the iGPU.
With the patch applied, iGPU can work normally.

[Where problems could occur]
Assume there are device A and device B and they request overlapped
resource region, the original logic may not be able to allocate enough
resource for A so device B claimed the resource in the end.

Once the fix is applied, the region may be big enough for device A,
hence device B won't be able to get the resource it needs.

Hopefully we don't have such broken systems.

Kai-Heng Feng (1):
  PCI: Coalesce host bridge contiguous apertures

 drivers/pci/probe.c | 49 +++++++++++++++++++++++++++++++++++++++++----
 1 file changed, 45 insertions(+), 4 deletions(-)

-- 
2.31.1




More information about the kernel-team mailing list