cros_gralloc: restrict DRM_FORMAT_MTISP_SXYZW10 to non-scanout
BUG=b:271382698 TEST=cts Change-Id: Ia81decf01c3254bc61887e2070d9307d6f1f82c6 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/minigbm/+/4317163 Auto-Submit: Yiwei Zhang <zzyiwei@chromium.org> Reviewed-by: Dawn Han <dawnhan@google.com> Reviewed-by: Lina Versace <chadversary@chromium.org> Tested-by: Yiwei Zhang <zzyiwei@chromium.org>
This commit is contained in:
parent
fa8ea877d3
commit
7997ad203b
1 changed files with 1 additions and 0 deletions
|
|
@ -177,6 +177,7 @@ bool cros_gralloc_driver::get_resolved_format_and_use_flags(
|
|||
struct combination *combo;
|
||||
|
||||
if (mt8183_camera_quirk_ && (descriptor->use_flags & BO_USE_CAMERA_READ) &&
|
||||
!(descriptor->use_flags & BO_USE_SCANOUT) &&
|
||||
descriptor->drm_format == DRM_FORMAT_FLEX_IMPLEMENTATION_DEFINED) {
|
||||
*out_use_flags = descriptor->use_flags;
|
||||
*out_format = DRM_FORMAT_MTISP_SXYZW10;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue