drm/msm/mdp5: print a bit more of the atomic state
authorRob Clark <robdclark@gmail.com>
Mon, 19 Feb 2018 13:27:13 +0000 (08:27 -0500)
committerRob Clark <robdclark@gmail.com>
Mon, 19 Mar 2018 10:33:37 +0000 (06:33 -0400)
Signed-off-by: Rob Clark <robdclark@gmail.com>
drivers/gpu/drm/msm/disp/mdp5/mdp5_crtc.c

index 91c829a2cc85b81cb4d28a0f6a61b8de05cee7d6..9893e43ba6c5e530af187b1114f853f87c1fcd88 100644 (file)
@@ -951,12 +951,17 @@ mdp5_crtc_atomic_print_state(struct drm_printer *p,
        if (WARN_ON(!pipeline))
                return;
 
+       if (mdp5_cstate->ctl)
+               drm_printf(p, "\tctl=%d\n", mdp5_ctl_get_ctl_id(mdp5_cstate->ctl));
+
        drm_printf(p, "\thwmixer=%s\n", pipeline->mixer ?
                        pipeline->mixer->name : "(null)");
 
        if (mdp5_kms->caps & MDP_CAP_SRC_SPLIT)
                drm_printf(p, "\tright hwmixer=%s\n", pipeline->r_mixer ?
                           pipeline->r_mixer->name : "(null)");
+
+       drm_printf(p, "\tcmd_mode=%d\n", mdp5_cstate->cmd_mode);
 }
 
 static void mdp5_crtc_reset(struct drm_crtc *crtc)