According to dpu spec, we should use interpolate upsampling mode for NV16/61.
This patch changes the mode from replicate to interpolate for the two pixel
formats.
Signed-off-by: Liu Ying <victor.liu@nxp.com>
is_yuv422upsamplingmode_interpolate = true;
need_csc = true;
break;
- case DRM_FORMAT_NV12:
- case DRM_FORMAT_NV21:
case DRM_FORMAT_NV16:
case DRM_FORMAT_NV61:
+ is_yuv422upsamplingmode_interpolate = true;
+ /* fall-through */
+ case DRM_FORMAT_NV12:
+ case DRM_FORMAT_NV21:
is_planar_yuv = true;
is_rastermode_yuv422 = true;
is_inputselect_compact = true;