From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 5A73227CCE0 for ; Wed, 8 Apr 2026 13:32:37 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=205.220.168.131 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1775655158; cv=none; b=UtPRBctov6kFkbZVbkVrOCOaGFy/F6s+dmNk/DZwHPNqk+Wk3nzcCejcgPk8oQuXNoC9gY4OzmP0BkjCblQZApDUqjjL//Ku2cG9xh8p7GHm+tpXU+7u4v1LF6kNMhk1Ma7YpmwIXpSW8WCUERiMWYYH2dAUZGJa0bkMZbdkIx8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1775655158; c=relaxed/simple; bh=XX3qEm907aHruAI8TZ2340Vb9mz3NyRZrDjcinuBtQI=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=rfbGx/999zmCk5M8gkG66r0I6obG5az1HBzT5gDZuR9L1ZoCNvlOxFRARWTjcw3gaM3SdfOxvAht/s3txc4Wo3U8dH7/NzLvbVzv8Smo2qMlSGqQIW84erhUrtzZeuzgfDKzscXQXCMUSiWXx51OkrsWQz+5JI5qHmXAUMEn0V4= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=oss.qualcomm.com; spf=pass smtp.mailfrom=oss.qualcomm.com; dkim=pass (2048-bit key) header.d=qualcomm.com header.i=@qualcomm.com header.b=kBehY+M0; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b=IdE13r+j; arc=none smtp.client-ip=205.220.168.131 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=oss.qualcomm.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=oss.qualcomm.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=qualcomm.com header.i=@qualcomm.com header.b="kBehY+M0"; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b="IdE13r+j" Received: from pps.filterd (m0279865.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id 638B2aZJ1006077 for ; Wed, 8 Apr 2026 13:32:36 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=qualcomm.com; h= cc:content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to; s=qcppdkim1; bh= D6RvOwvFYEYCyXFzHd+gy+nHIBkNAGshdd9r2tXEymo=; b=kBehY+M0qav69Qet 5ajjor4PS9U5phswhDEmanQbecRTIxjQkdHqhF4NtLP5+xxkqfqUh2xO9BG81xgV k6obVktxjCuWzBW98LLSnYKMlO1UesW5hFhzIpTCHT1G+eE7cNbofMkRQyckYdu4 dY+twkQcsdBJxw3Wo33I4F4aFPSuGM+lJJey994WLjG3K5+dkaY3dQt9NVWlP5uj uuTrFZfyzP6kuLu1Zn5H7N/1OZc8Ol0d4llDTZEOQOCdFybB13kFJSnoXfCCUsV6 kzfYcWFGZLe+k97XifhYyN25y3gbJQ2SK5bsJKLO0Ph0IeOy0NIFYmo2ClX4qEtz pwEmkQ== Received: from mail-qv1-f70.google.com (mail-qv1-f70.google.com [209.85.219.70]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 4dd7tpbgcn-1 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NOT) for ; Wed, 08 Apr 2026 13:32:36 +0000 (GMT) Received: by mail-qv1-f70.google.com with SMTP id 6a1803df08f44-8a016b99579so26476486d6.0 for ; Wed, 08 Apr 2026 06:32:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oss.qualcomm.com; s=google; t=1775655156; x=1776259956; darn=vger.kernel.org; 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=D6RvOwvFYEYCyXFzHd+gy+nHIBkNAGshdd9r2tXEymo=; b=IdE13r+jBSgxf0mtPgcldNodGgit/S4VL4KRJvxXryLDYHrvZr4Dn6VjVOqDvLpi/f vbEhXpmxYK8ShujyqeRdKu4FY34G4Xooq1RG57lCHqKZlj03NyGSt0HTSHtwbEfROLSD vzIqDCyGiN/YFpMRHSge5TxEtpz6PELqlerGv1rHJIs7lvEE0d+lWXwNFjT4Dp6G2oaQ Cic1SJWQdwfBOhdLdKSb36LU+CMamfyh6+LH8wVly527lSKlpj12BxJPv3yi93q2e9Hp 9Blt+nvgGGE5h6glqtb10KCsV+PjkTX6hpALDfOUk40KBvb9dKgCSavgefXINMVenupw hE3A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1775655156; x=1776259956; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :x-gm-gg:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=D6RvOwvFYEYCyXFzHd+gy+nHIBkNAGshdd9r2tXEymo=; b=pgG5SLMrzboqa21UVp5JmJKQdJGXswfy+uKqeZH1iECJyJqTBB+TM8QjFAz5cYwnvx 7IQGXa9mIYRA8DwlbDXBa7ov9lo6KGIR9rQwCrvn284lsuXo9jSyWwh2LQW2uy+kJsaV ZrpJG7eQIQqT44cTN2J7qZzsjyNRSGQMDR48lZsb2Ge5OkWbDuWPqGyNBtQG2Wx++2XV qGNS41KxCu2XwHAHASLngVEY2/2U1gk8YtO8/AjR05mNmMjISfPeAH2mT7s9Uyd+JjaY Ei3iXCN3QUlzU73dTTjAsNyqYXXGs2VKQKnmLxifp4a2cJaVoJZXfIgj/moX/0xKEhP7 yXZQ== X-Forwarded-Encrypted: i=1; AJvYcCUX366ylSQ1wjDQ5TdHn7OIg7g2T+oIDxcQ3Ikzn6SlHW98/QwDBLsukjavMqJTshCA+mPuIc3HCMu+HoI=@vger.kernel.org X-Gm-Message-State: AOJu0YyNAiolxxxkuDcHLGjpaTnW4PGZ3M5u5z1BlTjNWIlHBEiaYY1B Jot6PTLms2skJczNB0hKJyfkvuWhFEMHfU14bQu/wL0atoROvMnX3/AU5I5Lt6YEiybmzlya5ZE Rlh/MQrmdboyc8356/xmFt4pp+fdgTvS4Z3SdNKJMSbyPkBs8VcajmQ5WyW0HYyDrd7k= X-Gm-Gg: AeBDievZnq0ujTDDgP9svbakFGhoNMaG+i/0SmvJ9ytlEFoIPlgWCSOwfSP5KoJjriS xMpLuL7EZ4kbX8HYO9Pw0R5pUqQ26kICFP2UioI6MfurIi40HUdIihW3uGPDJ1TUpZVGUsU48w4 ye4ABFgmvk+JUBVGR3llL3TgJ7p8VhrGAyxqSuISlLtjNgKMJ/KEn9dj24EmytB5AUiuizY7F8C BxW+H0NmHfiO6xAkh5to3XOn6cJntkPX07p9grgI4c7ASyBnrzcZsRa9p3PnVFsugmsiTJ340cQ 7/OVyq6BMGsSWiId7WtC+2Tiz9sZ2J+dPbF0yWgM6GVHtBF2VhrgZn8Qk+iLa7BeSkr0BrrUXcq miDWxf8P80NB0lxs9aUS8Jdp8M18ZvRkoM2ZksoZdqv8FY/nlrL2pV1aWl+bjVR6Loo7p6YtySD a5nYk= X-Received: by 2002:a05:6214:29e4:b0:89a:564f:bbab with SMTP id 6a1803df08f44-8ac63fcca40mr36122596d6.3.1775655155385; Wed, 08 Apr 2026 06:32:35 -0700 (PDT) X-Received: by 2002:a05:6214:29e4:b0:89a:564f:bbab with SMTP id 6a1803df08f44-8ac63fcca40mr36122206d6.3.1775655154784; Wed, 08 Apr 2026 06:32:34 -0700 (PDT) Received: from [192.168.119.254] (078088045245.garwolin.vectranet.pl. [78.88.45.245]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-b9c3c97218esm647078566b.9.2026.04.08.06.32.31 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 08 Apr 2026 06:32:33 -0700 (PDT) Message-ID: <437414cc-e2a0-48c7-858f-65cc982d0861@oss.qualcomm.com> Date: Wed, 8 Apr 2026 15:32:29 +0200 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH 5/6] drm/msm/adreno: add Adreno 810 GPU support To: Alexander Koskovich Cc: Rob Clark , Dmitry Baryshkov , Abhinav Kumar , Jessica Zhang , Sean Paul , Marijn Suijten , Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , David Airlie , Simona Vetter , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Konrad Dybcio , Akhil P Oommen , Bjorn Andersson , Luca Weiss , linux-arm-msm@vger.kernel.org, dri-devel@lists.freedesktop.org, freedreno@lists.freedesktop.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org References: <20260331-adreno-810-v1-0-725801dbb12b@pm.me> <20260331-adreno-810-v1-5-725801dbb12b@pm.me> <6da36e75-effb-4e3e-a2f9-c0f3ebdbcc21@oss.qualcomm.com> Content-Language: en-US From: Konrad Dybcio In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Proofpoint-GUID: KggJbv-x3EbZiGLWsnpfefEi8Sn6xFA6 X-Proofpoint-Spam-Details-Enc: AW1haW4tMjYwNDA4MDEyNSBTYWx0ZWRfX2K4xipfmP9CZ CmnHjOlg/Yd+bGHFilxZgm1JLGc0bvoFfKS8G0DKZczmSy3NLnLTKjsmq67jlJq1rxJ2oaEtDMH 5X6tUKDbrS7rszcFu9b0igu3lwL7WOzPlsusnlG1Ge3mOPSc0o3XpDXv/WpCIa1c+KJhkuDNyEx N9JsJDv1XOlfUwd+94AMN2K9rgV5aLsiZYqJx3qWx4VvTLHwPIiMx3KE6e4ksMh+YtVFyd/mk1A PG3Me2XbRzMALJgiy1nIlxM0eo0qtl05qtLhhRsI1n2B5m+ZkRAZ7DBdZhM22D99qbE2nS4uW8f 4EePb1IWQOf4IO72ulKWV0zOnIGUQ4wRb1NMc2iJO73Zphg8dbsc7HdP747l/ugpdh2gpKeMBqT kqnef46Dop+L7Uy/VqqC7uh4lEdWgqV09GxaaA5zVAc/FSL66PK0ZSak0MWXb6RN+sX+K7CihYn xgx+kSjnBxPeV8eSVbA== X-Proofpoint-ORIG-GUID: KggJbv-x3EbZiGLWsnpfefEi8Sn6xFA6 X-Authority-Analysis: v=2.4 cv=DNS/JSNb c=1 sm=1 tr=0 ts=69d658f4 cx=c_pps a=oc9J++0uMp73DTRD5QyR2A==:117 a=FpWmc02/iXfjRdCD7H54yg==:17 a=IkcTkHD0fZMA:10 a=A5OVakUREuEA:10 a=s4-Qcg_JpJYA:10 a=VkNPw1HP01LnGYTKEx00:22 a=u7WPNUs3qKkmUXheDGA7:22 a=Um2Pa8k9VHT-vaBCBUpS:22 a=EUspDBNiAAAA:8 a=wpl9K_kFG4-g1iQaUfsA:9 a=QEXdDO2ut3YA:10 a=iYH6xdkBrDN1Jqds4HTS:22 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1143,Hydra:6.1.51,FMLib:17.12.100.49 definitions=2026-04-08_04,2026-04-08_01,2025-10-01_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 suspectscore=0 spamscore=0 lowpriorityscore=0 adultscore=0 priorityscore=1501 impostorscore=0 clxscore=1015 bulkscore=0 phishscore=0 malwarescore=0 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2604010000 definitions=main-2604080125 On 4/3/26 12:14 AM, Alexander Koskovich wrote: > On Wednesday, April 1st, 2026 at 6:15 AM, Konrad Dybcio wrote: > >> >> I may be on an older tag or something, but: >> >> $ diff /tmp/downstream.txt /tmp/upstream.txt >> 24a25 >>> { GEN7_SP_READ_SEL, 0x0001ff00, BIT(PIPE_NONE) }, >> 27,28c28,29 >> < { GEN8_TPL1_DBG_ECO_CNTL1, 0x04000724, BIT(PIPE_NONE) }, >> < { GEN8_UCHE_MODE_CNTL, 0x00020000, BIT(PIPE_NONE) }, >> --- >>> { GEN8_TPL1_DBG_ECO_CNTL1, 0x04000720, BIT(PIPE_NONE) }, >>> { GEN8_UCHE_MODE_CNTL, 0x80080000, BIT(PIPE_NONE) }, >> 31,32c32 >> < /* Disable write slow pointer in data phase queue */ >> < { GEN8_UCHE_HW_DBG_CNTL, BIT(8), BIT(PIPE_NONE) }, >> --- >>> { GEN8_UCHE_CACHE_WAYS, 0x00080000, BIT(PIPE_NONE) }, >> >> >>> +}; >>> + >>> +static const u32 a810_protect_regs[] = { >> >> $ diff /tmp/downstream.txt /tmp/upstream.txt >> >> < A6XX_PROTECT_NORDWR(0x0ae00, 0x0), >> < A6XX_PROTECT_NORDWR(0x0ae02, 0x4), >> --- >>> A6XX_PROTECT_NORDWR(0x0ae00, 0x6), >> >> -> the difference is that >> >> SP_DBG_ECO_CNTL and SP_ADDR_MODE_CNTL are not protected >> >> that might have been a part of the ^ difference > > Going back for v2 and making sure this is 1:1 to GRAPHICS.LA.14.0.r5-03100-lanai.0, I > think I was going back and forth between my own downstream from the OEM, > GRAPHICS.LA.14.0.r5 and GRAPHICS.LA.15.0.r1. > > GRAPHICS.LA.15.0.r1 has gen8_3_0 support, but I'm not sure if there are any > devices that actually ship with it on that branch. Seemed to be fairly out > of sync from LA.14. > >> >> Also it may be that the better name for this table is a830_protect_regs[] > > Can you elaborate on this? The only names I know this GPU by are "a810" and > "gen8_3_0". gen8_0_x is A830 (8750), which seems to have some sort of a common lineage Konrad