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 _______________________________________________ amd-gfx mailing list amd-gfx@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/amd-gfx