Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ac264c71 authored by Veera Sundaram Sankaran's avatar Veera Sundaram Sankaran
Browse files

drm/msm/sde: add few YUV formats to WB supported list



Add NV21, NV61 and UYVY formats to writeback supported list.

Change-Id: I08db1c7e4addad5ecda5a6f62301279456dbab07
Signed-off-by: default avatarVeera Sundaram Sankaran <veeras@codeaurora.org>
parent 5f0dbe99
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -129,7 +129,6 @@ static const struct sde_format_extended plane_formats_yuv[] = {
	{DRM_FORMAT_XBGR4444, 0},
	{DRM_FORMAT_RGBX4444, 0},
	{DRM_FORMAT_BGRX4444, 0},

	{DRM_FORMAT_NV12, 0},
	{DRM_FORMAT_NV12, DRM_FORMAT_MOD_QCOM_COMPRESSED},
	{DRM_FORMAT_NV21, 0},
@@ -181,6 +180,9 @@ static const struct sde_format_extended wb0_formats[] = {
	{DRM_FORMAT_YUV420, 0},
	{DRM_FORMAT_NV12, 0},
	{DRM_FORMAT_NV16, 0},
	{DRM_FORMAT_NV21, 0},
	{DRM_FORMAT_NV61, 0},
	{DRM_FORMAT_UYVY, 0},
	{DRM_FORMAT_YUYV, 0},

	{DRM_FORMAT_NV12, DRM_FORMAT_MOD_QCOM_COMPRESSED},