Merge tag 'drm-misc-next-fixes-2021-09-09' of git://anongit.freedesktop.org/drm/drm...
[linux-2.6-microblaze.git] / drivers / gpu / host1x / job.h
index 94bc2e4..b4428c5 100644 (file)
@@ -18,6 +18,22 @@ struct host1x_job_gather {
        bool handled;
 };
 
+struct host1x_job_wait {
+       u32 id;
+       u32 threshold;
+       u32 next_class;
+       bool relative;
+};
+
+struct host1x_job_cmd {
+       bool is_wait;
+
+       union {
+               struct host1x_job_gather gather;
+               struct host1x_job_wait wait;
+       };
+};
+
 struct host1x_job_unpin_data {
        struct host1x_bo *bo;
        struct sg_table *sgt;