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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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


[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux