exynos4: gralloc: fix fimc1/ion logic

Change-Id: I0d125275e4d9ec3b6368572b9c0aa1033969c98d
tirimbino
codeworkx 12 years ago
parent 3e73708c2e
commit 6aab55a059
  1. 2
      exynos4/hal/libgralloc_ump/alloc_device.cpp

@ -404,7 +404,7 @@ static int alloc_device_alloc(alloc_device_t* dev, int w, int h, int format,
#ifdef INSIGNAL_FIMC1 #ifdef INSIGNAL_FIMC1
if (usage & GRALLOC_USAGE_HW_FIMC1) { if (usage & GRALLOC_USAGE_HW_FIMC1) {
#else #else
if (usage & (GRALLOC_USAGE_HW_ION || GRALLOC_USAGE_HW_FIMC1)) { if (usage & GRALLOC_USAGE_HW_ION || usage & GRALLOC_USAGE_HW_FIMC1) {
#endif #endif
size += PAGE_SIZE * 2; size += PAGE_SIZE * 2;
} }

Loading…
Cancel
Save