[PATCH 09/12] drm/amdgpu/sriov:return -ENODEV if gpu reseted
Michel Dänzer
michel at daenzer.net
Tue Oct 10 08:17:08 UTC 2017
On 10/10/17 09:57 AM, Christian König wrote:
> 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?
Yes, it does.
> If yes we can't just call close() on that fd.
True, that's a good point.
--
Earthling Michel Dänzer | http://www.amd.com
Libre software enthusiast | Mesa and X developer
More information about the amd-gfx
mailing list