aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorHans de Goede <hdegoede@redhat.com>2023-05-11 19:27:24 +0100
committerMauro Carvalho Chehab <mchehab@kernel.org>2023-06-09 14:37:51 +0100
commit71a85e054f3237595c50b1a74919185597fa2fba (patch)
tree21e8c7a8229672968e9f880efe5903a4fa7b9572 /tools/perf/scripts/python/export-to-sqlite.py
parentmedia: atomisp: Simplify atomisp_[start|stop]_streaming() (diff)
downloadlinux-71a85e054f3237595c50b1a74919185597fa2fba.tar.gz
linux-71a85e054f3237595c50b1a74919185597fa2fba.zip
media: atomisp: Simplify atomisp_css_[start|stop]()
Now that continuous mode is gone and we only have 1 /dev/video# node, the videobuf2 core guarantees that atomisp_css_[start|stop]() will only be called one at a time. So there is no need for atomisp_streaming_count() counts. When reqbufs has been done then the streams are guaranteed to be created, and streaming cannot be started without reqbufs so there is no need for atomisp_css_start() to check if it needs to create the streams. Use this to clean-up atomisp_css_[start|stop](). While at it also fix atomisp_css_start() not re-creating the streams on an error, breaking the guarantee that the streams are always there after a succesfull reqbufs call. Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com> Signed-off-by: Hans de Goede <hdegoede@redhat.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions