Re: [PATCH v10] vfio: ABI for mdev display dma-buf operation

From: Gerd Hoffmann
Date: Fri Jul 14 2017 - 06:02:08 EST


> In case when VFIO region is used to provide surface to QEMU, plane_id
> would be region index,

Then we should name it "region_index" not "plane_id".

> for example region 10 could be used for primary
> surface and region 11 could be used for cursor surface. So in that
> case,
> mdev vendor driver should return plane_type and its corresponding
> plane_id.

Hmm? plane_type is the input (userspace -> kernel) parameter.