Remove software flex pixel formats
am: 7bdadae7f0
Change-Id: I32f41c28a7559a708012d36f8df12e3d9856424b
diff --git a/gralloc960/mali_gralloc_formats.cpp b/gralloc960/mali_gralloc_formats.cpp
index 090e338..67127fd 100644
--- a/gralloc960/mali_gralloc_formats.cpp
+++ b/gralloc960/mali_gralloc_formats.cpp
@@ -99,20 +99,6 @@
*/
*producer_runtime_mask &= ~MALI_GRALLOC_FORMAT_CAPABILITY_AFBCENABLE_MASK;
}
- else if(req_format == HAL_PIXEL_FORMAT_YCbCr_422_888)
- {
- /* To be determined */
-
- /* Disable AFBC until we know though */
- *producer_runtime_mask &= ~MALI_GRALLOC_FORMAT_CAPABILITY_AFBCENABLE_MASK;
- }
- else if(req_format == HAL_PIXEL_FORMAT_YCbCr_444_888)
- {
- /* To be determined */
-
- /* Disable AFBC until we know though */
- *producer_runtime_mask &= ~MALI_GRALLOC_FORMAT_CAPABILITY_AFBCENABLE_MASK;
- }
return req_format;
}