VIGS: remove checking of format similarity 03/185503/1
authorVladislav Andresov <v.andresov@partner.samsung.com>
Thu, 31 May 2018 05:05:50 +0000 (08:05 +0300)
committerKarthik Bhat <kv.bhat@samsung.com>
Tue, 31 Jul 2018 07:42:18 +0000 (13:12 +0530)
Currently convert ioctl is using for
surfaces with different formats.

Change-Id: I7c4d640bd43efcd305e49aae42231556a9129181
Signed-off-by: Vladislav Andresov <v.andresov@partner.samsung.com>
drivers/gpu/drm/vigs/vigs_surface.c

index 4eb91d8..1f628a8 100644 (file)
@@ -488,15 +488,6 @@ int vigs_surface_convert_ioctl(struct drm_device *drm_dev,
     struct vigsp_cmd_convert_request *convert_request;
     int ret;
 
-    /*
-     * Currently we support only y-invert operation. Format conversion still
-     * needs to be implemented.
-     */
-    if (args->src_format != args->dst_format) {
-        ret = -EINVAL;
-        goto out;
-    }
-
     /* src_sfc */
     gem = drm_gem_object_lookup(drm_dev, file_priv, args->src_handle);