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:
f53201e
)
i965_drv_video: Fixes the dimension of a surface on SandyBridge
author
Xiang, Haihao
<haihao.xiang@intel.com>
Fri, 11 Mar 2011 04:54:47 +0000
(12:54 +0800)
committer
Xiang, Haihao
<haihao.xiang@intel.com>
Fri, 11 Mar 2011 05:13:10 +0000
(13:13 +0800)
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
i965_drv_video.c
patch
|
blob
|
history
diff --git
a/i965_drv_video.c
b/i965_drv_video.c
index
6e00239
..
31f19dd
100644
(file)
--- a/
i965_drv_video.c
+++ b/
i965_drv_video.c
@@
-437,7
+437,7
@@
i965_CreateSurfaces(VADriverContextP ctx,
obj_surface->orig_width = width;
obj_surface->orig_height = height;
- if (
HAS_TILED_SURFACE(i965
)) {
+ if (
IS_GEN6(i965->intel.device_id
)) {
obj_surface->width = ALIGN(obj_surface->orig_width, 128);
obj_surface->height = ALIGN(obj_surface->orig_height, 32);
} else {