When the fb's modifier is 'DRM_FORMAT_MOD_VIVANTE_SUPER_TILED_FC',
the compression state can be changed to non-compress according to
the 'compressed' field value of 'struct dma_metadata' data. At this
moment, the
DEC400D should be bypassed.
Signed-off-by: Fancy Fang <chen.fang@nxp.com>
return;
}
+ if (!mdata->compressed) {
+ /* Bypass dec400d */
+ dcss_dec400d_bypass(dcss_plane->dcss);
+ return;
+ }
+
gem_obj = dcss_plane_gem_import(plane->dev,
mdata->ts_dma_buf);
if (IS_ERR(gem_obj)) {