Home | History | Annotate | Download | only in libdrm

Lines Matching full:ovr

995 	struct drm_mode_get_plane ovr, counts;
999 memclear(ovr);
1000 ovr.plane_id = plane_id;
1001 if (drmIoctl(fd, DRM_IOCTL_MODE_GETPLANE, &ovr))
1004 counts = ovr;
1006 if (ovr.count_format_types) {
1007 ovr.format_type_ptr = VOID2U64(drmMalloc(ovr.count_format_types *
1009 if (!ovr.format_type_ptr)
1013 if (drmIoctl(fd, DRM_IOCTL_MODE_GETPLANE, &ovr))
1016 if (counts.count_format_types < ovr.count_format_types) {
1017 drmFree(U642VOID(ovr.format_type_ptr));
1024 r->count_formats = ovr.count_format_types;
1025 r->plane_id = ovr.plane_id;
1026 r->crtc_id = ovr.crtc_id;
1027 r->fb_id = ovr.fb_id;
1028 r->possible_crtcs = ovr.possible_crtcs;
1029 r->gamma_size = ovr.gamma_size;
1030 r->formats = drmAllocCpy(U642VOID(ovr.format_type_ptr),
1031 ovr.count_format_types, sizeof(uint32_t));
1032 if (ovr.count_format_types && !r->formats) {
1039 drmFree(U642VOID(ovr.format_type_ptr));