Loading drivers/gpu/drm/msm/sde/sde_crtc.c +4 −4 Original line number Diff line number Diff line Loading @@ -2143,6 +2143,7 @@ void sde_crtc_commit_kickoff(struct drm_crtc *crtc) SDE_DEBUG("crtc%d commit\n", crtc->base.id); SDE_EVT32(DRMID(crtc), 2); } sde_crtc->play_count++; list_for_each_entry(encoder, &dev->mode_config.encoder_list, head) { if (encoder->crtc != crtc) Loading Loading @@ -3332,10 +3333,9 @@ static int _sde_debugfs_status_show(struct seq_file *s, void *data) sde_crtc->vblank_cb_count * 1000, diff_ms) : 0; seq_printf(s, "vblank fps:%lld count:%u total:%llums\n", fps, sde_crtc->vblank_cb_count, ktime_to_ms(diff)); "vblank fps:%lld count:%u total:%llums total_framecount:%llu\n", fps, sde_crtc->vblank_cb_count, ktime_to_ms(diff), sde_crtc->play_count); /* reset time & count for next measurement */ sde_crtc->vblank_cb_count = 0; Loading drivers/gpu/drm/msm/sde/sde_crtc.h +2 −0 Original line number Diff line number Diff line Loading @@ -121,6 +121,7 @@ struct sde_crtc_event { * @stage_cfg : H/w mixer stage configuration * @debugfs_root : Parent of debugfs node * @vblank_cb_count : count of vblank callback since last reset * @play_count : frame count between crtc enable and disable * @vblank_cb_time : ktime at vblank count reset * @vblank_refcount : reference count for vblank enable request * @suspend : whether or not a suspend operation is in progress Loading Loading @@ -167,6 +168,7 @@ struct sde_crtc { struct dentry *debugfs_root; u32 vblank_cb_count; u64 play_count; ktime_t vblank_cb_time; atomic_t vblank_refcount; bool suspend; Loading Loading
drivers/gpu/drm/msm/sde/sde_crtc.c +4 −4 Original line number Diff line number Diff line Loading @@ -2143,6 +2143,7 @@ void sde_crtc_commit_kickoff(struct drm_crtc *crtc) SDE_DEBUG("crtc%d commit\n", crtc->base.id); SDE_EVT32(DRMID(crtc), 2); } sde_crtc->play_count++; list_for_each_entry(encoder, &dev->mode_config.encoder_list, head) { if (encoder->crtc != crtc) Loading Loading @@ -3332,10 +3333,9 @@ static int _sde_debugfs_status_show(struct seq_file *s, void *data) sde_crtc->vblank_cb_count * 1000, diff_ms) : 0; seq_printf(s, "vblank fps:%lld count:%u total:%llums\n", fps, sde_crtc->vblank_cb_count, ktime_to_ms(diff)); "vblank fps:%lld count:%u total:%llums total_framecount:%llu\n", fps, sde_crtc->vblank_cb_count, ktime_to_ms(diff), sde_crtc->play_count); /* reset time & count for next measurement */ sde_crtc->vblank_cb_count = 0; Loading
drivers/gpu/drm/msm/sde/sde_crtc.h +2 −0 Original line number Diff line number Diff line Loading @@ -121,6 +121,7 @@ struct sde_crtc_event { * @stage_cfg : H/w mixer stage configuration * @debugfs_root : Parent of debugfs node * @vblank_cb_count : count of vblank callback since last reset * @play_count : frame count between crtc enable and disable * @vblank_cb_time : ktime at vblank count reset * @vblank_refcount : reference count for vblank enable request * @suspend : whether or not a suspend operation is in progress Loading Loading @@ -167,6 +168,7 @@ struct sde_crtc { struct dentry *debugfs_root; u32 vblank_cb_count; u64 play_count; ktime_t vblank_cb_time; atomic_t vblank_refcount; bool suspend; Loading