Bug 212467 - AMDGPU -- amdgpu: Unsupported power profile mode 0 on RENOIR (AMD Ryzen 4600H, iGPU rev c7)
Summary: AMDGPU -- amdgpu: Unsupported power profile mode 0 on RENOIR (AMD Ryzen 4600H...
Status: NEW
Alias: None
Product: Drivers
Classification: Unclassified
Component: Video(DRI - non Intel) (show other bugs)
Hardware: All Linux
: P1 normal
Assignee: drivers_video-dri
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-03-28 15:54 UTC by Bogdan
Modified: 2021-03-28 16:59 UTC (History)
1 user (show)

See Also:
Kernel Version: 5.11.10
Subsystem:
Regression: No
Bisected commit-id:


Attachments
dmesg with amdgpu errors (99.16 KB, text/plain)
2021-03-28 15:54 UTC, Bogdan
Details
kernel config (239.66 KB, text/plain)
2021-03-28 15:55 UTC, Bogdan
Details

Description Bogdan 2021-03-28 15:54:12 UTC
Created attachment 296121 [details]
dmesg with amdgpu errors

I have errors in dmesg:

[   11.850726] UBSAN: shift-out-of-bounds in drivers/gpu/drm/amd/amdgpu/../amdkfd/kfd_device_queue_manager.c:1140:32
[   11.850728] shift exponent 64 is too large for 64-bit type 'long long unsigned int'

[   12.876987] amdgpu 0000:05:00.0: amdgpu: Unsupported power profile mode 0 on RENOIR

[   29.314776] UBSAN: shift-out-of-bounds in drivers/gpu/drm/amd/amdgpu/../display/dc/dml/dcn21/display_rq_dlg_calc_21.c:288:38
[   29.314782] shift exponent 4294966273 is too large for 32-bit type 'int'
Comment 1 Bogdan 2021-03-28 15:55:12 UTC
Created attachment 296123 [details]
kernel config
Comment 2 Bogdan 2021-03-28 15:59:17 UTC
My VGA adapter is:

05:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Renoir (rev c7)

Which integrated into CPU - AMD Ryzen 4600H.
Comment 3 Alex Deucher 2021-03-28 16:59:40 UTC
(In reply to Bogdan from comment #0)
> Created attachment 296121 [details]
> dmesg with amdgpu errors
> 
> I have errors in dmesg:
> 
> [   11.850726] UBSAN: shift-out-of-bounds in
> drivers/gpu/drm/amd/amdgpu/../amdkfd/kfd_device_queue_manager.c:1140:32
> [   11.850728] shift exponent 64 is too large for 64-bit type 'long long
> unsigned int'
> 


Fixed in: 
https://cgit.freedesktop.org/drm/drm/commit/?id=50e2fc36e72d4ad672032ebf646cecb48656efe0

> [   12.876987] amdgpu 0000:05:00.0: amdgpu: Unsupported power profile mode 0
> on RENOIR
> 

Harmless; fixed in:
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=e3746696e78f2185633ae9b47c40fabf88bdcf99


> [   29.314776] UBSAN: shift-out-of-bounds in
> drivers/gpu/drm/amd/amdgpu/../display/dc/dml/dcn21/display_rq_dlg_calc_21.c:
> 288:38
> [   29.314782] shift exponent 4294966273 is too large for 32-bit type 'int'


Fixed in:
https://gitlab.freedesktop.org/agd5f/linux/-/commit/f773d381629efade8247a5b25ca1d00d77bc1c1b

Note You need to log in before you can comment on or make changes to this bug.