Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp37276764rwd; Tue, 11 Jul 2023 11:54:43 -0700 (PDT) X-Google-Smtp-Source: APBJJlGnNDsY3vV1+qNLtwMZaH+XCPUjtEBjQWkEHhk3Rm0XDdeKS+a41yhSjKmcR7Iboj344vH3 X-Received: by 2002:a17:907:8d11:b0:992:825d:71f1 with SMTP id tc17-20020a1709078d1100b00992825d71f1mr16883376ejc.39.1689101682876; Tue, 11 Jul 2023 11:54:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689101682; cv=none; d=google.com; s=arc-20160816; b=xucHoSXYKq2ZqQIBwrEpYnQ+TQVMtSTdVAxCIaep9EfdbwsPwn/6C2P0WfqQcikAds U5ywoPrg7/V5OOyBMWfCUWsxmMxl0JmbitXOPc8XmIN8/uNz3407jz732jFT0BCO7F+T +DDhZLqCO02M2to2Lp1vudVXFy2DFM90jlIjWFBe/NdLV29T7dC0ShlbSNlKhQ7rA8+B xmSspP/0lbLGG49X6XJ2frgDjlvAhrAscZoPZ/sh1LvsZIkCBD0nOR0lIO2AqXcYGEG+ wf12UfynQ6KXoAJNMWPzquywnCEiw2cmfrvEWYuameinY5Hvjm0S9txefKpzylaOxxsw NePw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=51D9c0yVqzyFZCZkTJ0kt3i/VPXv4eay4HZNWC1auNY=; fh=BncUZjMCtcOK5uAaj1r5rCAqjEyMGL2ADDJ79NYOwDA=; b=T9BrOmxXBB8RxITkECg7V65sciLippSdFrNM1a0lrbXNRXcUOAf15CpmuTt7z2PjO5 BTkZTtnOaftrbY1Mx8ZZqjeJmg3PVPkmsx5g2h9gmk+5rNuoT+VTXC8KHwyP5BTT4L6u Hqqqfu/oCiLOnwemgAwi0ONvU1XPqH6BtuXxqZRN9Lx545PscU2c/8g0cDVKPa67HAys RtHmzsIOviXcwn+lMgW5Gu74cdcVH1ZWgZf05gupk/UwWf3fedVT7tTbHayYktH+TutU DrUrnXEs0dDJHePAbjQwviD53pwgbRfYHCxca62MahX5j5T8rWCV0v/Gd3KW3dqbEXxY /rWQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20221208 header.b=Gcs0mnql; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id u25-20020a170906409900b00993689daad2si2940240ejj.879.2023.07.11.11.54.19; Tue, 11 Jul 2023 11:54:42 -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=@gmail.com header.s=20221208 header.b=Gcs0mnql; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231765AbjGKRyV (ORCPT + 99 others); Tue, 11 Jul 2023 13:54:21 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50932 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231308AbjGKRyT (ORCPT ); Tue, 11 Jul 2023 13:54:19 -0400 Received: from mail-pl1-x636.google.com (mail-pl1-x636.google.com [IPv6:2607:f8b0:4864:20::636]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EF4D8E75; Tue, 11 Jul 2023 10:54:18 -0700 (PDT) Received: by mail-pl1-x636.google.com with SMTP id d9443c01a7336-1b895a06484so30662265ad.1; Tue, 11 Jul 2023 10:54:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1689098058; x=1691690058; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=51D9c0yVqzyFZCZkTJ0kt3i/VPXv4eay4HZNWC1auNY=; b=Gcs0mnql8X3fsKI4gmoydVQVgblWa79bdy2+0+otEJiCi1adxEiy9VHGCNDkKW8YgL 6Tt4mVCfrwo+Xatv5kG92nimpb5P60z2S93KR3RYlAvisz1GWKFOg6YorffdFlFMDDOJ pp/XRTTmTQ1jHfu/tgDyNpMc0wg8iCiurHDY60lrPMVMu0BTYD7oO+BIZP/mWORRAYBa yKYa+i5BQVwpyqPFx2ihW0gtMLfuTNwSVN/XUtxaHT3xsoFO60hB1dnHH7sJ4bGBO2PY X41+jBiiHzyQsx1XITHYpYrLHA65bjv/X2UQqfBt0J4wkWATpMj38zKnDmeMI4HMWJq5 o4gA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1689098058; x=1691690058; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=51D9c0yVqzyFZCZkTJ0kt3i/VPXv4eay4HZNWC1auNY=; b=i/fqAkQgzeLI3aL6XAiaKZDjUO23sN/4DYTvJrbKupGpRA8ix+PBGPrtHAwQY80mSg 8bIvEAEOjN+OxvQ8NncgzI7++zEf7NiGFaAz4aSQBpW0pQHhS5iRIOh7ihEzyo+z5As1 bePBH4BPb9mj9T/B3liWS2KhvaBJrZ3T+yl2oUyPsUgDpGpqiJ2pZi2AjUQx0D32QdBs 1rRZH7hMmWs8h+fLNAWIE93DaGr3znQu5kp7FcEy/1m1MaX1xAQ+3kchOPxbirmdyHeI XEQCFjJ+qnFGu+1tG59oXy4mrLl3IEKa8WDJz/IWKzrkRhVW9RplwFbl0D096KHvD+O0 X70g== X-Gm-Message-State: ABy/qLbflvVfFMZJJSkuyV/rsHMHTehikqtVzEHA/aHzDqUZQCmyYcia WNHIq2BXsH2pAn9JHYS+blk= X-Received: by 2002:a17:902:e54a:b0:1b7:f99f:63c9 with SMTP id n10-20020a170902e54a00b001b7f99f63c9mr16862415plf.67.1689098058301; Tue, 11 Jul 2023 10:54:18 -0700 (PDT) Received: from localhost ([2a00:79e1:abd:4a00:6c80:7c10:75a0:44f4]) by smtp.gmail.com with ESMTPSA id x11-20020a170902820b00b001b8a85489a3sm2191062pln.262.2023.07.11.10.54.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 11 Jul 2023 10:54:17 -0700 (PDT) From: Rob Clark To: dri-devel@lists.freedesktop.org Cc: linux-arm-msm@vger.kernel.org, freedreno@lists.freedesktop.org, Rob Clark , Rob Clark , Abhinav Kumar , Dmitry Baryshkov , Sean Paul , Marijn Suijten , David Airlie , Daniel Vetter , Akhil P Oommen , linux-kernel@vger.kernel.org (open list) Subject: [PATCH] drm/msm/adreno: Fix snapshot BINDLESS_DATA size Date: Tue, 11 Jul 2023 10:54:07 -0700 Message-ID: <20230711175409.157800-1-robdclark@gmail.com> X-Mailer: git-send-email 2.41.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE, URIBL_BLOCKED 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 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