Received: by 2002:a05:6358:7058:b0:131:369:b2a3 with SMTP id 24csp1586191rwp; Thu, 13 Jul 2023 13:13:29 -0700 (PDT) X-Google-Smtp-Source: APBJJlEHVElA/yWtNjVEyMdBBir20HI+KPujH4DKKQMt+xqO52Ex7n5c92Vswckw0t6aep3qiaCP X-Received: by 2002:aa7:d99a:0:b0:51e:166d:8e95 with SMTP id u26-20020aa7d99a000000b0051e166d8e95mr2581862eds.4.1689279209589; Thu, 13 Jul 2023 13:13:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689279209; cv=none; d=google.com; s=arc-20160816; b=s0fbNLVnoaRuRSzRKhFh1BXLylPq05NOHJVTFiFuMACnmqZNtpnR0FReMb5o0xOlIE RQMcoGZkT711qhIij9xGcadVqM9EWbwwb2oU30MYJ0dcJgyqYSCvd5O9dLRbYIqsMhSi vS4Pa3YYYYD82zTAQYzCNw0fnbwMzJj+wcGk1FrM48+1E/UT6WgRVZ82vIewh6FAI6Dw g7La4HiurQVJD5stkmZ2pp1DAEgv9yTsvhkr0NrsSJqiw3OoX4Ki/L5DRZuOdwR+YjmT Wzii5B9wSI6kUIprJCsMyPsx0RzeXTf8+kIeauyXV2pmjHY8o+G/wn/yOT6IkEyz4Xya /ebA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :content-language:references:cc:to:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=tkSK4Hprfqvy1sXh7+UPS2V9p+xt/zZPx5zVI9IIj2A=; fh=Wx3zWAMUUZjMTB6QxLYW1f/ZQ6OUWbNswc4jMFcuYjw=; b=Q9tLpWg/ucdiHHeINBh1mk2BrBW1g8S65Ob1A08BfkyQDOrpigVkcfrnbodoRHBqm+ 1kBk3HQ4vH4lrFlaLdqi8WcQbZu6QJg9CSaJSZcjjpUZ8jbElyUhsjVd9q5Qz8iEPwb2 FwJroEaOJ5nmyFZwpIyfyRbg+lasNOy2ytnZI88tiH9hEz6786VMuTgF6bpCoH09SVTO ZxYJwANXu3hLryjNv94YqBZxqQQDvJHSdPQWEt5BzKNkF7y7Lwhc1n1WMxYXZeUVcNAt T7wVv3SOt+ftAg3K76DO5LjP9mW3navk+w5FB6gOc8WbQdZFy2mFp2ykbBozNO8f2SHH 4hlg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=L7U6PT4g; 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=linaro.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id f1-20020a056402160100b0051fea43ceedsi2658602edv.249.2023.07.13.13.13.05; Thu, 13 Jul 2023 13:13:29 -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=@linaro.org header.s=google header.b=L7U6PT4g; 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=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232321AbjGMTxK (ORCPT + 99 others); Thu, 13 Jul 2023 15:53:10 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41596 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232396AbjGMTxJ (ORCPT ); Thu, 13 Jul 2023 15:53:09 -0400 Received: from mail-lf1-x12b.google.com (mail-lf1-x12b.google.com [IPv6:2a00:1450:4864:20::12b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 037A71BEB for ; Thu, 13 Jul 2023 12:53:08 -0700 (PDT) Received: by mail-lf1-x12b.google.com with SMTP id 2adb3069b0e04-4f9fdb0ef35so2051783e87.0 for ; Thu, 13 Jul 2023 12:53:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1689277986; x=1689882786; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=tkSK4Hprfqvy1sXh7+UPS2V9p+xt/zZPx5zVI9IIj2A=; b=L7U6PT4gRJmUhzc3i7IRnueruqmsdNXGog/dPpUVMruUPYVb0oqU7SxON1iD4YQxAP vDkd9HkZi2gB0XGHa1rK2dqh8gze/DIz3KMcqb/RcvJlas9besq0hEp4/Ci/QE7Pwnv/ qYsfXY57LEmSJ+MVyXub7Y/Lz12muLA8HN91GfTFUuji1Cg53XwqKHFm82kUbiKWztsw u0JayV0DURL81rR74Aa0PVq189o/XSYxpIIJC2if/0f1ri4SpEcpz3V01fdvourmNrkC /Z8cQ/2Zpsqg6j80zn7gnHjxkNazhOSsRaugR2PAfuU3dDWI6yI6pvmsehjHG+im3oDS zljg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1689277986; x=1689882786; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=tkSK4Hprfqvy1sXh7+UPS2V9p+xt/zZPx5zVI9IIj2A=; b=G0yQ4A4++GkTXvT5p6w4LBiiyMV000hjeZEkLylXx7sN618fl0X1K8opOxf1rbIDSM pGFjcl3itPIdx/BRgbGpNpseWrH8Wd58Dfj1wIlGPfJTRQag71Cek4MZxbGxRLxM7owN 71JE9R1BCzM8X4OzN4hDgtpA56MHjL+yJHEiLjnnOkYEh5efnJYAoJp28kGBoFfkikyW wXP8n7NlMXo1oAZ/Tkb4Tx/3Sioo8My0PfOumDGCCD+UX9w1wJUQW0tzgsVln/ic4Kpo TaXdnKmqQDbNbKKDMxKUL8Ah1E7UM0qdm0yOXt6radrVDPv2DUJVxgexQ+H8DG7EVzPG Lt9Q== X-Gm-Message-State: ABy/qLYx4MV5gPCewE6Ehvs9ilhLpyp8KOxrfmBs/jlwDldmh6zst7Ki JokS+8oIJpgl3wdCUE4lxqzoKQ== X-Received: by 2002:a05:6512:3f10:b0:4f7:6976:2070 with SMTP id y16-20020a0565123f1000b004f769762070mr2159598lfa.40.1689277986183; Thu, 13 Jul 2023 12:53:06 -0700 (PDT) Received: from [10.10.15.130] ([192.130.178.91]) by smtp.gmail.com with ESMTPSA id i12-20020ac2522c000000b004fa52552c82sm1224452lfl.155.2023.07.13.12.53.05 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 13 Jul 2023 12:53:05 -0700 (PDT) Message-ID: Date: Thu, 13 Jul 2023 22:53:04 +0300 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.13.0 Subject: Re: [PATCH] drm/msm/adreno: Fix snapshot BINDLESS_DATA size To: Rob Clark , dri-devel@lists.freedesktop.org Cc: linux-arm-msm@vger.kernel.org, freedreno@lists.freedesktop.org, Rob Clark , Abhinav Kumar , Sean Paul , Marijn Suijten , David Airlie , Daniel Vetter , Akhil P Oommen , open list References: <20230711175409.157800-1-robdclark@gmail.com> Content-Language: en-GB From: Dmitry Baryshkov In-Reply-To: <20230711175409.157800-1-robdclark@gmail.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.2 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A, 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 11/07/2023 20:54, 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 What about: Fixes: 1707add81551 ("drm/msm/a6xx: Add a6xx gpu state") ? > --- > 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), -- With best wishes Dmitry