Re: [PATCH] Add device enumeration interface (v3)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Frank,

On 1 June 2015 at 04:06, Min, Frank <Frank.Min@xxxxxxx> 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
>         Else If(devSet != NULL && vendorId != 0)
>                 Probe the specific vender graphic device and return it in the array devSet
>         Else If(devSet ==NULL && vendorId != 0)
>                 Probe the specific vendorId graphic device and return the number of it
>         Else
>                 Should not happen
> }
>
I believe that you misread my original question - I requested
pseudo-code of the API should be used.

Thanks
Emil
_______________________________________________
dri-devel mailing list
dri-devel@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/dri-devel





[Index of Archives]     [Linux DRI Users]     [Linux Intel Graphics]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux