From patchwork Wed Jun 26 07:53:16 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Neil Armstrong X-Patchwork-Id: 807574 Received: from mail-wm1-f41.google.com (mail-wm1-f41.google.com [209.85.128.41]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 5BCB515CD63 for ; Wed, 26 Jun 2024 07:53:20 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.41 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1719388402; cv=none; b=DC2poUj7L+jOahay2JePMd3UkNIkCDU/WEd+pK1PT5H9PfvQLcGEkhQfxuvXPOXAe6I0mDObDWj73wmfS2H1GyJ88xBFfzoYjpaJ9NHx/866A1waSuGlukK803srv4NxbK8TtXe97P2cdxb2lUyUMMqBmbRyJWGtCAVCL8pgkcw= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1719388402; c=relaxed/simple; bh=bUFnBCaoWkPM+lGdjHQoFsITf35bWEg8TZpL0ja8QGc=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:To:Cc; b=l3wiFgF2+vNG4eQBNa4t7p//rzwoFKP2AZHPBygb4m/OIu8ntwEfLSYxtJr0RspSzEQRyERWgJB7H8u5fMMDurYUVEdo3OilrGUyi6Rniq9rFk1cFeeSOvlFcJFh3oXp6A949e0fr6ymU/uP6pn9DQSa/cnU9Vrh5d5lK48dp/8= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=k6niCmol; arc=none smtp.client-ip=209.85.128.41 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="k6niCmol" Received: by mail-wm1-f41.google.com with SMTP id 5b1f17b1804b1-42499b98d4cso13922535e9.2 for ; Wed, 26 Jun 2024 00:53:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1719388398; x=1719993198; darn=vger.kernel.org; h=cc:to:message-id:content-transfer-encoding:mime-version:subject :date:from:from:to:cc:subject:date:message-id:reply-to; bh=T1area+MaFWUDermRoLera9+4OUrjSIeeXP24Yb/vWo=; b=k6niCmoltEvwMZ/G1X+5pgrQ1CA3GA6qsMYx4uOz7QnZ3bpXfVSVQ6qZCx58cUenq9 yQMnJXgXcOljTWlvjO+Q483RsZJNDuBeaZWW9bS8DuKlUYegcKOANb81EuRYYfbz4fOt tYdqBAxmWLQdn5RQ4yXFeTMm3vg2DCp5iL5CVrhc/tEemvbPahe2FQHzCGAgiRxW4NUM EdvcW06TXw+ibb1uDtHs/B7LxHnlXuCUyi0hRzDJWXiHyz3y49YwQqSiKfgiPm/6qj4F yuIRQUIl2geKkSlF1XvOvnEIdLU3Vz75ZDFwET980z8VUcuzasPEc9rap0ncfUVm8Gp7 sfyw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1719388398; x=1719993198; h=cc:to:message-id:content-transfer-encoding:mime-version:subject :date:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=T1area+MaFWUDermRoLera9+4OUrjSIeeXP24Yb/vWo=; b=HW4h4+Pr8X/WkQL266uj4G+6AGKXz3WC96Qxq6H6S1Rrt/liizWrQXH91h+V+xVnlQ yPW8yW+ZVjzWa2sNkiVJcTMZXYSdpHxNtF+0a2dGhGVmYGWAhjI/X9cmdVKhbs8A5ir8 JZwE6LTT8sKm3IHSg8yT/NOCsC0ukR0dVMIAkupKhq/wdp8kloyAAbIkEFX05+2WgaJi aOgLUnSQ/9oR9aTpvL7x2cLavqbavfFSyjuxId/9t6dR1t1zy5/qN140rCLq/W+umGYf 739LAx+4+z0rLGRYpIXbwSmc7YOPJUPsYsqP9pEXpq6OWvaplC77WwyAQ57rax9P0LOZ nYBQ== X-Forwarded-Encrypted: i=1; AJvYcCWPUA2lTnF8hHPtlLeLkfzxVjY3lXvgz9iBAyubBigbO+dHNq34WdsTr+NgNo29y7D0JExEsi+0Za6YdNCCLAqRoQJOXhFAP3D6sICxZQ== X-Gm-Message-State: AOJu0YyYfqHbUbhFQDMc0GMmZEsd3KF91FxI+ke8l94ahMcqilugJsvc N23WV03dYOgwsGxNTYydUgqjHPnl1AZ2kMu5sMDXUvWcicd7AosZaHr27XqPQ+4= X-Google-Smtp-Source: AGHT+IEKkrz0XZ/FGEkp/KPMY67ejxiTdOZ2Rr+AaQrnwx9g/w+KQHYoLnBiwYIQALSatGlYPyNnbA== X-Received: by 2002:a05:600c:54e1:b0:424:9024:d45e with SMTP id 5b1f17b1804b1-4249024d4c3mr52628185e9.4.1719388398204; Wed, 26 Jun 2024 00:53:18 -0700 (PDT) Received: from arrakeen.starnux.net ([2a01:e0a:982:cbb0:52eb:f6ff:feb3:451a]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-424c846a8f0sm15220405e9.42.2024.06.26.00.53.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 26 Jun 2024 00:53:17 -0700 (PDT) From: Neil Armstrong Date: Wed, 26 Jun 2024 09:53:16 +0200 Subject: [PATCH] drm/msm/adreno: fix a7xx gpu init Precedence: bulk X-Mailing-List: linux-arm-msm@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20240626-topic-sm8x50-upstream-fix-a7xx-gpu-init-v1-1-ff0a0b7c778d@linaro.org> X-B4-Tracking: v=1; b=H4sIAOvIe2YC/x2NQQqDMBAAvyJ77kKa2qT2K6WHNV3tHowhG0tA/ Luhx4FhZgflLKzw7HbI/BOVNTa4XjoIX4ozo3wagzW2N846LGuSgLo86t3glrRkpgUnqUi+Vpz ThhKl4DAFGnzvRvI3aLWUuUn/0+t9HCcYzCoBeQAAAA== To: Rob Clark , Sean Paul , Konrad Dybcio , Abhinav Kumar , Dmitry Baryshkov , Marijn Suijten , David Airlie , Daniel Vetter Cc: Rob Clark , linux-arm-msm@vger.kernel.org, dri-devel@lists.freedesktop.org, freedreno@lists.freedesktop.org, linux-kernel@vger.kernel.org, Neil Armstrong X-Mailer: b4 0.13.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=1250; i=neil.armstrong@linaro.org; h=from:subject:message-id; bh=bUFnBCaoWkPM+lGdjHQoFsITf35bWEg8TZpL0ja8QGc=; b=owEBbQKS/ZANAwAKAXfc29rIyEnRAcsmYgBme8jssCMYsrSvaqz+TTf5G43VRs8w40xKxUjTe1ob Oi2BEbKJAjMEAAEKAB0WIQQ9U8YmyFYF/h30LIt33NvayMhJ0QUCZnvI7AAKCRB33NvayMhJ0Rl8EA CTLPfyc5SoiA/wMMY88mBc4/bIBJu7jvcEe9ZWRP2vZij3UYKZ8m3vriQasDVE5InlydLVkg6NPDya x9k0G9sB4fUth9fcDSkLPwYRNd/boSaBKHdMVE21RYmI6Ey6j5c0l3Y3ImR8qk+pUsaWThoXD77zaW FS6C7W6uBc2kANexdq5RzGjmKsD18q8GFrUA8e7sS1q0FODY5NmLoCWt/R25Xb2V/CcRkvXuZpbdQ3 vTtoHxb6D+BhciasoGg5vxGDaSjDboUT8pGIUGE7rK29NDz1GLCqDWkIQZ7xG5uOqJ4BENhwwDHCSb ibaklVDg9H4cCZNguEoeEaFezXp4PAExiQocS93ubxtyqbYl+fxn2NZLZ29s5TYmfElTEaN4k11XIc l6c/Z7TYgDKfgwte0OGXaRP/cEln/0NJddsOnAqHEJMnIPoD9jbEtr2HfaaJ6Z3W1XPIyHwDY76P5y SMAPFgdVKK59j5ySK9ykgRqnr0AHXgEfhcMCx9Vm7dJA3skalFaIKirgQwUYCpsXugXZRurkoiF8h8 0q0jccQYhyd8OxbW3ONfn39pO/JcDEkbyRIDy9H2TKxQSOLuvJ9XX/86OLlHtcHqFH+4vlz1qsNupc xb3qT/JL4cSCDqcqT3oDtgXeAovGoZ2fN+62prqnqdZOSjhjaUECz4L1rgVA== X-Developer-Key: i=neil.armstrong@linaro.org; a=openpgp; fpr=89EC3D058446217450F22848169AB7B1A4CFF8AE The gpulist has twice the a6xx gpulist, replace the second one with the a7xx gpulist. Solves: msm_dpu ae01000.display-controller: Unknown GPU revision: 7.3.0.1 msm_dpu ae01000.display-controller: Unknown GPU revision: 67.5.10.1 msm_dpu ae01000.display-controller: Unknown GPU revision: 67.5.20.1 on SM8450, SM8550 & SM8560. Fixes: 8ed322f632a9 ("drm/msm/adreno: Split up giant device table") Signed-off-by: Neil Armstrong --- drivers/gpu/drm/msm/adreno/adreno_device.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- base-commit: 62c97045b8f720c2eac807a5f38e26c9ed512371 change-id: 20240626-topic-sm8x50-upstream-fix-a7xx-gpu-init-9fca9746ba73 Best regards, diff --git a/drivers/gpu/drm/msm/adreno/adreno_device.c b/drivers/gpu/drm/msm/adreno/adreno_device.c index 1e789ff6945e..cfc74a9e2646 100644 --- a/drivers/gpu/drm/msm/adreno/adreno_device.c +++ b/drivers/gpu/drm/msm/adreno/adreno_device.c @@ -33,7 +33,7 @@ static const struct adreno_gpulist *gpulists[] = { &a4xx_gpulist, &a5xx_gpulist, &a6xx_gpulist, - &a6xx_gpulist, + &a7xx_gpulist, }; static const struct adreno_info *adreno_info(uint32_t chip_id)