Hi Frank, On 1 June 2015 at 04:06, Min, Frank <Frank.Min at amd.com> 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