disp: msm: sde: re-factor probe time initialization
This change moves the msm_driver power resource initialization from bind time to probe time. This keeps the resource vote on until all the devices are bound. This is required since the regulator and clock sync_state driver will remove the proxy votes as soon as msm_driver has probed. Change-Id: Icb0e59e4ff0290ef0c1bd3914d6fdbf99bf5d9fa Signed-off-by: Abhijit Kulkarni <kabhijit@codeaurora.org>
此提交包含在:
@@ -3194,11 +3194,6 @@ static int _sde_kms_hw_init_blocks(struct sde_kms *sde_kms,
|
||||
struct sde_rm *rm = NULL;
|
||||
int i, rc = -EINVAL;
|
||||
|
||||
for (i = 0; i < SDE_POWER_HANDLE_DBUS_ID_MAX; i++)
|
||||
sde_power_data_bus_set_quota(&priv->phandle, i,
|
||||
SDE_POWER_HANDLE_CONT_SPLASH_BUS_AB_QUOTA,
|
||||
SDE_POWER_HANDLE_CONT_SPLASH_BUS_IB_QUOTA);
|
||||
|
||||
_sde_kms_core_hw_rev_init(sde_kms);
|
||||
|
||||
pr_info("sde hardware revision:0x%x\n", sde_kms->core_rev);
|
||||
|
新增問題並參考
封鎖使用者