commit | eb8dd3abeb4dffab6c373e87d09fc3b5858ac158 | [log] [tgz] |
---|---|---|
author | Boris Brezillon <boris.brezillon@bootlin.com> | Fri Nov 09 11:26:33 2018 +0100 |
committer | Boris Brezillon <boris.brezillon@bootlin.com> | Fri Nov 09 15:30:45 2018 +0100 |
tree | 6a11d8e5802173bc18f38fd296f8f85f97fafbc9 | |
parent | 0560054da5673b25d56bea6c57c8d069673af73b [diff] |
drm/vc4: Prefer PPF over TPZ when dst >= 2/3 src The HVS spec recommends using PPF when the downscaling ratio is between 2/3 and 1. Let's modify vc4_get_scaling_mode() to follow this recommendation. Signed-off-by: Boris Brezillon <boris.brezillon@bootlin.com> Reviewed-by: Eric Anholt <eric@anholt.net> Link: https://patchwork.freedesktop.org/patch/msgid/20181109102633.32603-2-boris.brezillon@bootlin.com