summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/stackcollapse-report
diff options
context:
space:
mode:
authorHitesh Patel <hitesh@ebytelogic.com>2026-09-28 17:45:05 +0530
committerBryan O'Donoghue <bod@kernel.org>2026-09-29 17:09:46 +0100
commite5d4b0e69a4017fd39354499c9d7583f625f0524 (patch)
tree19d7fa4707e1639e7a2332ede03e12b005aa8681 /tools/perf/scripts/python/bin/stackcollapse-report
parentfc02156a3efb747b724a490cc50e1ad8c28a3b23 (diff)
media: qcom: camss: vfe: Fix VFE reset while another line is streaming
vfe_disable_output() stops the write masters of the line being disabled and then resets the whole VFE. The reset is not limited to that line. When two lines of one VFE stream at the same time, which is the case whenever a CSID demultiplexes several virtual channels to different RDIs, stopping the first line resets the VFE underneath the second line. The second line's write master configuration is wiped, the buffers it had in flight are never completed, and the VFE is left in a state in which the next global reset is not acknowledged. Stopping or restarting the second line then fails with: VFE reset timeout Move the reset to vfe_disable() and do it under stream_lock, as part of the decrement that makes the count reach zero, so that exactly one caller resets and no line can be enabled while the reset runs. Stopping the line's write masters is enough to quiesce that line on its own. With a single line streaming, the reset happens exactly as before. Fixes: 7319cdf189bb ("media: camss: Add support for VFE hardware version Titan 170") Cc: stable@vger.kernel.org Signed-off-by: Hitesh Patel <hitesh@ebytelogic.com> Suggested-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org> Reviewed-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org> [bod: Converted vfe_disable_output to void] Signed-off-by: Bryan O'Donoghue <bod@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-report')
0 files changed, 0 insertions, 0 deletions