[lkml]   [2017]   [Jul]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH v10] vfio: ABI for mdev display dma-buf operation

On 7/14/2017 5:35 PM, Gerd Hoffmann wrote:
> Hi,
>> There could be only two planes, one DRM_PLANE_TYPE_PRIMARY and one
>> Steps from gfx_update for region case would be:
>> - VFIO_DEVICE_QUERY_GFX_PLANE with plane_type =
>> - if vfio_device_gfx_plane_info.size > 0, read region for primary
>> surface and update console surface
> Why? I suspect you want notify the caller whenever the surface has
> been updated or not? If so we should add an explicit flag or field for
> that.

No need of flag here. If vGPU driver is not loaded in the guest, there
is no surface being managed by vGPU, in that case this size will be zero.


 \ /
  Last update: 2017-07-14 14:16    [W:0.065 / U:1.572 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site