projects
/
profile
/
ivi
/
vaapi-intel-driver.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4c4a8bb
)
Fix vaGetImage() to wait for pending operations to complete.
author
Gwenole Beauchesne
<gbeauchesne@splitted-desktop.com>
Mon, 12 Jul 2010 21:57:23 +0000
(23:57 +0200)
committer
Xiang, Haihao
<haihao.xiang@intel.com>
Tue, 13 Jul 2010 00:50:40 +0000
(08:50 +0800)
i965_drv_video.c
patch
|
blob
|
history
diff --git
a/i965_drv_video.c
b/i965_drv_video.c
index
7ca3858
..
63cd917
100644
(file)
--- a/
i965_drv_video.c
+++ b/
i965_drv_video.c
@@
-1602,6
+1602,9
@@
i965_GetImage(VADriverContextP ctx,
y + height > obj_image->image.height)
return VA_STATUS_ERROR_INVALID_PARAMETER;
+ /* Commit pending operations to the HW */
+ intel_batchbuffer_flush(ctx);
+
VAStatus va_status;
void *image_data = NULL;