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: Jeykumar Sankaran <jsanka@codeaurora.org>
diff --git a/drivers/gpu/drm/msm/sde/sde_plane.c b/drivers/gpu/drm/msm/sde/sde_plane.c
index e8892fb..3835ed3 100644
--- a/drivers/gpu/drm/msm/sde/sde_plane.c
+++ b/drivers/gpu/drm/msm/sde/sde_plane.c
@@ -3953,7 +3953,7 @@
 	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));