https://bugs.freedesktop.org/show_bug.cgi?id=107940
--- Comment #7 from Christian König ckoenig.leichtzumerken@gmail.com --- (In reply to Michel Dänzer from comment #6)
Christian, any idea how the commit below could cause this?
-EBADF means the file descriptor number is already closed.
So maybe the application is trying to open/close the device multiple times and we have a bug in amdgpu_device_free_internal?
Christian.