diff options
author | Boris Brezillon <boris.brezillon@collabora.com> | 2021-06-21 11:47:59 +0200 |
---|---|---|
committer | Boris Brezillon <boris.brezillon@collabora.com> | 2021-06-28 10:04:30 +0200 |
commit | 31b4fbe5c9634b8693ef40abf43aab9bc1a4b074 (patch) | |
tree | 8771a297ddff4748b7cc3efb2bfade6d15ed88ac /lib/igt_panfrost.h | |
parent | 426a94c23d3dc8ae773dda3ec1d896028b8208c9 (diff) |
lib/panfrost: Add a helper to create a NULL job
Useful when we just want to make sure the scheduler has executed a
job (way simpler than creating actual jobs).
v2:
* No changes
Signed-off-by: Boris Brezillon <boris.brezillon@collabora.com>
Reviewed-by: Alyssa Rosenzweig <alyssa@collabora.com>
Diffstat (limited to 'lib/igt_panfrost.h')
-rw-r--r-- | lib/igt_panfrost.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/igt_panfrost.h b/lib/igt_panfrost.h index 3ab4baf8..3f69bcbe 100644 --- a/lib/igt_panfrost.h +++ b/lib/igt_panfrost.h @@ -52,6 +52,7 @@ igt_panfrost_job_loop_get_job_header(struct panfrost_submit *submit, unsigned job_idx); struct panfrost_submit *igt_panfrost_trivial_job(int fd, bool do_crash, int width, int height, uint32_t color); struct panfrost_submit *igt_panfrost_job_loop(int fd); +struct panfrost_submit *igt_panfrost_null_job(int fd); void igt_panfrost_free_job(int fd, struct panfrost_submit *submit); /* IOCTL wrappers */ |