disp: msm: sde: add support for INTF line/frame count reset
From MDSS 8.x INTF line/frame counters can be reset through a register. Reset these counters during timing engine enable / tear-check enable to keep track of meaningful counters, which would be useful during debugging. Additionally, reset the counters during cont-splash modeset to track the number of auto-refresh frames while disabling it during the first frame. Change-Id: I66b45f5b29793df1fb4635972b1c614ad8c3b5b3 Signed-off-by: Veera Sundaram Sankaran <veeras@codeaurora.org>
This commit is contained in:
@@ -205,6 +205,11 @@ struct sde_hw_intf_ops {
|
||||
int (*check_and_reset_tearcheck)(struct sde_hw_intf *intf,
|
||||
struct intf_tear_status *status);
|
||||
|
||||
/**
|
||||
* Reset the interface frame & line counter
|
||||
*/
|
||||
void (*reset_counter)(struct sde_hw_intf *intf);
|
||||
|
||||
/**
|
||||
* Enable processing of 2 pixels per clock
|
||||
*/
|
||||
|
Fai riferimento in un nuovo problema
Block a user