Make dpu_rm_print_state() also output the SSPP allocation state. Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@xxxxxxxxxx> --- drivers/gpu/drm/msm/disp/dpu1/dpu_rm.c | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/drivers/gpu/drm/msm/disp/dpu1/dpu_rm.c b/drivers/gpu/drm/msm/disp/dpu1/dpu_rm.c index 1b0166bc9bee..e7c142bebab1 100644 --- a/drivers/gpu/drm/msm/disp/dpu1/dpu_rm.c +++ b/drivers/gpu/drm/msm/disp/dpu1/dpu_rm.c @@ -773,4 +773,12 @@ void dpu_rm_print_state(struct drm_printer *p, else drm_puts(p, " -,"); drm_puts(p, "\n"); + + drm_puts(p, "sspp:"); + for (i = 0; i < ARRAY_SIZE(global_state->sspp_to_crtc_id); i++) + if (rm->hw_sspp[i]) + drm_printf(p, " %d,", global_state->sspp_to_crtc_id[i]); + else + drm_puts(p, " -,"); + drm_puts(p, "\n"); } -- 2.39.2