[PATCH 1/2] Add device enumeration interface (v2)

2015-05-04 Thread Zhou, Jammy
Message- From: Emil Velikov [mailto:emil.l.veli...@gmail.com] Sent: Wednesday, April 29, 2015 12:18 AM To: Zhou, Jammy Cc: dri-devel at lists.freedesktop.org; Min, Frank Subject: Re: [PATCH 1/2] Add device enumeration interface (v2) On 28 April 2015 at 04:26, Zhou, Jammy wrote: > Hi Emil, &

[PATCH 1/2] Add device enumeration interface (v2)

2015-04-28 Thread Emil Velikov
On 28 April 2015 at 04:26, Zhou, Jammy wrote: > Hi Emil, > > This interface is intended for multiple GPU support. For example, we need to > know how many GPU devices are available on the system (and for some specific > vendor) in the client drivers, and then we can select proper devices for > r

[PATCH 1/2] Add device enumeration interface (v2)

2015-04-28 Thread Zhou, Jammy
evel at lists.freedesktop.org Cc: emil.l.velikov at gmail.com; Min, Frank Subject: Re: [PATCH 1/2] Add device enumeration interface (v2) Hi Jammy, Frank As far as I can see you're trying to get a different version of drmGetBusid(). With the DRM_IOCTL_{G,S}ET_UNIQUE ioctl being lovely as it

[PATCH 1/2] Add device enumeration interface (v2)

2015-04-27 Thread Emil Velikov
Hi Jammy, Frank As far as I can see you're trying to get a different version of drmGetBusid(). With the DRM_IOCTL_{G,S}ET_UNIQUE ioctl being lovely as it is I do see your point, but I'm not sure that the current design will be too useful. Do we have any upcoming users for this new function, can y

[PATCH 1/2] Add device enumeration interface (v2)

2015-04-24 Thread Jammy Zhou
drmGetDevices interface is added to enumernate GPU devices on the system v2: rebase the code and some improvement for the coding style Signed-off-by: Frank Min Signed-off-by: Jammy Zhou (v2) --- Makefile.am | 3 ++- xf86drm.c | 48 xf86drm.h