compositor-drm: fix primary fb format is not argb format

when we need to use argb format on 850D, don't change it to
xrgb, this will make video unvisuable. Other platform, will
default use xrgb format.

Upstream-Status: Inappropriate [i.MX-specific]

Signed-off-by: Haihua Hu <jared.hu@nxp.com>
diff --git a/libweston/compositor-drm.c b/libweston/compositor-drm.c
index b2c3d12..a2c8f67 100644
--- a/libweston/compositor-drm.c
+++ b/libweston/compositor-drm.c
@@ -1280,11 +1280,6 @@
 		goto err_free;
 	}
 
-	/* We can scanout an ARGB buffer if the surface's opaque region covers
-	 * the whole output, but we have to use XRGB as the KMS format code. */
-	if (is_opaque)
-		fb->format = pixel_format_get_opaque_substitute(fb->format);
-
 	if (backend->min_width > fb->width ||
 	    fb->width > backend->max_width ||
 	    backend->min_height > fb->height ||