drm/msm/sde: enable NV12 modetest for planes

Add basic CSC support and default sharpening config to enable
YUV formats. Always using 601L conversion for now.

Add initial support of plane blob properties.

Change-Id: Ic818da5e1d6a9a5b3a9e32e222518b829a9dce4a
Signed-off-by: Clarence Ip <cip@codeaurora.org>
diff --git a/drivers/gpu/drm/msm/msm_drv.h b/drivers/gpu/drm/msm/msm_drv.h
index 3bccfc8..f312856 100644
--- a/drivers/gpu/drm/msm/msm_drv.h
+++ b/drivers/gpu/drm/msm/msm_drv.h
@@ -69,10 +69,20 @@
 };
 
 enum msm_mdp_plane_property {
+	/* range properties */
 	PLANE_PROP_ZPOS,
 	PLANE_PROP_ALPHA,
 	PLANE_PROP_PREMULTIPLIED,
-	PLANE_PROP_MAX_NUM
+
+	/* enum properties */
+
+	/* blob properties */
+	PLANE_PROP_PIXEXT,
+
+	/* property counts */
+	PLANE_PROP_COUNT,
+	PLANE_PROP_FIRSTBLOB = PLANE_PROP_PIXEXT,
+	PLANE_PROP_BLOBCOUNT = PLANE_PROP_COUNT - PLANE_PROP_FIRSTBLOB
 };
 
 struct msm_vblank_ctrl {
@@ -146,7 +156,7 @@
 	struct drm_connector *connectors[MAX_CONNECTORS];
 
 	/* Properties */
-	struct drm_property *plane_property[PLANE_PROP_MAX_NUM];
+	struct drm_property *plane_property[PLANE_PROP_COUNT];
 
 	/* VRAM carveout, used when no IOMMU: */
 	struct {