disp: msm: add io resource collection hook to vm events
When the TUI use case starts, HLOS prepares for sharing the HW by collecting the register io spaces and IRQ lines from all the participating subdrivers before the switch. This change adds necessary hook in the VM event framework, so that subdrivers can provide their callback functions while registering for events. It also adds necessary helpers in the sde io util to parse and populate the IO memory region that needs to be shared. Change-Id: I4c0825fa76453a1c1ec421640deff36158d6ef8c Signed-off-by: Jeykumar Sankaran <jsanka@codeaurora.org>
This commit is contained in:
@@ -85,7 +85,12 @@ struct dss_module_power {
|
||||
int msm_dss_ioremap_byname(struct platform_device *pdev,
|
||||
struct dss_io_data *io_data, const char *name);
|
||||
void msm_dss_iounmap(struct dss_io_data *io_data);
|
||||
|
||||
int msm_dss_get_io_mem(struct platform_device *pdev,
|
||||
struct list_head *mem_list);
|
||||
void msm_dss_clean_io_mem(struct list_head *mem_list);
|
||||
int msm_dss_get_io_irq(struct platform_device *pdev,
|
||||
struct list_head *irq_list, u32 label);
|
||||
void msm_dss_clean_io_irq(struct list_head *irq_list);
|
||||
int msm_dss_enable_gpio(struct dss_gpio *in_gpio, int num_gpio, int enable);
|
||||
int msm_dss_gpio_enable(struct dss_gpio *in_gpio, int num_gpio, int enable);
|
||||
|
||||
|
Reference in New Issue
Block a user