media: iris: migrate to using global UBWC config
Get series with b4
b4 am [email protected] change-id 20260110-iris-ubwc-06f64cbb31aeVersions newest first
- v5 Latest7 patches 0 repliesNew
- v49 patches 10 repliesApplied
- v39 patches 1 replySuperseded
Earlier versions · 2
| Version | Posted | Patches | Replies | Status |
|---|---|---|---|---|
| v2 | 11 patches | 11 replies | Superseded | |
| v1 | 11 patches | 25 replies | Applied |
Changes in v5 from the cover letter
- Rebased on next/master, dropping applied patches
- Link to v4: https://lore.kernel.org/r/[email protected]
Patches in v5 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/7 | media: iris: retrieve UBWC platform configurationdrivers/ drivers/ drivers/ | +10 | 0 replies | |
| 2/7 | media: iris: don't specify min_acc_length in the source codedrivers/ drivers/ drivers/ | +5 | 0 replies | |
| 3/7 | media: iris: don't specify highest_bank_bit in the source codedrivers/ drivers/ drivers/ | +1 | 0 replies | |
| 4/7 | media: iris: don't specify ubwc_swizzle in the source codedrivers/ drivers/ drivers/ | +3 | 0 replies | |
| 5/7 | media: iris: don't specify bank_spreading in the source codedrivers/ drivers/ drivers/ | +1 | 0 replies | |
| 6/7 | media: iris: don't specify max_channels in the source codedrivers/ drivers/ drivers/ | +1 | 0 replies | |
| 7/7 | media: iris: drop remnants of UBWC configurationdrivers/ drivers/ | +0 | 0 replies |
Reviews trailers per patch
All 7 patches have a Reviewed-by or Acked-by.
| Patch | Bryan O'Donoghue | Konrad Dybcio | Dikshita Agarwal | Wangao Wang |
|---|---|---|---|---|
| 1/7 | R-b | R-b | R-b | T-b |
| 2/7 | R-b | R-b | R-b | T-b |
| 3/7 | R-b | R-b | R-b | T-b |
| 4/7 | R-b | R-b | R-b | T-b |
| 5/7 | R-b | R-b | R-b | T-b |
| 6/7 | R-b | R-b | R-b | T-b |
| 7/7 | R-b | R-b | R-b | T-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 4 reviewers.
Cover letter [PATCH v5 0/7] media: iris: migrate to using global UBWC config
Having UBWC configuration in the driver is error prone. For example, the driver specifies fixed values for HBB, while the actual value might depend on the DDR type. Stop defining UBWC data in the iris driver and use the global UBWC configuration registry.
Merge strategy: either merge SoC bits directly through the media tree (with Bjorn's ack) or merge to the media tree through the immutable tag. The drm patches will follow depending on the way the SoC patches are merged.
Note: the patches are compile-tested only because of the lack of the Gen2 hardware at hand.
---
Changes in v5:
- Rebased on next/master, dropping applied patches
- Link to v4: https://lore.kernel.org/r/[email protected]
Changes in v4:
- Rebased on next/master, fixing the conflicts.
- Link to v3: https://lore.kernel.org/r/[email protected]
Changes in v3:
- Dropped applied and unrelated patches (they will be posted separately)
- Include printk.h, decoupling the series from fix picked up by Bjorn
- Introduced additional helpers to retrieve the data.
- Link to v2: https://lore.kernel.org/r/[email protected]
Changes in v2:
- Extended the commit message and added a comment for the min_acc length helper (Konrad)
- Link to v1: https://lore.kernel.org/r/[email protected]
---
Dmitry Baryshkov (7):
media: iris: retrieve UBWC platform configuration
media: iris: don't specify min_acc_length in the source code
media: iris: don't specify highest_bank_bit in the source code
media: iris: don't specify ubwc_swizzle in the source code
media: iris: don't specify bank_spreading in the source code
media: iris: don't specify max_channels in the source code
media: iris: drop remnants of UBWC configuration
drivers/media/platform/qcom/iris/Kconfig | 1 + drivers/media/platform/qcom/iris/iris_core.h | 4 ++++ .../media/platform/qcom/iris/iris_hfi_gen2_packet.c | 18 +++++++++++------- .../media/platform/qcom/iris/iris_platform_common.h | 11 ----------- drivers/media/platform/qcom/iris/iris_platform_gen2.c | 14 -------------- drivers/media/platform/qcom/iris/iris_probe.c | 5 +++++ 6 files changed, 21 insertions(+), 32 deletions(-)
---
base-commit: bee6ea30c48788e18348309f891ed8afbf7702ac
change-id: 20260110-iris-ubwc-06f64cbb31ae
Best regards,
Signature · 2 lines
With best wishes Dmitry