disp: msm: avoid sde_dbg HW access based on HW ownership
Add VM ownership checks before accessing the HW through the debugfs path in sde dbg module to avoid illegal access. Set the ownership status on bootup based on the VM. Change-Id: I30f2a1eb7e049740f1f7fe3ed03aa411264ba7b3 Signed-off-by: Veera Sundaram Sankaran <veeras@codeaurora.org>
This commit is contained in:

committed by
Dhaval Patel

parent
d26e510b77
commit
b261fe33db
@@ -368,6 +368,12 @@ int sde_dbg_dsi_ctrl_register(void __iomem *base, const char *name);
|
||||
*/
|
||||
void sde_dbg_set_sde_top_offset(u32 blk_off);
|
||||
|
||||
/**
|
||||
* sde_dbg_set_hw_ownership_status - set the VM HW ownership status
|
||||
* @enable: flag to control HW ownership status
|
||||
*/
|
||||
void sde_dbg_set_hw_ownership_status(bool enable);
|
||||
|
||||
/**
|
||||
* sde_evtlog_set_filter - update evtlog filtering
|
||||
* @evtlog: pointer to evtlog
|
||||
|
Reference in New Issue
Block a user