Lines Matching refs:submit
60 static void check_error(int fd, struct panfrost_submit *submit) in check_error() argument
64 header = submit->submit_bo->map; in check_error()
95 struct panfrost_submit *submit; variable
97 submit = igt_panfrost_trivial_job(fd, false, WIDTH, HEIGHT,
100 igt_panfrost_bo_mmap(fd, submit->fbo);
101 do_ioctl(fd, DRM_IOCTL_PANFROST_SUBMIT, submit->args);
102 igt_assert(syncobj_wait(fd, &submit->args->out_sync, 1,
104 check_error(fd, submit);
105 check_fb(fd, submit->fbo);
106 igt_panfrost_free_job(fd, submit);
110 struct drm_panfrost_submit submit = {.jc = 0,}; variable
111 do_ioctl_err(fd, DRM_IOCTL_PANFROST_SUBMIT, &submit, EINVAL);
115 struct panfrost_submit *submit; variable
117 submit = igt_panfrost_trivial_job(fd, false, WIDTH, HEIGHT,
119 submit->args->in_syncs = 0ULL;
120 submit->args->in_sync_count = 1;
122 do_ioctl_err(fd, DRM_IOCTL_PANFROST_SUBMIT, submit->args, EFAULT);
126 struct panfrost_submit *submit; variable
128 submit = igt_panfrost_trivial_job(fd, false, WIDTH, HEIGHT,
130 submit->args->bo_handles = 0ULL;
131 submit->args->bo_handle_count = 1;
133 do_ioctl_err(fd, DRM_IOCTL_PANFROST_SUBMIT, submit->args, EFAULT);
137 struct panfrost_submit *submit; variable
139 submit = igt_panfrost_trivial_job(fd, false, WIDTH, HEIGHT,
141 submit->args->requirements = 2;
143 do_ioctl_err(fd, DRM_IOCTL_PANFROST_SUBMIT, submit->args, EINVAL);
147 struct panfrost_submit *submit; variable
149 submit = igt_panfrost_trivial_job(fd, false, WIDTH, HEIGHT,
151 submit->args->out_sync = -1;
153 do_ioctl_err(fd, DRM_IOCTL_PANFROST_SUBMIT, submit->args, ENODEV);
157 struct panfrost_submit *submit; variable
159 submit = igt_panfrost_trivial_job(fd, true, WIDTH, HEIGHT,
161 do_ioctl(fd, DRM_IOCTL_PANFROST_SUBMIT, submit->args);
163 igt_assert(!syncobj_wait(fd, &submit->args->out_sync, 1,
165 igt_panfrost_free_job(fd, submit);
167 submit = igt_panfrost_trivial_job(fd, false, WIDTH, HEIGHT,
169 igt_panfrost_bo_mmap(fd, submit->fbo);
170 do_ioctl(fd, DRM_IOCTL_PANFROST_SUBMIT, submit->args);
172 igt_assert(syncobj_wait(fd, &submit->args->out_sync, 1,
174 check_fb(fd, submit->fbo);
175 igt_panfrost_free_job(fd, submit);