Workaround: These are work around which need to de addressed

DONOT MERGE

Change-Id: Ie1f5607e97c8ab5eaf74941fdb63151b5a7244c5
Signed-off-by: Naitik Bharadiya <bharad@codeaurora.org>
Signed-off-by: Rajshekar Eashwarappa <reashw@codeaurora.org>
This commit is contained in:
Rajshekar Eashwarappa
2019-12-14 20:19:19 +05:30
parent 169f4c52ea
commit f31f78f873
5 changed files with 11 additions and 7 deletions

View File

@@ -3471,6 +3471,7 @@ static int __init clk_debug_init(void)
struct clk_core *core;
struct dentry *d;
return 0;
rootdir = debugfs_create_dir("clk", NULL);
if (!rootdir)

View File

@@ -1279,6 +1279,8 @@ static int _init_global_pt(struct kgsl_mmu *mmu, struct kgsl_pagetable *pt)
goto done;
}
context_bank_number = cb_num;
#if 0
/* Disable mmu_aperture pgming call temporarly as its not supported in SDM660 */
if (!MMU_FEATURE(mmu, KGSL_MMU_GLOBAL_PAGETABLE) &&
scm_is_call_available(SCM_SVC_MP, CP_SMMU_APERTURE_ID)) {
ret = kgsl_program_smmu_aperture();
@@ -1288,7 +1290,7 @@ static int _init_global_pt(struct kgsl_mmu *mmu, struct kgsl_pagetable *pt)
goto done;
}
}
#endif
ctx->cb_num = cb_num;
ctx->regbase = iommu->regbase + KGSL_IOMMU_CB0_OFFSET
+ (cb_num << KGSL_IOMMU_CB_SHIFT);

View File

@@ -2510,7 +2510,8 @@ int kgsl_pwrctrl_init(struct kgsl_device *device)
KGSL_PWR_ERR(device,
"Failed to register client with CX Ipeak %d\n",
result);
goto error_cleanup_pwr_limit;
//goto error_cleanup_pwr_limit;
result = 0;
}
}
return result;

View File

@@ -147,7 +147,7 @@ void vbif_lock(struct platform_device *parent_pdev)
if (!parent_pdev)
return;
mdp_vbif_lock(parent_pdev, true);
// mdp_vbif_lock(parent_pdev, true);
}
void vbif_unlock(struct platform_device *parent_pdev)
@@ -155,7 +155,7 @@ void vbif_unlock(struct platform_device *parent_pdev)
if (!parent_pdev)
return;
mdp_vbif_lock(parent_pdev, false);
// mdp_vbif_lock(parent_pdev, false);
}
void sde_mdp_halt_vbif_xin(struct sde_mdp_vbif_halt_params *params)

View File

@@ -28,9 +28,9 @@
#define COMMON_CAP2_PERMS "mac_override", "mac_admin", "syslog", \
"wake_alarm", "block_suspend", "audit_read"
#if CAP_LAST_CAP > CAP_AUDIT_READ
#error New capability defined, please update COMMON_CAP2_PERMS.
#endif
//#if CAP_LAST_CAP > CAP_AUDIT_READ
//#error New capability defined, please update COMMON_CAP2_PERMS.
//#endif
/*
* Note: The name for any socket class should be suffixed by "socket",