[PATCH v4 0/9] drm/msm/dpu: rework debugfs interface of dpu_core_perf
Dmitry Baryshkov
dmitry.baryshkov at linaro.org
Mon Jan 6 03:07:34 UTC 2025
Bring back a set of patches extracted from [1] per Abhinav's suggestion.
Rework debugging overrides for the bandwidth and clock settings. Instead
of specifying the 'mode' and some values, allow one to set the affected
value directly.
[1] https://patchwork.freedesktop.org/series/119552/#rev2
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov at linaro.org>
---
Changes in v4:
- Dropped core_perf: from patch subject (Abhinav)
- Fixed indentation of _dpu_core_perf_crtc_update_bus() (Abhinav)
- Expanded commit messages to reflect different questions (Abhinav)
- Reworked existing files to specify max allowed average bandwidth
(Abhinav)
- Fixed u32 vs u64 and KBps vs Bps values in debugfs interface
- Link to v3: https://lore.kernel.org/r/20240314-dpu-perf-rework-v3-0-79fa4e065574@linaro.org
---
Dmitry Baryshkov (9):
drm/msm/dpu: extract bandwidth aggregation function
drm/msm/dpu: remove duplicate code calculating sum of bandwidths
drm/msm/dpu: change ib values to u32
drm/msm/dpu: make fix_core_ab_vote consistent with fix_core_ib_vote
drm/msm/dpu: also use KBps for bw_ctl output
drm/msm/dpu: rename average bandwidth-related debugfs files
drm/msm/dpu: handle perf mode in _dpu_core_perf_crtc_update_bus()
drm/msm/dpu: rework core_perf debugfs overrides
drm/msm/dpu: drop dpu_core_perf_params::max_per_pipe_ib
drivers/gpu/drm/msm/disp/dpu1/dpu_core_perf.c | 207 ++++++++------------------
drivers/gpu/drm/msm/disp/dpu1/dpu_core_perf.h | 16 +-
drivers/gpu/drm/msm/disp/dpu1/dpu_crtc.c | 5 +-
3 files changed, 62 insertions(+), 166 deletions(-)
---
base-commit: 23ec7472e8aaa96838a61819a97882b5a7e17e42
change-id: 20240314-dpu-perf-rework-97fca999eb46
Best regards,
--
Dmitry Baryshkov <dmitry.baryshkov at linaro.org>
More information about the dri-devel
mailing list