projects
/
sdk
/
emulator
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
922a4bc
)
YaGL: Fix transport separate short command skip bug
51/19751/1
author
Stanislav Vorobiov
<s.vorobiov@samsung.com>
Thu, 17 Apr 2014 08:28:36 +0000
(12:28 +0400)
committer
Stanislav Vorobiov
<s.vorobiov@samsung.com>
Thu, 17 Apr 2014 08:31:28 +0000
(12:31 +0400)
Separate short commands (1 unit long) could be skipped due
to incorrect check, this is now fixed
Change-Id: I8736abb171e35563580407a25cdffadfc589ed18
Signed-off-by: Stanislav Vorobiov <s.vorobiov@samsung.com>
hw/yagl/yagl_transport.c
patch
|
blob
|
history
diff --git
a/hw/yagl/yagl_transport.c
b/hw/yagl/yagl_transport.c
index 56da9c8b4af253d1109b59e1f59faf12fbeab5d0..00919878d9abffcad0124d968de9a4da8a1a207b 100644
(file)
--- a/
hw/yagl/yagl_transport.c
+++ b/
hw/yagl/yagl_transport.c
@@
-236,7
+236,7
@@
bool yagl_transport_begin_call(struct yagl_transport *t,
yagl_api_id *api_id,
yagl_func_id *func_id)
{
- if (t->ptr >= (t->batch_data + t->batch_size)) {
+ if (t->ptr >= (t->batch_data +
YAGL_TRANSPORT_BATCH_HEADER_SIZE +
t->batch_size)) {
return false;
}