[PATCH] Add device enumeration interface (v3)

2015-06-04 Thread Zhou, Jammy
Jammy Cc: Alex Deucher; Deucher, Alexander; Min, Frank; dri-devel at lists.freedesktop.org Subject: Re: [PATCH] Add device enumeration interface (v3) Hello Jammy, On 1 June 2015 at 03:12, Zhou, Jammy wrote: >> Jammy or Frank might be able to provide some pseudo code in the interim. >

[PATCH] Add device enumeration interface (v3)

2015-06-03 Thread Emil Velikov
Hello Jammy, On 1 June 2015 at 03:12, Zhou, Jammy wrote: >> Jammy or Frank might be able to provide some pseudo code in the interim. > > I think the requirement here is quite simple. We would like to have some > interface to enumerate the GPU devices on the system, and select some > specific de

[PATCH] Add device enumeration interface (v3)

2015-06-03 Thread Emil Velikov
Hi Frank, On 1 June 2015 at 04:06, Min, Frank wrote: > Hi Emil, > Here is the pseudo code: > > int drmGetPciDevices(drmPciDevicePtr devSet, uint16_t vendorId) > { > If(devSet == NULL && vendorId == 0) > Probe all the graphic device and return the number of it > Els

[PATCH] Add device enumeration interface (v3)

2015-06-01 Thread Min, Frank
iginal Message- From: Zhou, Jammy Sent: Monday, June 01, 2015 10:12 AM To: Alex Deucher; Emil Velikov Cc: Deucher, Alexander; Min, Frank; dri-devel at lists.freedesktop.org Subject: RE: [PATCH] Add device enumeration interface (v3) > Jammy or Frank might be able to provide some pseudo code i

[PATCH] Add device enumeration interface (v3)

2015-06-01 Thread Zhou, Jammy
her, Alexander; Min, Frank; dri-devel at lists.freedesktop.org Subject: Re: [PATCH] Add device enumeration interface (v3) On Thu, May 28, 2015 at 10:22 AM, Emil Velikov wrote: > Hi Alex, > > On 28 May 2015 at 14:16, Alex Deucher wrote: >> On Thu, May 28, 2015 at 8:44 AM, Emil Velikov

[PATCH] Add device enumeration interface (v3)

2015-05-29 Thread Alex Deucher
On Thu, May 28, 2015 at 10:22 AM, Emil Velikov wrote: > Hi Alex, > > On 28 May 2015 at 14:16, Alex Deucher wrote: >> On Thu, May 28, 2015 at 8:44 AM, Emil Velikov >> wrote: >>> On 25 May 2015 at 12:18, Zhou, Jammy wrote: Hi Emil, Do you have chance to have a look at this new ve

[PATCH] Add device enumeration interface (v3)

2015-05-28 Thread Emil Velikov
Hi Alex, On 28 May 2015 at 14:16, Alex Deucher wrote: > On Thu, May 28, 2015 at 8:44 AM, Emil Velikov > wrote: >> On 25 May 2015 at 12:18, Zhou, Jammy wrote: >>> Hi Emil, >>> >>> Do you have chance to have a look at this new version? Thanks! >>> >> Hi guys sorry for the delay. >> >> Looking at

[PATCH] Add device enumeration interface (v3)

2015-05-28 Thread Emil Velikov
On 25 May 2015 at 12:18, Zhou, Jammy wrote: > Hi Emil, > > Do you have chance to have a look at this new version? Thanks! > Hi guys sorry for the delay. Looking at my original email response it seems that I wasn't clear enough about my concerns. They can be looked at as independent and/or grouped

[PATCH] Add device enumeration interface (v3)

2015-05-28 Thread Alex Deucher
On Thu, May 28, 2015 at 8:44 AM, Emil Velikov wrote: > On 25 May 2015 at 12:18, Zhou, Jammy wrote: >> Hi Emil, >> >> Do you have chance to have a look at this new version? Thanks! >> > Hi guys sorry for the delay. > > Looking at my original email response it seems that I wasn't clear > enough ab

[PATCH] Add device enumeration interface (v3)

2015-05-25 Thread Zhou, Jammy
; emil.l.velikov at gmail.com Cc: Min, Frank Subject: [PATCH] Add device enumeration interface (v3) From: frank v3: switch to udev/sysfs for the enumeration Signed-off-by: Frank Min Reviewed-by: Christian König Reviewed-by: Alex Deucher Reviewed-by: Jammy Zhou --- Makefile.am | 7 +++-- xf86drm.c

[PATCH] Add device enumeration interface (v3)

2015-05-19 Thread Jammy Zhou
From: frank v3: switch to udev/sysfs for the enumeration Signed-off-by: Frank Min Reviewed-by: Christian König Reviewed-by: Alex Deucher Reviewed-by: Jammy Zhou --- Makefile.am | 7 +++-- xf86drm.c | 103 xf86drm.h | 19 ++