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>
这个提交包含在:
Dhaval Patel
2018-05-04 10:08:05 -07:00
父节点 a702cd897f
当前提交 a74d2cf7fa
修改 26 个文件,包含 324 行新增958 行删除

查看文件

@@ -239,9 +239,6 @@ struct dsi_display {
struct dsi_bridge *bridge;
u32 cmd_engine_refcount;
struct sde_power_handle *phandle;
struct sde_power_client *cont_splash_client;
void *clk_mngr;
void *dsi_clk_handle;
void *mdp_clk_handle;