disp: msm: add runtime_pm ops support in drm driver
Add runtime_pm ops support in drm driver instead of direct sde_power_resource_enable/disable call. It allows drm driver to use runtime pm refcount logic to track the resources instead of custom implementation. The change also removes the NRT_CLIENT support from sde_power_handle code to simplify it further. Change-Id: Ib14692dca5876703d0a230da2512d731b69b8ebb Signed-off-by: Dhaval Patel <pdhaval@codeaurora.org>
This commit is contained in:
@@ -213,11 +213,9 @@ void sde_dbg_init_dbg_buses(u32 hwversion);
|
||||
/**
|
||||
* sde_dbg_init - initialize global sde debug facilities: evtlog, regdump
|
||||
* @dev: device handle
|
||||
* @power_ctrl: power control callback structure for enabling clocks
|
||||
* during register dumping
|
||||
* Returns: 0 or -ERROR
|
||||
*/
|
||||
int sde_dbg_init(struct device *dev, struct sde_dbg_power_ctrl *power_ctrl);
|
||||
int sde_dbg_init(struct device *dev);
|
||||
|
||||
/**
|
||||
* sde_dbg_debugfs_register - register entries at the given debugfs dir
|
||||
|
Referens i nytt ärende
Block a user