Remove software flex pixel formats
gralloc is not expected to see them (yet).
Bug: 70526789
Test: none
Merged-In: If5b0635e54f380950abcbe6f814932992ae49bec
Change-Id: If5b0635e54f380950abcbe6f814932992ae49bec
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;
}