On 14/08/15 13:45, Zhou, Jammy wrote:
> That's okay. Shall we get this patch merged now if no other objections?
>
First we should fix the funny vendor/device/etc id issue. Otherwise the
API is bugged badly.
-Emil
interface to get drm devices on the system v2
On 14/08/15 13:45, Zhou, Jammy wrote:
> That's okay. Shall we get this patch merged now if no other objections?
>
First we should fix the funny vendor/device/etc id issue. Otherwise the API is
bugged badly.
-Emil
On 14 August 2015 at 13:15, Zhou, Jammy wrote:
> Okay, I got it. Actually with current implementation, only the number of PCI
> devices on the system is returned for drmGetDevices(NULL, 0). I extracted
> related code below. I hope it can address your concern :-)
>
Had a blond moment and got conf
That's okay. Shall we get this patch merged now if no other objections?
Regards,
Jammy
-Original Message-
From: Emil Velikov [mailto:emil.l.veli...@gmail.com]
Sent: Friday, August 14, 2015 8:29 PM
To: Zhou, Jammy
Cc: ML dri-devel
Subject: Re: [PATCH 1/5] drm: add interface to ge
el
Subject: Re: [PATCH 1/5] drm: add interface to get drm devices on the system v2
On 14 August 2015 at 10:41, Zhou, Jammy wrote:
>> What is the point in claiming that you have X+Y devices, if the API does not
>> provide any information about Y of them ? It seems very misleading imho
On 14 August 2015 at 10:41, Zhou, Jammy wrote:
>> What is the point in claiming that you have X+Y devices, if the API does not
>> provide any information about Y of them ? It seems very misleading imho.
>
> I'm not sure if I understand your question correctly.
Easy - replace X with "pci" and Y wi
Emil Velikov wrote on 14.08.2015 10:17:
> On 14 August 2015 at 08:59, Kai Wasserbäch
> wrote:
>> Zhou, Jammy wrote on 14.08.2015 07:59:
>>> We tried several different ways already for the enumeration interface
>>> (libpciaccess, libudev, etc). But we ran into some problems with these
>>> optio
On 14 August 2015 at 09:26, Kai Wasserbäch
wrote:
> Emil Velikov wrote on 14.08.2015 10:17:
>> On 14 August 2015 at 08:59, Kai Wasserbäch
>> wrote:
>>> Zhou, Jammy wrote on 14.08.2015 07:59:
We tried several different ways already for the enumeration interface
(libpciaccess, libude
Zhou, Jammy wrote on 14.08.2015 07:59:
> We tried several different ways already for the enumeration interface
> (libpciaccess, libudev, etc). But we ran into some problems with these
> options for example when run Steam games which ships 32bit libraries
> (including libudev) in the steam runtim
o: Kai Wasserbäch
Cc: Zhou, Jammy; Daniel Vetter; ML dri-devel
Subject: Re: [PATCH 1/5] drm: add interface to get drm devices on the system v2
On 14 August 2015 at 09:26, Kai Wasserbäch
wrote:
> Emil Velikov wrote on 14.08.2015 10:17:
>> On 14 August 2015 at 08:59, Kai Wasserbäch
>
: Re: [PATCH 1/5] drm: add interface to get drm devices on the system v2
On 14 August 2015 at 06:53, Zhou, Jammy wrote:
> Hi Emil,
>
>> If there are any other devices they will still be counted when
>> drmGetDevices(NULL, 0)... Is that intentional ?
> Yes, I think so, so that
On 14 August 2015 at 06:53, Zhou, Jammy wrote:
> Hi Emil,
>
>> If there are any other devices they will still be counted when
>> drmGetDevices(NULL, 0)... Is that intentional ?
> Yes, I think so, so that this interface can support different kinds of
> devices in the future. For example, we have
On 14 August 2015 at 08:59, Kai Wasserbäch
wrote:
> Zhou, Jammy wrote on 14.08.2015 07:59:
>> We tried several different ways already for the enumeration interface
>> (libpciaccess, libudev, etc). But we ran into some problems with these
>> options for example when run Steam games which ships
to
avoid introducing some additional dependencies into libdrm.
Regards,
Jammy
-Original Message-
From: Emil Velikov [mailto:emil.l.veli...@gmail.com]
Sent: Thursday, August 13, 2015 11:27 PM
To: Daniel Vetter
Cc: Zhou, Jammy; ML dri-devel
Subject: Re: [PATCH 1/5] drm: add interface to
ri-devel
Subject: Re: [PATCH 1/5] drm: add interface to get drm devices on the system v2
On 13 August 2015 at 04:33, Jammy Zhou wrote:
> From: Emil Velikov
>
> For mutiple GPU support, the devices on the system should be
> enumerated to get necessary information about each device, and t
On Thu, Aug 13, 2015 at 11:33:41AM +0800, Jammy Zhou wrote:
> From: Emil Velikov
>
> For mutiple GPU support, the devices on the system should be enumerated
> to get necessary information about each device, and the drmGetDevices
> interface is added for this. Currently only PCI devices are suppor
On 13 August 2015 at 16:07, Daniel Vetter wrote:
> On Thu, Aug 13, 2015 at 11:33:41AM +0800, Jammy Zhou wrote:
>> From: Emil Velikov
>>
>> For mutiple GPU support, the devices on the system should be enumerated
>> to get necessary information about each device, and the drmGetDevices
>> interface
On 13 August 2015 at 04:33, Jammy Zhou wrote:
> From: Emil Velikov
>
> For mutiple GPU support, the devices on the system should be enumerated
> to get necessary information about each device, and the drmGetDevices
> interface is added for this. Currently only PCI devices are supported for
> the
From: Emil Velikov
For mutiple GPU support, the devices on the system should be enumerated
to get necessary information about each device, and the drmGetDevices
interface is added for this. Currently only PCI devices are supported for
the enumeration.
Typical usage:
int count;
drmDevicePtr *foo;
19 matches
Mail list logo