disp: msm: sde: update autorefresh disable seq-2

Update autorefresh disable sequence-2 by avoiding
tearcheck enable configuration. Updated sequence
will trigger the frame by resetting the write
line count with tearcheck start position.

Change-Id: I984251c0cb23475f20cd5ea62122a167324d6670
Signed-off-by: Dhaval Patel <pdhaval@codeaurora.org>
This commit is contained in:
Dhaval Patel
2020-02-10 15:30:11 -08:00
committato da Gerrit - the friendly Code Review server
parent 1a9e3bae54
commit e7123aec1c
3 ha cambiato i file con 71 aggiunte e 49 eliminazioni

Vedi File

@@ -52,6 +52,11 @@ struct intf_status {
u32 line_count; /* current line count including blanking */
};
struct intf_tear_status {
u32 read_count; /* frame & line count for tear init value */
u32 write_count; /* frame & line count for tear write */
};
struct intf_avr_params {
u32 default_fps;
u32 min_fps;
@@ -188,6 +193,12 @@ struct sde_hw_intf_ops {
*/
void (*enable_compressed_input)(struct sde_hw_intf *intf,
bool compression_en, bool dsc_4hs_merge);
/**
* Check the intf tear check status and reset it to start_pos
*/
int (*check_and_reset_tearcheck)(struct sde_hw_intf *intf,
struct intf_tear_status *status);
};
struct sde_hw_intf {