Searched refs:plane (Results 1 – 2 of 2) sorted by relevance
475 struct vfio_device_gfx_plane_info *plane) in mdpy_query_gfx_plane() argument477 if (plane->flags & VFIO_GFX_PLANE_TYPE_PROBE) { in mdpy_query_gfx_plane()478 if (plane->flags == (VFIO_GFX_PLANE_TYPE_PROBE | in mdpy_query_gfx_plane()484 if (plane->flags != VFIO_GFX_PLANE_TYPE_REGION) in mdpy_query_gfx_plane()487 plane->drm_format = mdev_state->type->format; in mdpy_query_gfx_plane()488 plane->width = mdev_state->type->width; in mdpy_query_gfx_plane()489 plane->height = mdev_state->type->height; in mdpy_query_gfx_plane()490 plane->stride = (mdev_state->type->width * in mdpy_query_gfx_plane()492 plane->size = mdev_state->memsize; in mdpy_query_gfx_plane()493 plane->region_index = MDPY_DISPLAY_REGION; in mdpy_query_gfx_plane()[all …]
1075 struct vfio_device_gfx_plane_info *plane) in mbochs_query_gfx_plane() argument1081 if (plane->flags & VFIO_GFX_PLANE_TYPE_PROBE) { in mbochs_query_gfx_plane()1082 if (plane->flags == (VFIO_GFX_PLANE_TYPE_PROBE | in mbochs_query_gfx_plane()1088 if (plane->flags != VFIO_GFX_PLANE_TYPE_DMABUF) in mbochs_query_gfx_plane()1091 plane->drm_format_mod = 0; in mbochs_query_gfx_plane()1092 plane->x_pos = 0; in mbochs_query_gfx_plane()1093 plane->y_pos = 0; in mbochs_query_gfx_plane()1094 plane->x_hot = 0; in mbochs_query_gfx_plane()1095 plane->y_hot = 0; in mbochs_query_gfx_plane()1100 if (plane->drm_plane_type == DRM_PLANE_TYPE_PRIMARY) in mbochs_query_gfx_plane()[all …]