Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 49644357 authored by Hui Li's avatar Hui Li Committed by Gerrit - the friendly Code Review server
Browse files

msm: kgsl: Enable some essential features for A680 GPU



Enable PREEMPTION, IFPC, CONTENT_PROTECT, IOCOHERENT
supports for sdmshrike platform.

Change-Id: I8238c4ac7fff6c607b0eafb9fdfab13cdf44003f
Signed-off-by: default avatarHui Li <hul@codeaurora.org>
parent e168b52f
Loading
Loading
Loading
Loading
+4 −2
Original line number Diff line number Diff line
/* SPDX-License-Identifier: GPL-2.0-only */
/*
 * Copyright (c) 2002,2007-2020, The Linux Foundation. All rights reserved.
 * Copyright (c) 2002,2007-2021, The Linux Foundation. All rights reserved.
 */

#define ANY_ID (~0)
@@ -1336,7 +1336,9 @@ static const struct adreno_a6xx_core adreno_gpu_core_a650v2 = {
static const struct adreno_a6xx_core adreno_gpu_core_a680 = {
	.base = {
		DEFINE_ADRENO_REV(ADRENO_REV_A680, 6, 8, 0, ANY_ID),
		.features = ADRENO_RPMH | ADRENO_GPMU,
		.features = ADRENO_RPMH | ADRENO_GPMU |
			ADRENO_IOCOHERENT | ADRENO_CONTENT_PROTECTION |
			ADRENO_IFPC | ADRENO_PREEMPTION,
		.gpudev = &adreno_a6xx_gmu_gpudev,
		.perfcounters = &adreno_a6xx_legacy_perfcounters,
		.gmem_base = 0x100000,