drm/msm: Decouple IFPC disable and sysprof
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v6 Latest6 patches 1 replyIn review
- v56 patches 0 repliesSuperseded
- v46 patches 0 repliesSuperseded
Earlier versions · 3
| Version | Posted | Patches | Replies | Status |
|---|---|---|---|---|
| v3 | 4 patches | 0 replies | Superseded | |
| v2 | 4 patches | 11 replies | Superseded | |
| v1 | 4 patches | 1 reply | Superseded |
Changes in v6 from the cover letter
- Fix potential runpm ref leak in sel_worker()
- Acquire gpu->lock before runpm
- Fix unmatched OOB clear in a6xx_gmu_shutdown()
- Link to v5: https://lore.kernel.org/all/[email protected]/
Patches in v6 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/6 | drm/msm: Hold runpm ref in set_sysprof()drivers/ drivers/ | +3 | 0 replies | |
| 2/6 | drm/msm: Resume perfcntrs after hw_initdrivers/ drivers/ drivers/ +1 more | +13 | 0 replies | |
| 3/6 | drm/msm: Rework IFPC disabledrivers/ drivers/ drivers/ +5 more | +63 | 0 replies | |
| 4/6 | drm/msm: Add cleanup help for disabling IFPCdrivers/ drivers/ | +5 | 0 replies | |
| 5/6 | drm/msm/debugfs: Use cleanup.h for gpu state dumpdrivers/ | +12 | 0 replies | |
| 6/6 | drm/msm: Inhibit IFPC for state snapshotdrivers/ | +1 | 0 replies |
Reviews trailers per patch
3 of 6 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.
| Patch | Konrad Dybcio | Anna Maniscalco | Alexander Koskovich | Akhil P Oommen |
|---|---|---|---|---|
| Series | R-b | |||
| 1/6 | ||||
| 2/6 | ||||
| 3/6 | ||||
| 4/6 | R-b | R-b | ||
| 5/6 | R-b | |||
| 6/6 | 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 v6 0/6] drm/msm: Decouple IFPC disable and sysprof
Convert IFPC-disable into it's own refcnt so that multiple threads can request IFPC to be disabled without stomping on each other.
Extracted out of gen8 GPU state capture series[1], as other than fixing a missing IFPC disable in debugfs state capture path, it is unrelated.
[1] https://patchwork.freedesktop.org/series/176505/
v6:
- Fix potential runpm ref leak in sel_worker()
- Acquire gpu->lock before runpm
- Fix unmatched OOB clear in a6xx_gmu_shutdown()
- Link to v5: https://lore.kernel.org/all/[email protected]/
v5:
- Skip unneeded msm_context_set_sysprof() call in msm_postclose()
- Fix potential sel_worker deadlock
- Revert back to original gpu-lock/runpm ordering
- Link to v4: https://lore.kernel.org/all/[email protected]/
v4:
- Don't clear GMU_STATUS_OOB_PERF_SET in suspend path. Restore it in hw_init()
- Don't require gpu->lock in a6xx_gmu_ifpc_update(), but instead warn
if needs_hw_init
- Move perfcntr resume to after hw_init()
- Link to v3: https://lore.kernel.org/all/[email protected]
v3:
- Rework IFPC disable harder to play nicer with hw_init(). If we
need_hw_init, simply update gmu->status mask and let hw_init()
restore the OOB request in a sequence that won't anger the fw.
- Link to v2: https://lore.kernel.org/all/[email protected]/
v2:
- Fix double acquire of gmu->lock
- Fix missing a8xx hw_init() path
- Link to v1: https://lore.kernel.org/all/[email protected]/
Rob Clark (6):
drm/msm: Hold runpm ref in set_sysprof() drm/msm: Resume perfcntrs after hw_init drm/msm: Rework IFPC disable
drm/msm: Add cleanup help for disabling IFPC drm/msm/debugfs: Use cleanup.h for gpu state dump drm/msm: Inhibit IFPC for state snapshot
drivers/gpu/drm/msm/adreno/a6xx_gmu.c | 27 +++++++---------- drivers/gpu/drm/msm/adreno/a6xx_gpu.c | 9 +++--- drivers/gpu/drm/msm/adreno/a6xx_gpu.h | 2 +- drivers/gpu/drm/msm/adreno/a8xx_gpu.c | 3 +- drivers/gpu/drm/msm/adreno/adreno_device.c | 5 +--- drivers/gpu/drm/msm/adreno/adreno_gpu.c | 1 - drivers/gpu/drm/msm/msm_debugfs.c | 32 +++++++++----------- drivers/gpu/drm/msm/msm_drv.c | 2 +- drivers/gpu/drm/msm/msm_gpu.c | 5 +++- drivers/gpu/drm/msm/msm_gpu.h | 34 ++++++++++++++++++++-- drivers/gpu/drm/msm/msm_perfcntr.c | 17 ++++++----- drivers/gpu/drm/msm/msm_submitqueue.c | 20 +++++++++---- 12 files changed, 94 insertions(+), 63 deletions(-)
Signature · 1 line
2.56.0