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>
Этот коммит содержится в:
Dhaval Patel
2020-01-23 18:05:19 -08:00
коммит произвёл Gerrit - the friendly Code Review server
родитель 9d96e47c53
Коммит 9438f3448b
5 изменённых файлов: 58 добавлений и 0 удалений

Просмотреть файл

@@ -68,6 +68,8 @@ struct intf_avr_params {
* @ setup_misr: enables/disables MISR in HW register
* @ collect_misr: reads and stores MISR data from HW register
* @ get_line_count: reads current vertical line counter
* @ get_underrun_line_count: reads current underrun pixel clock count and
* converts it into line count
* @bind_pingpong_blk: enable/disable the connection with pingpong which will
* feed pixels to this interface
*/
@@ -100,6 +102,7 @@ struct sde_hw_intf_ops {
* is used for command mode panels
*/
u32 (*get_line_count)(struct sde_hw_intf *intf);
u32 (*get_underrun_line_count)(struct sde_hw_intf *intf);
void (*bind_pingpong_blk)(struct sde_hw_intf *intf,
bool enable,