disp: msm: sde: override tearcheck rd_ptr_val when qsync is enabled

When qsync is enabled with a large threshold start window, there
is a chance that two frames can be latched by mdp HW in single
vsync window. This change overrides the tearcheck rd_ptr_val
to a value larger than the end of the Tear check start window
to ensure new frame is not latched in current vsync window.

Change-Id: I21273f0bca83747210792b911e964dfd2d50079f
Signed-off-by: Jayaprakash Madisetty <quic_jmadiset@quicinc.com>
Signed-off-by: Narendra Muppalla <quic_nmuppall@quicinc.com>
此提交包含在:
Jayaprakash Madisetty
2022-05-13 11:25:46 +05:30
提交者 Narendra Muppalla
父節點 ad4b936b50
當前提交 a6658ee7e9
共有 4 個檔案被更改,包括 67 行新增4 行删除

查看文件

@@ -247,6 +247,13 @@ struct sde_hw_intf_ops {
* Get the INTF interrupt status
*/
u32 (*get_intr_status)(struct sde_hw_intf *intf);
/**
* Override tear check rd_ptr_val with adjusted_linecnt
* when qsync is enabled.
*/
void (*override_tear_rd_ptr_val)(struct sde_hw_intf *intf,
u32 adjusted_linecnt);
};
struct sde_hw_intf {