disp: msm: sde: log pp-line count in event logs

Log ping-pong current line count during ctl-start
and rd-ptr interrupt. This will help in debugging
ping-pong timeout issues.

Change-Id: I58185330fe9e8a64f48d6da60c974b23a9e68b44
Signed-off-by: Veera Sundaram Sankaran <veeras@codeaurora.org>
This commit is contained in:
Veera Sundaram Sankaran
2019-05-08 16:57:07 -07:00
parent 74f328561e
commit 1e3d105dc0
5 changed files with 51 additions and 7 deletions

View File

@@ -508,6 +508,14 @@ void sde_encoder_phys_setup_cdm(struct sde_encoder_phys *phys_enc,
struct drm_framebuffer *fb, const struct sde_format *format,
struct sde_rect *wb_roi);
/**
* sde_encoder_helper_get_pp_line_count - pingpong linecount helper function
* @drm_enc: Pointer to drm encoder structure
* @info: structure used to populate the pp line count information
*/
void sde_encoder_helper_get_pp_line_count(struct drm_encoder *drm_enc,
struct sde_hw_pp_vsync_info *info);
/**
* sde_encoder_helper_trigger_flush - control flush helper function
* This helper function may be optionally specified by physical