disp: msm: sde: add underrun line count information

Add underrun line count information for each underrun.

Change-Id: I34a740c33240fa8d444f4bbc3b8b014b0282fca1
Signed-off-by: Dhaval Patel <pdhaval@codeaurora.org>
This commit is contained in:
Dhaval Patel
2020-01-23 18:05:19 -08:00
committed by Gerrit - the friendly Code Review server
parent 9d96e47c53
commit 9438f3448b
5 changed files with 58 additions and 0 deletions

View File

@@ -133,6 +133,8 @@ struct sde_encoder_virt_ops {
* unitl transaction is complete.
* @wait_for_active: Wait for display scan line to be in active area
* @setup_vsync_source: Configure vsync source selection for cmd mode.
* @get_underrun_line_count: Obtain and log current internal vertical line
* count and underrun line count
*/
struct sde_encoder_phys_ops {
@@ -185,6 +187,7 @@ struct sde_encoder_phys_ops {
int (*wait_for_active)(struct sde_encoder_phys *phys);
void (*setup_vsync_source)(struct sde_encoder_phys *phys,
u32 vsync_source, bool is_dummy);
u32 (*get_underrun_line_count)(struct sde_encoder_phys *phys);
};
/**