disp: msm: sde: add sde data to va minidumps
VA minidumps supports to add any allocated variable or data to minidumps. Add panic notifier and wrapper function to add sde data to minidump va. Add event log, register log, register dumps, debug bus and different sde variables and states info to minidump. Change-Id: If54da0b7067df17877e4da645d82f1705baa3f6d Signed-off-by: Andhavarapu Karthik <kartkart@codeaurora.org>
此提交包含在:
@@ -1933,6 +1933,14 @@ static void sde_encoder_phys_wb_destroy(struct sde_encoder_phys *phys_enc)
|
||||
kfree(wb_enc);
|
||||
}
|
||||
|
||||
void sde_encoder_phys_wb_add_enc_to_minidump(struct sde_encoder_phys *phys_enc)
|
||||
{
|
||||
struct sde_encoder_phys_wb *wb_enc;
|
||||
wb_enc = to_sde_encoder_phys_wb(phys_enc);
|
||||
|
||||
sde_mini_dump_add_va_region("sde_enc_phys_wb", sizeof(*wb_enc), wb_enc);
|
||||
}
|
||||
|
||||
/**
|
||||
* sde_encoder_phys_wb_init_ops - initialize writeback operations
|
||||
* @ops: Pointer to encoder operation table
|
||||
@@ -1955,6 +1963,7 @@ static void sde_encoder_phys_wb_init_ops(struct sde_encoder_phys_ops *ops)
|
||||
ops->trigger_start = sde_encoder_helper_trigger_start;
|
||||
ops->hw_reset = sde_encoder_helper_hw_reset;
|
||||
ops->irq_control = sde_encoder_phys_wb_irq_ctrl;
|
||||
ops->add_to_minidump = sde_encoder_phys_wb_add_enc_to_minidump;
|
||||
}
|
||||
|
||||
/**
|
||||
|
新增問題並參考
封鎖使用者