|
@@ -2662,6 +2662,8 @@ static int skl_format_to_fourcc(int format, bool rgb_order, bool alpha)
|
|
switch (format) {
|
|
switch (format) {
|
|
case PLANE_CTL_FORMAT_RGB_565:
|
|
case PLANE_CTL_FORMAT_RGB_565:
|
|
return DRM_FORMAT_RGB565;
|
|
return DRM_FORMAT_RGB565;
|
|
|
|
+ case PLANE_CTL_FORMAT_NV12:
|
|
|
|
+ return DRM_FORMAT_NV12;
|
|
default:
|
|
default:
|
|
case PLANE_CTL_FORMAT_XRGB_8888:
|
|
case PLANE_CTL_FORMAT_XRGB_8888:
|
|
if (rgb_order) {
|
|
if (rgb_order) {
|