Received: by 2002:a05:6358:7058:b0:131:369:b2a3 with SMTP id 24csp1541538rwp; Thu, 13 Jul 2023 12:26:32 -0700 (PDT) X-Google-Smtp-Source: APBJJlHWHYzNXGCpSyKeSKqseMt7ri7dxiYBJ2F9vzgjxUjFMMvElB6qAdtSuuOEe+aV4BZp9ank X-Received: by 2002:a05:6a00:391f:b0:668:6723:547b with SMTP id fh31-20020a056a00391f00b006686723547bmr2213018pfb.2.1689276391945; Thu, 13 Jul 2023 12:26:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689276391; cv=none; d=google.com; s=arc-20160816; b=oPx3VhxdT82rQf1JasCNcE8PLpEixlg2nOhsv9TAU+vRfewXoRUNJ26VyP9av5UDbm hdd6mJkZ6XT+zKaS+pNegX8z0ZonjgcryCTUdwEBkID7TPuIGy54TkVGj7GCaut96T/c AwVQ8ea5SzlAoVGvttvug7abZV3vLLOUtZX3b3FHSsBlYD+YM+Aqz7vREI2y4yyNoBkL +u8n2438qRcYhpTPtc/GFaaQhzBElH03cwJC6y1Ke42urxoSTSVyaUJXMiR0zm2Iwf2g 9wPzUfCCFDJj5B+tpuFFbn07DEEqLge/NV2uBqwdg9p6zkG97sMv2/0LWrgCR8qn52FR 5k2A== 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=w0ZsrTSnOBfStnjIXUJ6185VAcOLGCvpnM2Umu/Mklo=; fh=0vM2zMC253Aeug4sAo3Rl4h6OD4fn5e3Cd0W9zwwAk4=; b=SvelHj2DomLcsnIx9Aa+0OOUf4AliuUa1f6iICDbkT63ipUpZxcXErlT4CizJQe5Q3 o5VpZD2JvLLCS/YVJ6vnHly8aXsYgX8/2cefuIQGOx1DsCP/6/Gklcp4xHM278w/zj/L uwxpxSOBwlIbRfk5fFTr8VdxRlP0zJmINddTaIW1TV3QFq7Kniin4Wgz5tXx/VLE/HIB bjcCUWA6mOtjPnIOMzROmzvtx4zPTRf7uPGKhKTx8ZnMyL4LpJ0SDfmsaAZbWtQh3/IJ gAYQ+5ZGI9YCVY51o3OLD0Mj+VZIJRD6uKuXBp2L1mTkVX51q21YF49E5tb6HEHkG0jn 6KSA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=DA+YGwdD; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id l17-20020a656811000000b005503f25aac2si5797827pgt.241.2023.07.13.12.26.19; Thu, 13 Jul 2023 12:26:31 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=DA+YGwdD; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232007AbjGMSwo (ORCPT + 99 others); Thu, 13 Jul 2023 14:52:44 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47140 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231926AbjGMSwm (ORCPT ); Thu, 13 Jul 2023 14:52:42 -0400 Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 88B5E2709; Thu, 13 Jul 2023 11:52:39 -0700 (PDT) Received: from pps.filterd (m0279869.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 36DIkoAw006900; Thu, 13 Jul 2023 18:52:17 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=w0ZsrTSnOBfStnjIXUJ6185VAcOLGCvpnM2Umu/Mklo=; b=DA+YGwdDHG5Qug2ScDMBOWU+TDWDQcYA0Yy4RaZpXbSlwSsnfNhV5qNfVmroQwRiNvOS joD6si7BFOV4eknx0kBCrFIMcHC+dZ8ARE+Cj94txz0gXSZilfdryIoWbL4hz2LUFWpJ LeivQSGry+2w3+xYPMHBUPUomLCm3K7gbeqPT8ZBcDx9Rc63G4p/BtW78sckFzuybGg4 WrC1MbuwX4rqoFlAsI/5v/rbDx+4zAWoquE2ZqOF964EEuRjHiBiGB6KLEp8r5Eyir9n hWvqYz3sCl34k10P2wiJqyWCc/R9kE3Ou4f7a5w1m5HYokcYxZHMHl91ODU5XFnV5NH3 YA== Received: from nalasppmta02.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3rtpuhr09s-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 13 Jul 2023 18:52:16 +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 36DIqFLX017392 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 13 Jul 2023 18:52:15 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.30; Thu, 13 Jul 2023 11:52:11 -0700 Date: Fri, 14 Jul 2023 00:22:08 +0530 From: Akhil P Oommen To: Rob Clark CC: , , , Rob Clark , Abhinav Kumar , Dmitry Baryshkov , Sean Paul , Marijn Suijten , David Airlie , "Daniel Vetter" , open list Subject: Re: [PATCH] drm/msm/adreno: Fix snapshot BINDLESS_DATA size Message-ID: <3ect6gyn4ylhrkql5isb2x3bbfg55yohhgivszejtvsjxfn6s7@ricinp6rf3i4> References: <20230711175409.157800-1-robdclark@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline In-Reply-To: <20230711175409.157800-1-robdclark@gmail.com> 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-GUID: rfpCF3EEy1A_-RnZU5MYwVDSeJFMgYeS X-Proofpoint-ORIG-GUID: rfpCF3EEy1A_-RnZU5MYwVDSeJFMgYeS X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.254,Aquarius:18.0.957,Hydra:6.0.591,FMLib:17.11.176.26 definitions=2023-07-13_07,2023-07-13_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 priorityscore=1501 clxscore=1011 mlxlogscore=999 spamscore=0 malwarescore=0 bulkscore=0 impostorscore=0 adultscore=0 phishscore=0 lowpriorityscore=0 suspectscore=0 mlxscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2306200000 definitions=main-2307130168 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_BLOCKED, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Jul 11, 2023 at 10:54:07AM -0700, Rob Clark wrote: > > From: Rob Clark > > The incorrect size was causing "CP | AHB bus error" when snapshotting > the GPU state on a6xx gen4 (a660 family). > > Closes: https://gitlab.freedesktop.org/drm/msm/-/issues/26 > Signed-off-by: Rob Clark > --- > drivers/gpu/drm/msm/adreno/a6xx_gpu_state.h | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/gpu/drm/msm/adreno/a6xx_gpu_state.h b/drivers/gpu/drm/msm/adreno/a6xx_gpu_state.h > index 790f55e24533..e788ed72eb0d 100644 > --- a/drivers/gpu/drm/msm/adreno/a6xx_gpu_state.h > +++ b/drivers/gpu/drm/msm/adreno/a6xx_gpu_state.h > @@ -206,7 +206,7 @@ static const struct a6xx_shader_block { > SHADER(A6XX_SP_LB_3_DATA, 0x800), > SHADER(A6XX_SP_LB_4_DATA, 0x800), > SHADER(A6XX_SP_LB_5_DATA, 0x200), > - SHADER(A6XX_SP_CB_BINDLESS_DATA, 0x2000), > + SHADER(A6XX_SP_CB_BINDLESS_DATA, 0x800), > SHADER(A6XX_SP_CB_LEGACY_DATA, 0x280), > SHADER(A6XX_SP_UAV_DATA, 0x80), > SHADER(A6XX_SP_INST_TAG, 0x80), > -- > 2.41.0 > Reviewed-by: Akhil P Oommen -Akhil