OSDN Git Service
(root)
/
android-x86
/
external-minigbm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
minigbm: Make sure no mappings remain when closing a GEM handle
[android-x86/external-minigbm.git]
/
helpers.c
diff --git
a/helpers.c
b/helpers.c
index
c6e3527
..
238563d
100644
(file)
--- a/
helpers.c
+++ b/
helpers.c
@@
-147,7
+147,7
@@
int drv_bo_from_format(struct bo *bo, uint32_t stride, uint32_t aligned_height,
* - the chroma stride is 16 bytes aligned, i.e., the luma's strides
* is 32 bytes aligned.
*/
* - the chroma stride is 16 bytes aligned, i.e., the luma's strides
* is 32 bytes aligned.
*/
- if (
bo->
format == DRM_FORMAT_YVU420_ANDROID) {
+ if (format == DRM_FORMAT_YVU420_ANDROID) {
assert(aligned_height == bo->height);
assert(stride == ALIGN(stride, 32));
}
assert(aligned_height == bo->height);
assert(stride == ALIGN(stride, 32));
}