diff options
| author | 2019-09-20 14:05:51 -0300 | |
|---|---|---|
| committer | 2019-10-01 16:14:43 -0300 | |
| commit | 750ef54b7e2b03ce33dd3d7903aa8254e6f2adab (patch) | |
| tree | acced3f16affae221606cdff47dd4e60a4e82b5e /tools/perf/scripts/python | |
| parent | media: am437x-vpfe: fix function trace debug log (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 <bparrot@ti.com>
Acked-by: Lad Prabhakar <prabhakar.csengg@gmail.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
