A commit message would be nice, apart from that the patch looks clean to me.
But question for Daniel and others: Is that in general the right approach?
It can happen that device removal is delayed indefinitely if userspace
doesn't close the file descriptors.
Regards,
Christian.
Am 09.05.20 u
Signed-off-by: Andrey Grodzovsky
---
drivers/gpu/drm/amd/amdgpu/amdgpu.h| 2 ++
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | 3 +++
drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c| 2 ++
drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c| 4
4 files changed, 11 insertions(+)
diff --git a/drive