Re: [PATCH v16 5/6] vfio: ABI for mdev display dma-buf operation

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

 



  Hi,

> Should we then specify the error code for "head doesn't exist" vs
> "head
> doesn't support dmabuf", with the former taking precedence?  Perhaps
> -ENODEV vs -EINVAL.

NODEV for "head doesn't exist" and INVAL for "head doesn't support
dmabuf/region/..." ?

> Are the heads guaranteed to be contiguous (the
> first -ENODEV is the end of possible heads)?

Yes, I think the valid heads should be contignous.  The guest might
still only use a non-contignous subset of the available heads though.

cheers,
  Gerd

_______________________________________________
Intel-gfx mailing list
Intel-gfx@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/intel-gfx




[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux