summaryrefslogtreecommitdiff
path: root/sdm/libs/core
diff options
context:
space:
mode:
Diffstat (limited to 'sdm/libs/core')
-rw-r--r--sdm/libs/core/fb/hw_device.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/sdm/libs/core/fb/hw_device.cpp b/sdm/libs/core/fb/hw_device.cpp
index 10ff6fbd..51f543cd 100644
--- a/sdm/libs/core/fb/hw_device.cpp
+++ b/sdm/libs/core/fb/hw_device.cpp
@@ -639,7 +639,6 @@ DisplayError HWDevice::SetStride(HWDeviceType device_type, LayerBufferFormat for
case kFormatYCrCb420PlanarStride16:
case kFormatYCbCr420SemiPlanar:
case kFormatYCrCb420SemiPlanar:
- case kFormatYCbCr420P010:
case kFormatYCbCr420TP10Ubwc:
*target = width;
break;
@@ -649,6 +648,7 @@ DisplayError HWDevice::SetStride(HWDeviceType device_type, LayerBufferFormat for
case kFormatYCrCb422H1V2SemiPlanar:
case kFormatYCbCr422H2V1SemiPlanar:
case kFormatYCbCr422H1V2SemiPlanar:
+ case kFormatYCbCr420P010:
case kFormatRGBA5551:
case kFormatRGBA4444:
*target = width * 2;