[Bug 1952568] Re: AMD GPU kernel driver unload error

2021-12-31 Thread Masato Yoshida
** Description changed: - After updating the kernel from 5.14.0-1005 to 5.14.0-1007 on ubuntu20.04, if you unload the driver with the following command, the command will be forcibly terminated and the driver cannot be unloaded. - Can be unloaded with 5.14.0-1005 without any problem +

[Bug 1952568] Re: AMD GPU kernel driver unload error

2021-11-29 Thread Masato Yoshida
As far as the patches in other files are concerned, it should have been as follows. -- --- /usr/local/src/5.14.0.git/focal/drivers/gpu/drm/amd/amdgpu/uvd_v6_0.c 2021-11-29 22:43:48.637432730 + +++ uvd_v6_0.c 2021-11-30

[Bug 1952568] Re: AMD GPU kernel driver unload error

2021-11-29 Thread Masato Yoshida
Confirmed that unloading works fine with PPA mainline kernel 5.14.21 and 5.15.5. Confirmed that unloading works without any problem when driver / gpu / drm / amd of 5.14.0-1006 is imported to 1007. -- You received this bug notification because you are a member of Ubuntu Bugs, which is

[Bug 1952568] Re: AMD GPU kernel driver unload error

2021-11-29 Thread Masato Yoshida
The AMGPU patch captured in 5.14.0-1007 was added to uvd_v6_0_hw_fini. but in 5.16-rc3 it is the code added to uvd_v6_0_suspend, so the backport location may be wrong. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.

[Bug 1952568] Re: AMD GPU kernel driver unload error

2021-11-29 Thread Masato Yoshida
If you replace driver / gpu / drm / amd / with the source of 5.14.0-1005, it can be unloaded normally. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1952568 Title: AMD GPU kernel driver unload

[Bug 1952568] Re: AMD GPU kernel driver unload error

2021-11-28 Thread Masato Yoshida
kenrl 5.14.0-1005 # lsmod|grep amdgpu - amdgpu 7049216 4 iommu_v2 24576 1 amdgpu gpu_sched 36864 1 amdgpu drm_ttm_helper 16384 1 amdgpu ttm73728 2 amdgpu,drm_ttm_helper drm_kms_helper258048 1 amdgpu drm

[Bug 1952568] Re: AMD GPU kernel driver unload error

2021-11-28 Thread Masato Yoshida
kernel 5.14.0-1007 # lsmod|grep amdgpu - amdgpu 7049216 4 iommu_v2 24576 1 amdgpu gpu_sched 36864 1 amdgpu drm_ttm_helper 16384 1 amdgpu ttm73728 2 amdgpu,drm_ttm_helper drm_kms_helper258048 1 amdgpu drm

[Bug 1952568] Re: AMD GPU kernel driver unload error

2021-11-28 Thread Masato Yoshida
# systemctl stop display-manager.service # killall lxqt-panel # echo 0 > /sys/class/vtconsole/vtcon1/bind # modprobe -s -r amdgpu Killed syslog - tail -f /var/log/syslog Nov 29 14:06:16 yoshi-kvm01 systemd[4521]: Listening on D-Bus User Message Bus Socket. Nov 29 14:06:16 yoshi-kvm01