diff --git a/cros_gralloc/cros_gralloc_driver.cc b/cros_gralloc/cros_gralloc_driver.cc index 00747e85..d1e473fc 100644 --- a/cros_gralloc/cros_gralloc_driver.cc +++ b/cros_gralloc/cros_gralloc_driver.cc @@ -530,6 +530,8 @@ int32_t cros_gralloc_driver::allocate(const struct cros_gralloc_buffer_descripto if (resolved_format == DRM_FORMAT_NV12) resolved_use_flags |= BO_USE_LINEAR; + if (is_video_format(descriptor)) + resolved_use_flags &= ~BO_USE_SW_READ_OFTEN; /* * This unmask is a backup in the case DRM_FORMAT_FLEX_IMPLEMENTATION_DEFINED is resolved * to non-YUV formats.