diff options
author | Tobias Jakobi | 2015-11-29 21:12:15 -0600 |
---|---|---|
committer | Emil Velikov | 2015-12-18 11:42:54 -0600 |
commit | 60df3581961ef7f1003459f696e5954b5df30aeb (patch) | |
tree | 50179500d1d4e3a0eea869c640c108e06a248db1 /exynos/exynos_fimg2d.h | |
parent | 2e4b9f08c74fa591a0fd1655c0caa5f41eb9a5b6 (diff) | |
download | external-libdrm-60df3581961ef7f1003459f696e5954b5df30aeb.tar.gz external-libdrm-60df3581961ef7f1003459f696e5954b5df30aeb.tar.xz external-libdrm-60df3581961ef7f1003459f696e5954b5df30aeb.zip |
exynos/fimg2d: add g2d_config_event
This enables us to pass command buffers to the kernel which
trigger an event on the DRM fd upon completion.
The final goal is to enable asynchronous operation of the
G2D engine, similar to async page flips.
Passing the event userdata pointer through the G2D context
was chosen to not change the current API (e.g. by adding
a userdata argument to each public functions).
Signed-off-by: Tobias Jakobi <tjakobi@math.uni-bielefeld.de>
Diffstat (limited to 'exynos/exynos_fimg2d.h')
-rw-r--r-- | exynos/exynos_fimg2d.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/exynos/exynos_fimg2d.h b/exynos/exynos_fimg2d.h index 4aa15683..a2c22da7 100644 --- a/exynos/exynos_fimg2d.h +++ b/exynos/exynos_fimg2d.h | |||
@@ -290,6 +290,7 @@ struct g2d_context; | |||
290 | 290 | ||
291 | struct g2d_context *g2d_init(int fd); | 291 | struct g2d_context *g2d_init(int fd); |
292 | void g2d_fini(struct g2d_context *ctx); | 292 | void g2d_fini(struct g2d_context *ctx); |
293 | void g2d_config_event(struct g2d_context *ctx, void *userdata); | ||
293 | int g2d_exec(struct g2d_context *ctx); | 294 | int g2d_exec(struct g2d_context *ctx); |
294 | int g2d_solid_fill(struct g2d_context *ctx, struct g2d_image *img, | 295 | int g2d_solid_fill(struct g2d_context *ctx, struct g2d_image *img, |
295 | unsigned int x, unsigned int y, unsigned int w, | 296 | unsigned int x, unsigned int y, unsigned int w, |