Received: by 2002:a05:7412:d8a:b0:e2:908c:2ebd with SMTP id b10csp2735549rdg; Mon, 16 Oct 2023 13:13:50 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFXzSyQLyeFdTUxJs/rPkmUrqxnzjSG5NJjhmqSvSRZkS7m+3R7YY0Ofx/pih0qxwMSH51f X-Received: by 2002:a05:651c:220a:b0:2c5:98b:8bdb with SMTP id y10-20020a05651c220a00b002c5098b8bdbmr217221ljq.49.1697487230149; Mon, 16 Oct 2023 13:13:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697487230; cv=none; d=google.com; s=arc-20160816; b=ZzpMTA9sG0+nHFOVjegcHxL9Wc5pYfxHdeqCWVjctg+aJbJQQ9MSzOTZ6p5UfMreU+ x1q0qz2Xj9M20MPHyPQei0CajTkVhjABUc3gXYuyTkFonPzworhP0tr0U9oUe47FJrHi vKJw65HvLEpHXseF5iPT7YINitrnVBatBhxAaqkZs285bXSk3IFHAEzojKBXWZDtk/zl RlDp28/ivoqO1rplzDDpXxqhPzseeI7d4dO5cpJEMdnWGxDJ2BAWj7aF8AWF7ORcp/mF YPcdV8ntZ/uRJPLHrHYVKadDQKcHpg32677IXc6F17eIuRB4IJjM7nBzD5C58h4kOzJN GTUA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=9byl/lLhIxYYtGiGlPgMckCJZec72dWbspiyKRKlEg4=; fh=VKLZnvUaLRN/aiyV/zd0/IG5wivChj9XVyPKwK+eWNI=; b=oOGaMwF9rl1cgq7C58im5ELU2yiynL7PzEulkaza7tSTuIUiR+BEaDk9edSSfADPEX keD4OW5OvD6LtN0M0qaiHIzMHvS8roHi+xyl4rNw+C8NoRpFxh+1pkSk2IQ7jjhplcWx XV0xgRDn+2MuiXeWd7PXjp+T9RBacQLjQf/5bDrngAe0iwhm4Huw4y+DdgSLkUrbDbEa 8zUo3I4UqasZzRdOumK/4ZAPNFjJ8YDKy2Ga3MSOqbVZ+lwknP4/gANJ4o3HO0HvmuGR oWJqc9fx9tjHMZmLeN+xWHv5O1KkBe5iZ7QCXQNqpFTy3jyCDZlVvDLn0mFlOKFE0fJb NvUQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=IUteNXST; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Return-Path: Received: from howler.vger.email (howler.vger.email. [2620:137:e000::3:4]) by mx.google.com with ESMTPS id 18-20020a05651c00d200b002c50a22dd91si356979ljr.242.2023.10.16.13.13.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 16 Oct 2023 13:13:50 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) client-ip=2620:137:e000::3:4; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=IUteNXST; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by howler.vger.email (Postfix) with ESMTP id A3499809A81A; Mon, 16 Oct 2023 13:13:38 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at howler.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234174AbjJPUNG (ORCPT + 99 others); Mon, 16 Oct 2023 16:13:06 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38384 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234233AbjJPUMm (ORCPT ); Mon, 16 Oct 2023 16:12:42 -0400 Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 82AF1100; Mon, 16 Oct 2023 13:12:37 -0700 (PDT) Received: from pps.filterd (m0279862.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 39GKCBYX005670; Mon, 16 Oct 2023 20:12:11 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h=date : from : to : cc : subject : message-id : references : mime-version : content-type : in-reply-to; s=qcppdkim1; bh=9byl/lLhIxYYtGiGlPgMckCJZec72dWbspiyKRKlEg4=; b=IUteNXSTbP33SulPGXdNwA703jyVpNHumgQD23tTADL/V8yzAC61cIQZzlsih0W7PRbw DH2cxSH3oOP8JnbxNxZXHVhyqPy30TXkCsUoegEmboxxKOTvnI9+K6mvsdg7e2UywMvG 31ToAjGqQiMr/BM9S6Mmnz8AHB64cET14PjJ6AXhp3L+CgfGGp+tRRrCOM2ccNQTAT72 nUTPakFQ9OBWf4GY38c6+XO1htVP0jalh7j7EbkBMTnB5bPPkgo5p1SgGdl516KkuCQc l1JTLUP4itYI0UOXhH5ci7WenRsSvMBextuZ4wPl9AvOmSsgY4jGUIXbf1bZPr4uth8L aA== Received: from nalasppmta02.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3tsc00r02n-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 16 Oct 2023 20:12:11 +0000 Received: from nalasex01a.na.qualcomm.com (nalasex01a.na.qualcomm.com [10.47.209.196]) by NALASPPMTA02.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 39GKCAvB010719 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 16 Oct 2023 20:12:10 GMT Received: from akhilpo-linux.qualcomm.com (10.80.80.8) by nalasex01a.na.qualcomm.com (10.47.209.196) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1118.39; Mon, 16 Oct 2023 13:12:03 -0700 Date: Tue, 17 Oct 2023 01:41:59 +0530 From: Akhil P Oommen To: Konrad Dybcio CC: Rob Clark , Abhinav Kumar , Dmitry Baryshkov , Sean Paul , David Airlie , Daniel Vetter , , Andy Gross , Bjorn Andersson , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Stephen Boyd , Marijn Suijten , Luca Weiss , "Rob Clark" , , , , , Subject: Re: [PATCH 2/7] drm/msm/adreno: Add ZAP firmware name to A635 Message-ID: <43q6mui3lofa4rqh667o54b2qcbqn5fg34ss5o7y7k7uxbxsro@dxgovofsrvqx> References: <20230926-topic-a643-v1-0-7af6937ac0a3@linaro.org> <20230926-topic-a643-v1-2-7af6937ac0a3@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline In-Reply-To: <20230926-topic-a643-v1-2-7af6937ac0a3@linaro.org> X-Originating-IP: [10.80.80.8] X-ClientProxiedBy: nasanex01a.na.qualcomm.com (10.52.223.231) To nalasex01a.na.qualcomm.com (10.47.209.196) X-QCInternal: smtphost X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-ORIG-GUID: UOJ-DHna11eErJfOFBfC8zsLHc8pm-az X-Proofpoint-GUID: UOJ-DHna11eErJfOFBfC8zsLHc8pm-az X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.272,Aquarius:18.0.980,Hydra:6.0.619,FMLib:17.11.176.26 definitions=2023-10-16_10,2023-10-12_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 suspectscore=0 impostorscore=0 priorityscore=1501 mlxlogscore=999 adultscore=0 clxscore=1015 bulkscore=0 spamscore=0 mlxscore=0 phishscore=0 lowpriorityscore=0 malwarescore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2309180000 definitions=main-2310160176 X-Spam-Status: No, score=-0.8 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on howler.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (howler.vger.email [0.0.0.0]); Mon, 16 Oct 2023 13:13:38 -0700 (PDT) On Tue, Sep 26, 2023 at 08:24:37PM +0200, Konrad Dybcio wrote: > > Some (many?) devices with A635 expect a ZAP shader to be loaded. > > Set the file name to allow for that. > > Signed-off-by: Konrad Dybcio > --- > drivers/gpu/drm/msm/adreno/adreno_device.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/drivers/gpu/drm/msm/adreno/adreno_device.c b/drivers/gpu/drm/msm/adreno/adreno_device.c > index fa527935ffd4..16527fe8584d 100644 > --- a/drivers/gpu/drm/msm/adreno/adreno_device.c > +++ b/drivers/gpu/drm/msm/adreno/adreno_device.c > @@ -454,6 +454,7 @@ static const struct adreno_info gpulist[] = { > .quirks = ADRENO_QUIRK_HAS_CACHED_COHERENT | > ADRENO_QUIRK_HAS_HW_APRIV, > .init = a6xx_gpu_init, > + .zapfw = "a660_zap.mbn", sc7280 doesn't have a TZ and so no zap shader support. Can we handle this using "firmware-name" property in your top level platform dt? Zap firmwares are signed with different keys for each OEMs. So there is cross-compatibility anyway. -Ahil. > .hwcg = a660_hwcg, > .address_space_size = SZ_16G, > .speedbins = ADRENO_SPEEDBINS( > > -- > 2.42.0 >