diff options
| author | Sachin Kumar Garg <sachin.garg@oss.qualcomm.com> | 2026-08-01 12:14:49 +0530 |
|---|---|---|
| committer | Bryan O'Donoghue <bod@kernel.org> | 2026-09-29 12:53:47 +0100 |
| commit | a6ee1766b3dbb8ac0be4b998562fc0d36ddd1e6a (patch) | |
| tree | f9795e50a47f0b0a04a5460282956b41d4132fa6 /tools/perf/scripts/python/libxed.py | |
| parent | 1237888922a71897326495f848766412fb74307c (diff) | |
media: iris: force stage 1 work mode for CBR RC on encoder
iris_set_stage() currently always picks STAGE_2 for encoder sessions.
CBR rate control requires stage 1 operation, so force STAGE_1 when
BITRATE_MODE is set to CBR.
The BITRATE_MODE fw_cap value is used instead of inst->hfi_rc_type
since STAGE precedes BITRATE_MODE in enum platform_inst_fw_cap_type,
so iris_set_properties() would still see the previous hfi_rc_type
when iris_set_stage() runs during initial config
Reviewed-by: Vishnu Reddy <busanna.reddy@oss.qualcomm.com>
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/libxed.py')
0 files changed, 0 insertions, 0 deletions
