From patchwork Tue Sep 26 18:24:37 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Konrad Dybcio X-Patchwork-Id: 13399528 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id C2687E7E657 for ; Tue, 26 Sep 2023 18:24:52 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id E3F3610E41A; Tue, 26 Sep 2023 18:24:48 +0000 (UTC) Received: from mail-ed1-x534.google.com (mail-ed1-x534.google.com [IPv6:2a00:1450:4864:20::534]) by gabe.freedesktop.org (Postfix) with ESMTPS id B507610E419 for ; Tue, 26 Sep 2023 18:24:45 +0000 (UTC) Received: by mail-ed1-x534.google.com with SMTP id 4fb4d7f45d1cf-533df112914so6689190a12.0 for ; Tue, 26 Sep 2023 11:24:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1695752684; x=1696357484; darn=lists.freedesktop.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=rdOeaLeHcwftMyYfA8G29tOCdXwXQaoJFb0mcu8r5zw=; b=jf24Le9qR5cS+fhhexHcYAINNK7zNzXE4VwoFnNF123msoHWaoztIej/tM2jnSO3qM jNqS384/kwJHwloNaKeBD5XUSMC1jJURROIOBSwa6tRfLNF6lcKMTkfhHhbIgnW9ZrQc jRiNyzvDtoQ+Nrz7FosjWcoD1tfdjXO7e0HJIBzJ0BDO7ALkBZI6J75Xan44X8ENlEtd L2YbGuF9rqd02P3Lizyxg6zUhGrKfP3bI79L707ikmGCCV4aG0lNoHKo3vz3dj94Ha2P 9Z3WWJD8aNEsMLnU6I/s/IgfU2OGiwbkQ487vf3yAkRD05K0TR1L8ptFbh4OKihRPrF1 dhnA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1695752684; x=1696357484; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=rdOeaLeHcwftMyYfA8G29tOCdXwXQaoJFb0mcu8r5zw=; b=M59184Ib9DmVuQVs24guONqeNCkPIxO2hgdX7O38Q47imu81Mb2f6GRDPmGSau7SdN AwJc8LtmF1O0yRwbO8MRFCJEThRmrGegz/0gjDsY/Kj6IcmwUEJz35Qp0TxPxWCqSPuf 55iDm9HvpkWT2sbGUZu9iBG1Q0w1VEyQBl0tY0M9oBCV7AkgCnRN5VcP9Ti+uS7cZwKz 4hQEGudo/SBiJNm6joEklDPcTfpac/0FC0X/iavuvgcBzR2fOrK50flC7hpl9HvaqE3h cB9XhPmbkVwnraxjGEUHzTAunUMHgo2+fuv8vcV3IVnC+BA1QH/RLM6BinJqRjijTMGf +xBg== X-Gm-Message-State: AOJu0YyWdZXEA2yhGMkeMwGKr6VfPW684ayA8+evN+vZ/Ddlnohxg2ma WLYAa3ALkYf3x6IMAa6364WBTw== X-Google-Smtp-Source: AGHT+IFNPKWtqP96Z/0gyVWxTahuOivQkjQlQvuDt3caSQC/FoLkRgSGW7croA7ASQ1ChCEC2PL20g== X-Received: by 2002:aa7:d0c2:0:b0:51d:f5bd:5a88 with SMTP id u2-20020aa7d0c2000000b0051df5bd5a88mr10428662edo.38.1695752684159; Tue, 26 Sep 2023 11:24:44 -0700 (PDT) Received: from [10.167.154.1] (178235177023.dynamic-4-waw-k-1-1-0.vectranet.pl. [178.235.177.23]) by smtp.gmail.com with ESMTPSA id f19-20020a056402151300b0053090e2afafsm7020643edw.22.2023.09.26.11.24.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 26 Sep 2023 11:24:43 -0700 (PDT) From: Konrad Dybcio Date: Tue, 26 Sep 2023 20:24:37 +0200 Subject: [PATCH 2/7] drm/msm/adreno: Add ZAP firmware name to A635 MIME-Version: 1.0 Message-Id: <20230926-topic-a643-v1-2-7af6937ac0a3@linaro.org> References: <20230926-topic-a643-v1-0-7af6937ac0a3@linaro.org> In-Reply-To: <20230926-topic-a643-v1-0-7af6937ac0a3@linaro.org> To: Rob Clark , Abhinav Kumar , Dmitry Baryshkov , Sean Paul , David Airlie , Daniel Vetter , cros-qcom-dts-watchers@chromium.org, Andy Gross , Bjorn Andersson , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Stephen Boyd , Akhil P Oommen X-Mailer: b4 0.12.2 X-Developer-Signature: v=1; a=ed25519-sha256; t=1695752677; l=810; i=konrad.dybcio@linaro.org; s=20230215; h=from:subject:message-id; bh=j4J3bf93En8hfomc6iMl3gRDui2N6DxaHKguZItPSOc=; b=Z/8uVHWeeJiYMBhmKxURKKCY6E5ujoQW1IdowESmbyutCxeRpM55YuxSzaiPf3F/h1M6I0ebF Yo50w8YlEoVB1iHo9jiNgpsMDNM+4THYBPUM/ETvorOic57gT4f4kk5 X-Developer-Key: i=konrad.dybcio@linaro.org; a=ed25519; pk=iclgkYvtl2w05SSXO5EjjSYlhFKsJ+5OSZBjOkQuEms= X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Rob Clark , devicetree@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, Luca Weiss , Konrad Dybcio , Marijn Suijten , freedreno@lists.freedesktop.org Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" 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", .hwcg = a660_hwcg, .address_space_size = SZ_16G, .speedbins = ADRENO_SPEEDBINS(