aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorTomi Valkeinen <tomi.valkeinen@ti.com>2015-03-17 15:31:10 +0200
committerTomi Valkeinen <tomi.valkeinen@ti.com>2015-06-17 15:38:44 +0300
commitab6b2582b8f931f8f324fbf7bcb8338b8fc1eded (patch)
treeac55ad8baccf611a3aee8d5f99fc9b5a2bb17ea8 /tools/perf/scripts/python
parentf5a734827b07dc907ae95698f91d4b1eaafe9a8a (diff)
OMAPDSS: DISPC: add check for scaling limits
On OMAP3/AM43xx some scaling factors cause underflows/synclosts. After studying this, I found that sometimes the driver uses three-tap scaling with downscaling factor smaller than x0.5. This causes issues, as x0.5 is the limit for three-tap scaling. The driver has FEAT_PARAM_DOWNSCALE parameter, but that seems to be for five-tap scaling, which allows scaling down to x0.25. This patch adds checks for both horizontal and vertical scaling. For horizontal the HW always uses 5 taps, so the limit is x0.25. Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions