aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/mem-phys-addr.py
diff options
context:
space:
mode:
authorBenoit Parrot <[email protected]>2019-09-20 14:05:51 -0300
committerMauro Carvalho Chehab <[email protected]>2019-10-01 16:14:43 -0300
commit750ef54b7e2b03ce33dd3d7903aa8254e6f2adab (patch)
treeacced3f16affae221606cdff47dd4e60a4e82b5e /tools/perf/scripts/python/mem-phys-addr.py
parentf60de889d7db5428d4d1894f708d78aa58cc9036 (diff)
media: am437x-vpfe: TRY_FMT ioctl is not really trying anything
The try_fmt was not actually trying out the provided format but merely returning the current format basically like get_fmt. In addition set_fmt should first invoked try_fmt to validate the given format before applying it to the hardware. To fix all of these the whole get/try/set ioctl functions had to be reworked. When calculating the bytesperline/stride and sizeimage format member we don't need to locally store the current value of bytesperpixel as it can easily get derived dynamically. Signed-off-by: Benoit Parrot <[email protected]> Acked-by: Lad Prabhakar <[email protected]> Signed-off-by: Hans Verkuil <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/mem-phys-addr.py')
0 files changed, 0 insertions, 0 deletions