disp: msm: sde: log vblank timestamp in eventlogs

Log the vblank timestamp during vblank callback. This will be
useful in calculating the precise difference between the vsync
while debugging. As part of the change, remove the vblank
counter logging in sde_crtc as it floods the logs with 4 entries
for each vblank request.

Change-Id: I6b532ad657581fb2a34318541acbd81a44858819
Signed-off-by: Veera Sundaram Sankaran <quic_veeras@quicinc.com>
此提交包含在:
Veera Sundaram Sankaran
2022-05-23 11:03:45 -07:00
父節點 7a013221ae
當前提交 b40c05519d
共有 2 個檔案被更改,包括 1 行新增1 行删除

查看文件

@@ -3549,6 +3549,7 @@ static void sde_encoder_vblank_callback(struct drm_encoder *drm_enc,
if (phy_enc->sde_kms->debugfs_hw_fence)
sde_encoder_hw_fence_status(phy_enc->sde_kms, sde_enc->crtc, phy_enc->hw_ctl);
SDE_EVT32(DRMID(drm_enc), ktime_to_us(ts), atomic_read(&phy_enc->vsync_cnt));
SDE_ATRACE_END("encoder_vblank_callback");
}