summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorSachin Kumar Garg <sachin.garg@oss.qualcomm.com>2026-08-01 12:14:48 +0530
committerBryan O'Donoghue <bod@kernel.org>2026-09-29 12:53:47 +0100
commit1237888922a71897326495f848766412fb74307c (patch)
tree4be7d5e030173effe37e2a9591136998c2235891 /tools/perf/scripts/python/export-to-sqlite.py
parentaf5f7df6c8b33bed714ec0aea15a0a2f48900c0a (diff)
media: iris: cache work mode after computing it in iris_set_stage
iris_set_stage() computes work_mode and sends it to firmware but never updates inst->fw_caps[STAGE].value, leaving the cached STAGE value stale. iris_vpu_enc_bin_size() and iris_vpu3x_vpu4x_calculate_frequency() read this cached value, so a stale default causes them to miscalculate buffer size and clock frequency for sessions actually running in a different stage than the cached one. Update inst->fw_caps[cap_id].value with the computed work_mode before sending it to firmware, keeping the cache consistent with what is actually configured. Fixes: 3a19d7b9e08b ("media: iris: implement set properties to firmware during streamon") Reviewed-by: Vikash Garodia <vikash.garodia@oss.qualcomm.com> Signed-off-by: Sachin Kumar Garg <sachin.garg@oss.qualcomm.com> Signed-off-by: Bryan O'Donoghue <bod@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions