Hi all, I just talked with Thomas that these two patches are preventing amdgpu driver to be unloaded:
`modprobe: FATAL: Module amdgpu is in use.` and there is no process using the driver. We agreed that the best approach now is to completely revert the work done for improving DMA bug handling to avoid any loose ends. With these reverts we are just back to the old behavior and amdgpu loading and unloading will return to normal. Best Regards, Melissa Melissa Wen (2): Revert "drm/framebuffer: Acquire internal references on GEM handles" Revert "drm/gem: Acquire references on GEM handles for framebuffers" drivers/gpu/drm/drm_framebuffer.c | 31 +-------------- drivers/gpu/drm/drm_gem.c | 64 +++++-------------------------- drivers/gpu/drm/drm_internal.h | 2 - include/drm/drm_framebuffer.h | 7 ---- 4 files changed, 11 insertions(+), 93 deletions(-) -- 2.47.2
