summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/compaction-times.py
diff options
context:
space:
mode:
authorHans de Goede <hdegoede@redhat.com>2023-12-29 00:43:25 +0300
committerMauro Carvalho Chehab <mchehab@kernel.org>2024-02-01 08:56:48 +0300
commit592bb51d048c180ac9f5a52167548f18fe896a43 (patch)
treedca949e913adf5d5236f40144aebaccbeef6a65c /tools/perf/scripts/python/compaction-times.py
parentc8282f7b8523a4d37e5fefa220d93f2be06650e2 (diff)
downloadlinux-592bb51d048c180ac9f5a52167548f18fe896a43.tar.xz
media: atomisp: Adjust for v4l2_subdev_state handling changes in 6.8
The atomisp driver emulates a standard v4l2 device, which also works for non media-controller aware applications. Part of this requires making try_fmt calls on the sensor when a normal v4l2 app is making try_fmt calls on the /dev/video# mode. With the recent v4l2_subdev_state handling changes in 6.8 this no longer works, fixing this requires 2 changes: 1. The atomisp code was using its own internal v4l2_subdev_pad_config for this. Replace the internal v4l2_subdev_pad_config with allocating a full v4l2_subdev_state for storing the full try_fmt state. 2. The paths actually setting the fmt or crop selection now need to be passed the v4l2_subdev's active state, so that sensor drivers which are using the v4l2_subdev's active state to store their state keep working. 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/compaction-times.py')
0 files changed, 0 insertions, 0 deletions