summaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/netdev-times.py
diff options
context:
space:
mode:
authorBenoit Parrot <bparrot@ti.com>2019-11-12 15:53:44 +0100
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>2019-12-09 11:39:34 +0100
commit348d32d3a032b389defa9c4a0436c801d1ba059c (patch)
treee7dc20922efdf76ea8b2d1aa513af9d175665801 /tools/perf/scripts/python/netdev-times.py
parent04d766acbf3ecfb26275c40fc04cb7ce2680e43c (diff)
downloadlinux-348d32d3a032b389defa9c4a0436c801d1ba059c.tar.gz
linux-348d32d3a032b389defa9c4a0436c801d1ba059c.zip
media: ti-vpe: cal: Properly calculate max resolution boundary
Currently we were using an arbitrarily small maximum resolution mostly based on available sensor capabilities. However the hardware DMA limits are much higher than the statically define maximum resolution we were using. There we rework the boundary check code to handle the maximum width and height based on the maximum line width in bytes and re-calculating the pixel width based on the given pixel format. Signed-off-by: Benoit Parrot <bparrot@ti.com> Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/netdev-times.py')
0 files changed, 0 insertions, 0 deletions