mbox series

[SRU,N,0/1] Fix the failure of amdgpu initialization on v6.8

Message ID 20240709121546.740094-1-aaron.ma@canonical.com
Headers show
Series Fix the failure of amdgpu initialization on v6.8 | expand

Message

Aaron Ma July 9, 2024, 12:15 p.m. UTC
BugLink: https://bugs.launchpad.net/bugs/2072428

[Impact]
AMD GPUs like RX580 and RX5500 failed to be initialized after
commit: 466a7d115326 ("drm/amd: Use the first non-dGPU PCI device for BW limits")
The screen stays blank.

[Fix]
Set the current speed/width on devices.
Upstream fix:
ba46b3bda296 ("drm/amdgpu: Adjust logic in amdgpu_device_partner_bandwidth()")

[Test]
Bug reporter tested on hardware, amdgpu works fine.
Also verified on AMD iGPU of laptop by myself. glmark2 works fine.

[Where problems could occur]
It may break amdgpu.

Alex Deucher (1):
  drm/amdgpu: Adjust logic in amdgpu_device_partner_bandwidth()

 drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | 19 ++++++++++++-------
 1 file changed, 12 insertions(+), 7 deletions(-)

Comments

Chris Chiu July 9, 2024, 3:55 p.m. UTC | #1
On Tue, Jul 9, 2024 at 8:16 PM Aaron Ma <aaron.ma@canonical.com> wrote:
>
> BugLink: https://bugs.launchpad.net/bugs/2072428
>
> [Impact]
> AMD GPUs like RX580 and RX5500 failed to be initialized after
> commit: 466a7d115326 ("drm/amd: Use the first non-dGPU PCI device for BW limits")
> The screen stays blank.
>
> [Fix]
> Set the current speed/width on devices.
> Upstream fix:
> ba46b3bda296 ("drm/amdgpu: Adjust logic in amdgpu_device_partner_bandwidth()")
>
> [Test]
> Bug reporter tested on hardware, amdgpu works fine.
> Also verified on AMD iGPU of laptop by myself. glmark2 works fine.
>
> [Where problems could occur]
> It may break amdgpu.
>
> Alex Deucher (1):
>   drm/amdgpu: Adjust logic in amdgpu_device_partner_bandwidth()
>
>  drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | 19 ++++++++++++-------
>  1 file changed, 12 insertions(+), 7 deletions(-)
>
> --
> 2.43.0
>
>
> --
> kernel-team mailing list
> kernel-team@lists.ubuntu.com
> https://lists.ubuntu.com/mailman/listinfo/kernel-team

Acked-by: Chris Chiu <chris.chiu@canonical.com>
Thibault Ferrante July 10, 2024, 9:19 a.m. UTC | #2
On 09-07-2024 14:15, Aaron Ma wrote:
> BugLink: https://bugs.launchpad.net/bugs/2072428
> 
> [Impact]
> AMD GPUs like RX580 and RX5500 failed to be initialized after
> commit: 466a7d115326 ("drm/amd: Use the first non-dGPU PCI device for BW limits")
> The screen stays blank.
> 
> [Fix]
> Set the current speed/width on devices.
> Upstream fix:
> ba46b3bda296 ("drm/amdgpu: Adjust logic in amdgpu_device_partner_bandwidth()")
> 
> [Test]
> Bug reporter tested on hardware, amdgpu works fine.
> Also verified on AMD iGPU of laptop by myself. glmark2 works fine.
> 
> [Where problems could occur]
> It may break amdgpu.
> 
> Alex Deucher (1):
>    drm/amdgpu: Adjust logic in amdgpu_device_partner_bandwidth()
> 
>   drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | 19 ++++++++++++-------
>   1 file changed, 12 insertions(+), 7 deletions(-)
> 

Acked-by: Thibault Ferrante <thibault.ferrante@canonical.com>

--
Thibault
Stefan Bader July 19, 2024, 9:23 a.m. UTC | #3
On 09.07.24 14:15, Aaron Ma wrote:
> BugLink: https://bugs.launchpad.net/bugs/2072428
> 
> [Impact]
> AMD GPUs like RX580 and RX5500 failed to be initialized after
> commit: 466a7d115326 ("drm/amd: Use the first non-dGPU PCI device for BW limits")
> The screen stays blank.
> 
> [Fix]
> Set the current speed/width on devices.
> Upstream fix:
> ba46b3bda296 ("drm/amdgpu: Adjust logic in amdgpu_device_partner_bandwidth()")
> 
> [Test]
> Bug reporter tested on hardware, amdgpu works fine.
> Also verified on AMD iGPU of laptop by myself. glmark2 works fine.
> 
> [Where problems could occur]
> It may break amdgpu.
> 
> Alex Deucher (1):
>    drm/amdgpu: Adjust logic in amdgpu_device_partner_bandwidth()
> 
>   drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | 19 ++++++++++++-------
>   1 file changed, 12 insertions(+), 7 deletions(-)
> 

Applied to noble:linux/master-next. Thanks.

-Stefan