Loading drivers/gpu/msm/adreno-gpulist.h +5 −0 Original line number Diff line number Diff line Loading @@ -1047,6 +1047,7 @@ static const struct adreno_a6xx_core adreno_gpu_core_a620 = { .veto_fal10 = true, .hang_detect_cycles = 0x3ffff, .protected_regs = a620_protected_regs, .disable_tseskip = true, }; static const struct adreno_reglist a640_hwcg_regs[] = { Loading Loading @@ -1135,6 +1136,7 @@ static const struct adreno_a6xx_core adreno_gpu_core_a640 = { .vbif_count = ARRAY_SIZE(a640_vbif_regs), .hang_detect_cycles = 0x3fffff, .protected_regs = a630_protected_regs, .disable_tseskip = true, }; static const struct adreno_reglist a650_hwcg_regs[] = { Loading Loading @@ -1214,6 +1216,7 @@ static const struct adreno_a6xx_core adreno_gpu_core_a650 = { .pdc_in_aop = true, .hang_detect_cycles = 0x3fffff, .protected_regs = a620_protected_regs, .disable_tseskip = true, }; static const struct adreno_a6xx_core adreno_gpu_core_a650v2 = { Loading Loading @@ -1241,6 +1244,7 @@ static const struct adreno_a6xx_core adreno_gpu_core_a650v2 = { .pdc_in_aop = true, .hang_detect_cycles = 0x3ffff, .protected_regs = a620_protected_regs, .disable_tseskip = true, }; static const struct adreno_a6xx_core adreno_gpu_core_a680 = { Loading @@ -1266,6 +1270,7 @@ static const struct adreno_a6xx_core adreno_gpu_core_a680 = { .vbif_count = ARRAY_SIZE(a640_vbif_regs), .hang_detect_cycles = 0x3fffff, .protected_regs = a630_protected_regs, .disable_tseskip = true, }; static const struct adreno_reglist a612_hwcg_regs[] = { Loading drivers/gpu/msm/adreno_a6xx.c +2 −1 Original line number Diff line number Diff line Loading @@ -540,6 +540,7 @@ static void a6xx_start(struct adreno_device *adreno_dev) kgsl_regrmw(device, A6XX_PC_DBG_ECO_CNTL, 0, (1 << 8)); /* Set the bit vccCacheSkipDis=1 to get rid of TSEskip logic */ if (a6xx_core->disable_tseskip) kgsl_regrmw(device, A6XX_PC_DBG_ECO_CNTL, 0, (1 << 9)); /* Enable the GMEM save/restore feature for preemption */ Loading drivers/gpu/msm/adreno_a6xx.h +2 −0 Original line number Diff line number Diff line Loading @@ -66,6 +66,8 @@ struct adreno_a6xx_core { u32 hang_detect_cycles; /** @protected_regs: Array of protected registers for the target */ const struct a6xx_protected_regs *protected_regs; /** @disable_tseskip: True if TSESkip logic is disabled */ bool disable_tseskip; }; #define CP_CLUSTER_FE 0x0 Loading Loading
drivers/gpu/msm/adreno-gpulist.h +5 −0 Original line number Diff line number Diff line Loading @@ -1047,6 +1047,7 @@ static const struct adreno_a6xx_core adreno_gpu_core_a620 = { .veto_fal10 = true, .hang_detect_cycles = 0x3ffff, .protected_regs = a620_protected_regs, .disable_tseskip = true, }; static const struct adreno_reglist a640_hwcg_regs[] = { Loading Loading @@ -1135,6 +1136,7 @@ static const struct adreno_a6xx_core adreno_gpu_core_a640 = { .vbif_count = ARRAY_SIZE(a640_vbif_regs), .hang_detect_cycles = 0x3fffff, .protected_regs = a630_protected_regs, .disable_tseskip = true, }; static const struct adreno_reglist a650_hwcg_regs[] = { Loading Loading @@ -1214,6 +1216,7 @@ static const struct adreno_a6xx_core adreno_gpu_core_a650 = { .pdc_in_aop = true, .hang_detect_cycles = 0x3fffff, .protected_regs = a620_protected_regs, .disable_tseskip = true, }; static const struct adreno_a6xx_core adreno_gpu_core_a650v2 = { Loading Loading @@ -1241,6 +1244,7 @@ static const struct adreno_a6xx_core adreno_gpu_core_a650v2 = { .pdc_in_aop = true, .hang_detect_cycles = 0x3ffff, .protected_regs = a620_protected_regs, .disable_tseskip = true, }; static const struct adreno_a6xx_core adreno_gpu_core_a680 = { Loading @@ -1266,6 +1270,7 @@ static const struct adreno_a6xx_core adreno_gpu_core_a680 = { .vbif_count = ARRAY_SIZE(a640_vbif_regs), .hang_detect_cycles = 0x3fffff, .protected_regs = a630_protected_regs, .disable_tseskip = true, }; static const struct adreno_reglist a612_hwcg_regs[] = { Loading
drivers/gpu/msm/adreno_a6xx.c +2 −1 Original line number Diff line number Diff line Loading @@ -540,6 +540,7 @@ static void a6xx_start(struct adreno_device *adreno_dev) kgsl_regrmw(device, A6XX_PC_DBG_ECO_CNTL, 0, (1 << 8)); /* Set the bit vccCacheSkipDis=1 to get rid of TSEskip logic */ if (a6xx_core->disable_tseskip) kgsl_regrmw(device, A6XX_PC_DBG_ECO_CNTL, 0, (1 << 9)); /* Enable the GMEM save/restore feature for preemption */ Loading
drivers/gpu/msm/adreno_a6xx.h +2 −0 Original line number Diff line number Diff line Loading @@ -66,6 +66,8 @@ struct adreno_a6xx_core { u32 hang_detect_cycles; /** @protected_regs: Array of protected registers for the target */ const struct a6xx_protected_regs *protected_regs; /** @disable_tseskip: True if TSESkip logic is disabled */ bool disable_tseskip; }; #define CP_CLUSTER_FE 0x0 Loading