msm: kgsl: Remove any eCP references

As this is not enabled for any a6xx.

Change-Id: I9f44301885dfcd24c79d18c857267a4225cdb26b
Signed-off-by: Harshdeep Dhatt <hdhatt@codeaurora.org>
This commit is contained in:
Harshdeep Dhatt 2020-03-27 03:17:29 -06:00
commit 317169acd3
4 changed files with 4 additions and 22 deletions

View file

@ -97,14 +97,12 @@
* for droop mitigation
*/
#define ADRENO_ACD BIT(17)
/* ECP enabled GMU */
#define ADRENO_ECP BIT(18)
/* Cooperative reset enabled GMU */
#define ADRENO_COOP_RESET BIT(19)
#define ADRENO_COOP_RESET BIT(18)
/* Indicates that the specific target is no longer supported */
#define ADRENO_DEPRECATED BIT(20)
#define ADRENO_DEPRECATED BIT(19)
/* The target supports ringbuffer level APRIV */
#define ADRENO_APRIV BIT(21)
#define ADRENO_APRIV BIT(20)
/*
* Adreno GPU quirks - control bits for various workarounds
*/

View file

@ -1416,15 +1416,6 @@ static int a6xx_gmu_cache_finalize(struct adreno_device *adreno_dev,
if (IS_ERR(md))
return PTR_ERR(md);
if (ADRENO_FEATURE(adreno_dev, ADRENO_ECP)) {
/* Allocation to account for future MEM_ALLOC buffers */
md = a6xx_gmu_kmem_allocate(gmu, GMU_NONCACHED_KERNEL,
0, SZ_32K,
(IOMMU_READ | IOMMU_WRITE | IOMMU_PRIV));
if (IS_ERR(md))
return PTR_ERR(md);
}
gmu->preallocations = true;
return 0;

View file

@ -403,7 +403,6 @@ static int a6xx_hfi_send_core_fw_start(struct a6xx_gmu_device *gmu)
}
static const char * const a6xx_hfi_features[] = {
[HFI_FEATURE_ECP] = "ECP",
[HFI_FEATURE_ACD] = "ACD",
[HFI_FEATURE_LM] = "LM",
};
@ -755,12 +754,6 @@ int a6xx_hfi_start(struct kgsl_device *device,
* send H2F_MSG_CORE_FW_START and features for A640 devices
*/
if (GMU_VER_MAJOR(gmu->ver.hfi) >= 2) {
if (ADRENO_FEATURE(adreno_dev, ADRENO_ECP)) {
result = a6xx_hfi_send_feature_ctrl(gmu,
HFI_FEATURE_ECP, 1, 0);
if (result)
return result;
}
result = a6xx_hfi_send_acd_feature_ctrl(gmu, adreno_dev);
if (result)

View file

@ -67,7 +67,7 @@ struct hfi_queue_table;
#define DCVS_ACK_BLOCK 1
#define HFI_FEATURE_DCVS 0
#define HFI_FEATURE_ECP 1
#define HFI_FEATURE_HWSCHED 1
#define HFI_FEATURE_PREEMPTION 2
#define HFI_FEATURE_CLOCKS_ON 3
#define HFI_FEATURE_BUS_ON 4