[PATCH 09/12] drm/amdgpu/sriov:return -ENODEV if gpu reseted

Christian König ckoenig.leichtzumerken at gmail.com
Tue Oct 10 07:57:31 UTC 2017


Am 10.10.2017 um 09:47 schrieb Michel Dänzer:
> On 10/10/17 08:58 AM, Christian König wrote:
>> As Nicolai explained that approach simply won't work.
>>
>> The fd is used by more than just the closed source Vulkan driver and I
>> think even by some components not developed by AMD (common X code?
>> Michel please comment as well).
> The only thing that comes to mind possibly matching your description is
> the generic modesetting Xorg driver, but that only calls KMS API ioctls.
> Command submission and memory management ioctls should only be called by
> hardware specific userspace code.

Yeah, that was in my mind as well.

But does that use the same fd as the GL driver used for Glamor?

If yes we can't just call close() on that fd.

Christian.



More information about the amd-gfx mailing list