projects
/
platform
/
upstream
/
libdrm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cec65e2
)
exynos/fimg2d: fix empty buffer handling in g2d_flush()
author
Tobias Jakobi
<tjakobi@math.uni-bielefeld.de>
Tue, 8 Sep 2015 15:22:26 +0000
(17:22 +0200)
committer
Emil Velikov
<emil.l.velikov@gmail.com>
Mon, 21 Sep 2015 16:43:14 +0000
(17:43 +0100)
Empty command buffers are no error, we just don't have
anything to do for flushing then.
Signed-off-by: Tobias Jakobi <tjakobi@math.uni-bielefeld.de>
Reviewed-by: Emil Velikov <emil.l.velikov@gmail.com>
exynos/exynos_fimg2d.c
patch
|
blob
|
history
diff --git
a/exynos/exynos_fimg2d.c
b/exynos/exynos_fimg2d.c
index 24a06d0feeb7df063da87e3ea5045d909eb26691..4a88e0c00775dc0e3246f704475e83a9deecd3b7 100644
(file)
--- a/
exynos/exynos_fimg2d.c
+++ b/
exynos/exynos_fimg2d.c
@@
-191,7
+191,7
@@
static int g2d_flush(struct g2d_context *ctx)
struct drm_exynos_g2d_set_cmdlist cmdlist = {0};
if (ctx->cmd_nr == 0 && ctx->cmd_buf_nr == 0)
- return
-1
;
+ return
0
;
if (ctx->cmdlist_nr >= G2D_MAX_CMD_LIST_NR) {
fprintf(stderr, "Overflow cmdlist.\n");