[PATCH] Add device enumeration interface (v3)

Zhou, Jammy Jammy.Zhou at amd.com
Wed Jun 3 19:53:32 PDT 2015


> Does the above cover all the things that you have planned for the interface to provide ?
Yes, exactly. That can cover what we need. Thanks.

Regards,
Jammy

-----Original Message-----
From: Emil Velikov [mailto:emil.l.velikov at gmail.com] 
Sent: Thursday, June 04, 2015 12:04 AM
To: Zhou, 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 <Jammy.Zhou at amd.com> 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 device for different purposes (i.e, rendering, computing, displaying, etc). Current libdrm interfaces are just for single device, and there is no good consideration for multiple GPUs yet.
>
I believe I've read the same quote earlier, although still explains the goal, rather than the requirements :'-( Can you elaborate on what exactly the interface should provide - I can think of the following:
 - Number of devices.
 - ^^ + masked by vendor id/module name. This one seem like an overkill imho..
 - Flags indicating if the device has primary/control/render node.
 - Location (bus info) for the device(s)
 - PCI/platform device information.

Does the above cover all the things that you have planned for the interface to provide ?

Thanks
Emil


More information about the dri-devel mailing list