[Bug 214901] amdgpu freezes HP laptop at start up
bugzilla-daemon at bugzilla.kernel.org
bugzilla-daemon at bugzilla.kernel.org
Mon Nov 1 09:33:56 UTC 2021
https://bugzilla.kernel.org/show_bug.cgi?id=214901
--- Comment #3 from spasswolf at web.de ---
Actually the above message is not complete:
Nov 1 00:22:49 bart kernel: [ 2.136382] kfd kfd: amdgpu: Allocated 3969056
bytes on gart
Nov 1 00:22:49 bart kernel: [ 2.136462] kfd kfd: amdgpu: error getting
iommu info. is the iommu enabled?
Nov 1 00:22:49 bart kernel: [ 2.136470] kfd kfd: amdgpu: Error initializing
iommuv2
Nov 1 00:22:49 bart kernel: [ 2.137386] kfd kfd: amdgpu: device 1002:9874
NOT added due to errors
Nov 1 00:22:49 bart kernel: [ 2.137393] kfd kfd: amdgpu: Failed to resume
IOMMU for device 1002:9874
Nov 1 00:22:49 bart kernel: [ 2.137397] amdgpu 0000:00:01.0: amdgpu:
amdgpu_device_ip_init failed
Nov 1 00:22:49 bart kernel: [ 2.137402] amdgpu 0000:00:01.0: amdgpu: Fatal
error during GPU init
Nov 1 00:22:49 bart kernel: [ 2.137406] amdgpu 0000:00:01.0: amdgpu:
amdgpu: finishing device.
Nov 1 00:22:49 bart kernel: [ 2.139639] BUG: kernel NULL pointer
dereference, address: 00000000000001db
The messages from kfd have been there with older kernels, too, but were not
fatal. They are caused by the HP Laptop 15-bw0xx/8332, not having a iommu or
its BIOS not properly initializing it.
But linux-5.15 has added the following lines to the amdgpu_device_ip_init:
r = amdgpu_amdkfd_resume_iommu(adev);
if (r)
goto init_failed;
which make causes the amdgpu_device_ip_init function to fail when kfd init
fails. As a workaround one could remove these.
A BIOS update could perhaps also solve the problem but seems to require a
Windows running on the Laptop (which was actually sold without Windows)
--
You may reply to this email to add a comment.
You are receiving this mail because:
You are watching the assignee of the bug.
More information about the dri-devel
mailing list