Remove software flex pixel formats
am: 24db414ebf
Change-Id: Ied1fae8532d3d545bb2a2424cbd148ca5764cf5b
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;
}