Home | History | Annotate | Download | only in modetest

Lines Matching refs:PLANE

92 struct plane {
93 drmModePlane *plane;
106 struct plane *planes;
522 struct plane *plane = &dev->resources->planes[i];
523 drmModePlane *ovr = plane->plane;
540 if (plane->props) {
542 for (j = 0; j < plane->props->count_props; j++)
543 dump_prop(dev, plane->props_info[j],
544 plane->props->props[j],
545 plane->props->prop_values[j]);
598 free_properties(res, plane_res, plane);
600 free_resource(res, plane_res, plane, Plane);
706 get_resource(res, plane_res, plane, Plane);
707 get_properties(res, plane_res, plane, PLANE);
801 uint32_t plane_id; /* the id of plane to use */
974 find_object(dev->resources, plane_res, plane, PLANE);
1064 /* Find an unused plane which can be connected to our CRTC. Find the
1083 ovr = dev->resources->planes[i].plane;
1101 fprintf(stderr, "no unused plane available for CRTC %u\n",
1106 fprintf(stderr, "testing %dx%d@%s overlay plane %u\n",
1116 /* just use single plane format for now.. */
1138 fprintf(stderr, "failed to enable plane: %s\n",
1464 static int parse_plane(struct plane_arg *plane, const char *p)
1468 plane->plane_id = strtoul(p, &end, 10);
1473 plane->crtc_id = strtoul(p, &end, 10);
1478 plane->w = strtoul(p, &end, 10);
1483 plane->h = strtoul(p, &end, 10);
1486 plane->x = strtol(end, &end, 10);
1489 plane->y = strtol(end, &end, 10);
1491 plane->has_position = true;
1496 plane->scale = strtod(p, &end);
1497 if (plane->scale <= 0.0)
1500 plane->scale = 1.0;
1508 strcpy(plane->format_str, p);
1510 strcpy(plane->format_str, "XR24");
1513 plane->fourcc = util_format_fourcc(plane->format_str);
1514 if (plane->fourcc == 0) {
1515 fprintf(stderr, "unknown format %s\n", plane->format_str);
1544 fprintf(stderr, "\t-P <plane_id>@<crtc_id>:<w>x<h>[+<x>+<y>][*<scale>][@<format>]\tset a plane\n");