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

Commit 6d34314c authored by Jeykumar Sankaran's avatar Jeykumar Sankaran Committed by Gerrit - the friendly Code Review server
Browse files

drm/msm/sde: populate default plane formats only for virtual planes



Virtual planes enumerated for smart DMA pipes cannot support all the
formats supported by the master plane. Populate only the default plane
formats for virtual planes.

Change-Id: I8c541e504b261076e5fc146be3f0f75de0763710
Signed-off-by: default avatarJeykumar Sankaran <jsanka@codeaurora.org>
parent e4e90297
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -3953,7 +3953,7 @@ struct drm_plane *sde_plane_init(struct drm_device *dev,
	if (master_plane_id)
		format_list = plane_formats;

	psde->nformats = sde_populate_formats(plane_formats,
	psde->nformats = sde_populate_formats(format_list,
				psde->formats,
				0,
				ARRAY_SIZE(psde->formats));