• Home
  • Raw
  • Download

Lines Matching refs:plane

1075 				  struct vfio_device_gfx_plane_info *plane)  in mbochs_query_gfx_plane()  argument
1081 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()
1103 plane->drm_format = 0; in mbochs_query_gfx_plane()
1104 plane->width = 0; in mbochs_query_gfx_plane()
1105 plane->height = 0; in mbochs_query_gfx_plane()
1106 plane->stride = 0; in mbochs_query_gfx_plane()
1107 plane->size = 0; in mbochs_query_gfx_plane()
1108 plane->dmabuf_id = 0; in mbochs_query_gfx_plane()
1120 plane->drm_format = dmabuf->mode.drm_format; in mbochs_query_gfx_plane()
1121 plane->width = dmabuf->mode.width; in mbochs_query_gfx_plane()
1122 plane->height = dmabuf->mode.height; in mbochs_query_gfx_plane()
1123 plane->stride = dmabuf->mode.stride; in mbochs_query_gfx_plane()
1124 plane->size = dmabuf->mode.size; in mbochs_query_gfx_plane()
1125 plane->dmabuf_id = dmabuf->id; in mbochs_query_gfx_plane()
1128 if (plane->drm_plane_type == DRM_PLANE_TYPE_PRIMARY && in mbochs_query_gfx_plane()
1129 mdev_state->active_id != plane->dmabuf_id) { in mbochs_query_gfx_plane()
1131 __func__, mdev_state->active_id, plane->dmabuf_id); in mbochs_query_gfx_plane()
1132 mdev_state->active_id = plane->dmabuf_id; in mbochs_query_gfx_plane()
1241 struct vfio_device_gfx_plane_info plane; in mbochs_ioctl() local
1246 if (copy_from_user(&plane, (void __user *)arg, minsz)) in mbochs_ioctl()
1249 if (plane.argsz < minsz) in mbochs_ioctl()
1252 ret = mbochs_query_gfx_plane(mdev_state, &plane); in mbochs_ioctl()
1256 if (copy_to_user((void __user *)arg, &plane, minsz)) in mbochs_ioctl()