disp: msm: snapshot change for mdp driver to support multiple SIs
This change adds support in mdp and dsi driver to support multiple SIS. Change-Id: I432068cea17e1784d7570a472fbadaa86695df07 Signed-off-by: Narendra Muppalla <NarendraM@codeaurora.org> Signed-off-by: Amine Najahi <anajahi@codeaurora.org>
此提交包含在:
@@ -667,8 +667,13 @@ void sde_mini_dump_add_va_region(const char *name, u32 size, void *virt_addr)
|
||||
}
|
||||
#endif
|
||||
|
||||
#if (LINUX_VERSION_CODE >= KERNEL_VERSION(5, 15, 0))
|
||||
static int _sde_dump_reg_range_cmp(void *priv, const struct list_head *a,
|
||||
const struct list_head *b)
|
||||
#else
|
||||
static int _sde_dump_reg_range_cmp(void *priv, struct list_head *a,
|
||||
struct list_head *b)
|
||||
#endif
|
||||
{
|
||||
struct sde_dbg_reg_range *ar, *br;
|
||||
|
||||
@@ -681,8 +686,13 @@ static int _sde_dump_reg_range_cmp(void *priv, const struct list_head *a,
|
||||
return ar->offset.start - br->offset.start;
|
||||
}
|
||||
|
||||
#if (LINUX_VERSION_CODE >= KERNEL_VERSION(5, 15, 0))
|
||||
static int _sde_dump_blk_phys_addr_cmp(void *priv, const struct list_head *a,
|
||||
const struct list_head *b)
|
||||
#else
|
||||
static int _sde_dump_blk_phys_addr_cmp(void *priv, struct list_head *a,
|
||||
struct list_head *b)
|
||||
#endif
|
||||
{
|
||||
struct sde_dbg_reg_base *ar, *br;
|
||||
|
||||
|
新增問題並參考
封鎖使用者