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

Commit b5ee9fb6 authored by Lei Chen's avatar Lei Chen Committed by Gerrit - the friendly Code Review server
Browse files

drm/msm: add mode definition of RGB and YUV into DRM_MODE_FLAG_ALL



Currently drm code will check current mode whether included in
DRM_MODE_FLAG_ALL before that mode expose to SDM, if not, the mode
will be removed and SDM can't get the mode, so add RGB and YUV mode
definition into DRM_MODE_FLAG_ALL to avoid mode validation failure.

Change-Id: I0e33bbb58309257446cf76dcda19f268dcda4320
Signed-off-by: default avatarLei Chen <chenlei@codeaurora.org>
parent bdc7f8fb
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -134,6 +134,8 @@ extern "C" {
				 DRM_MODE_FLAG_HSKEW |		\
				 DRM_MODE_FLAG_DBLCLK |		\
				 DRM_MODE_FLAG_CLKDIV2 |	\
				 DRM_MODE_FLAG_SUPPORTS_RGB |	\
				 DRM_MODE_FLAG_SUPPORTS_YUV |	\
				 DRM_MODE_FLAG_3D_MASK)

/* DPMS flags */