media: venus: Update clock scaling
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v7 Latest posting 2/22 patches 0 repliesNew
- v7 posting 1/23 patches 0 repliesSuperseded
- v6 posting 2/24 patches 7 repliesSuperseded
Earlier versions · 6
| Version | Posted | Patches | Replies | Status |
|---|---|---|---|---|
| v6 posting 1/2 | 0 of 4 patches | 0 replies | Superseded | |
| v5 | 4 patches | 1 reply | Superseded | |
| v4 | 4 patches | 4 replies | Superseded | |
| v3 | 4 patches | 7 replies | Superseded | |
| v2 | 5 patches | 9 replies | Superseded | |
| v1 | 5 patches | 0 replies | Superseded |
Changes in v7 from the cover letter
- Removed core selection.
- Corrected frequency calculations.
- Removed instance lock used while iterating over buffers.
Patches in v7 posting 2/2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | media: venus: Add codec data tabledrivers/ drivers/ drivers/ +3 more | +68 | 0 replies | |
| 2/2 | media: venus: Update clock scalingdrivers/ drivers/ drivers/ | +140 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v7 yet.
Cover letter [RESEND v7 0/2]media: venus: Update clock scaling
In this patch series, clock scaling and core selection methods are updated. Current clock scaling is same for vpu4 and previous versions. Introducing load calculations using vpp cycles, which indicates the cycles required by video hardware to process each macroblock. Also adding vsp cycles, cycles require by stream processor. Clock scaling is now done more precisely using vpp and vsp cycles. Removing core selection from this series, there will be separate patch once issue related to power domain is fixed.
This patch depends on the following patch:
https://patchwork.kernel.org/patch/11142557/ - Venus interconnect support for sdm845
Changes since v6:
- Removed core selection.
- Corrected frequency calculations.
- Removed instance lock used while iterating over buffers.
Changes since v5:
- Corrected load_per_core calculations.
Changes since v4:
- Added call to load_scale_clocks from venus_helper_vb2_buf_queue.
- Modified check to match core_id in core_selection.
Changes since v3:
- vsp_cycles and vpp_cyles are now unsigned long.
- Core number counting aligned with VIDC_CORE_ID_.
- Aligned hardware overload handling of scale_clocks_v4 with scale_clocks.
- Added bitrate based clock scaling patch in this patch series.
- Instance state check is now moved from scale_clocks to load_scale_clocks
Aniket Masule (2):
media: venus: Add codec data table
media: venus: Update clock scaling
drivers/media/platform/qcom/venus/core.c | 13 ++ drivers/media/platform/qcom/venus/core.h | 16 +++ drivers/media/platform/qcom/venus/helpers.c | 187 +++++++++++++++++++++++++--- drivers/media/platform/qcom/venus/helpers.h | 3 +- drivers/media/platform/qcom/venus/vdec.c | 8 +- drivers/media/platform/qcom/venus/venc.c | 4 + 6 files changed, 208 insertions(+), 23 deletions(-)
Signature · 2 lines
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum, a Linux Foundation Collaborative Project