Hi Sven, On Wed, May 29, 2019 at 12:45 PM Sven Van Asbroeck <thesven73@xxxxxxxxx> wrote: > > Thank you all (and especially Philipp) for this amazing work ! > > One of the main uses for the VPU scaler is to convert from video file > resolution to display resolution. E.g. the source video is 1080p, but the > display videomode is only 720p. > > Unfortunately when I connect CODA/h264 decode to the VPU scaler, performance > drops to about half. But on the non-mainline Freescale kernel, even with > the rescale, I still get 30fps. > > Mainline kernel + v8 imx rescaler patch: > A) 1080p30 source video -> CODA h264 decode -> drm 1080p: near full speed (28fps) > B) 1080p30 source video -> CODA h264 decode -> VPU scaler 1080p->720p -> > drm 720p: only half speed (15fps) Does this patch from Philipp fix the problem? https://git.pengutronix.de/cgit/pza/linux/commit/?h=imx-drm/fixes&id=137caa702f2308f7ef03876e164b0d0f3300712a