From 5cb2ca205ff5530821944c57fa04cce1c756d93b Mon Sep 17 00:00:00 2001 From: Rajesh Kemisetti Date: Mon, 2 Jan 2017 15:16:53 +0530 Subject: [PATCH] msm: kgsl: Enable Content Protection for A512 GPU Enable CPZ feature for A512 GPU on sdm660. This is required to process secure conent by GPU. Change-Id: Iaaedde4e56e331379be0b44b23527df0d5807f55 Signed-off-by: Rajesh Kemisetti --- drivers/gpu/msm/adreno-gpulist.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/msm/adreno-gpulist.h b/drivers/gpu/msm/adreno-gpulist.h index e6163384f9c1..6a00919f144b 100644 --- a/drivers/gpu/msm/adreno-gpulist.h +++ b/drivers/gpu/msm/adreno-gpulist.h @@ -1,4 +1,4 @@ -/* Copyright (c) 2002,2007-2016, The Linux Foundation. All rights reserved. +/* Copyright (c) 2002,2007-2017, The Linux Foundation. All rights reserved. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 and @@ -289,7 +289,8 @@ static const struct adreno_gpu_core adreno_gpulist[] = { .major = 1, .minor = 2, .patchid = ANY_ID, - .features = ADRENO_64BIT, + .features = ADRENO_64BIT | ADRENO_CONTENT_PROTECTION | + ADRENO_CPZ_RETENTION, .pm4fw_name = "a530_pm4.fw", .pfpfw_name = "a530_pfp.fw", .gpudev = &adreno_a5xx_gpudev,