Commit 5dbdd349 authored by Michael Olbrich's avatar Michael Olbrich Committed by Commit Bot

[ozone/common] DRM_FORMAT_UYVY is no longer a valid format

crrev.com/c/1732747 removed the support for UYVY but the list of valid
buffer formats was not updated.
As a result GetBufferFormatFromFourCCFormat() hits NOTREACHED() for
DRM_FORMAT_UYVY.
Remove DRM_FORMAT_UYVY from the list of valid buffer formats to fix this.

Change-Id: Ic9687bbe399e957db81f7ae4e39e63f7b12ab69e
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1824262Reviewed-by: default avatarMaksim Sisov <msisov@igalia.com>
Commit-Queue: Maksim Sisov <msisov@igalia.com>
Cr-Commit-Position: refs/heads/master@{#703632}
parent 02d85120
......@@ -98,7 +98,6 @@ bool IsValidBufferFormat(uint32_t current_format) {
case DRM_FORMAT_XRGB2101010:
case DRM_FORMAT_XBGR2101010:
case DRM_FORMAT_RGB565:
case DRM_FORMAT_UYVY:
case DRM_FORMAT_NV12:
case DRM_FORMAT_YVU420:
case DRM_FORMAT_P010:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment