From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.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 DC6FA199931 for ; Sat, 22 Nov 2025 13:26:50 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=205.220.180.131 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1763818013; cv=none; b=YVzRYuAL9mLkdyii/BiqMa6p1VMzEDv0JQrr1G+qOo83kDSN29mi9sqQ84dUtkAzwc4W2nZ1uWNKCgZmh01+tBdbAkCgm/O0aSUf4sdW7auMt6zO1/+ME6HEA/RAv5fw/iHnrhC4pD2zbnL6oWDoJ1t1vI1nOs8eIXsNC78hIoU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1763818013; c=relaxed/simple; bh=K4Zd1AB+8UvsNFumiuI/Tcr6nR2votM0+BgCZhdlXno=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=VzF2iyc5WW10xynLWT5fiU2LxQGs8zpE0RrKluP0ENjppJFm5HiUPaqXwTUqJBhQG2J7rhrCUds5x+TtEWAtr+9xsa8/FX5r/AJXt3fysQ6EsLEsh7ISbErOcM2MHGpsuW9IRCgy/n8I/5YsStG21w4JGEUwFb9sfcnb2E1CPGA= 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=ZV7g11Gd; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b=H0qgLkng; arc=none smtp.client-ip=205.220.180.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="ZV7g11Gd"; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b="H0qgLkng" Received: from pps.filterd (m0279868.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id 5AMCbm892605282 for ; Sat, 22 Nov 2025 13:26:49 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= 24+6OA3r/X7e6ENSi+fGXOwkYsH7o9p185zFLLoyfpM=; b=ZV7g11Gd+9rmY05K Su2jZxirLh8vfnW/m3N+LbhJOcNCIFtogtCQ1g3f13VLkv7QpMfJOZN7/f3s88dt 7TtCDpLP3KgeyiH/+Mf/W7ScefB6Uk7F1a2RRioeUQHh9Jrgf+sTJA6QWJl7amab Kw8gFR/7/AO9gIrW0dnehX/FWY0mkKj+vIbFX+NeiTb66LaFNR2dZGpjTdFZgAnW gZO0g646BZuHVeVPDh6aWO88NpI9IZn3k0yIAZhO7RjBKV+46nIugWvu6GEVEn0q Ptt4ca5egQ2gDx03NTGvs6ET+Lpd+mBwe73inbnn4XGWVQGfOppTs6H9G0KWXAl1 g2OEMQ== Received: from mail-qt1-f198.google.com (mail-qt1-f198.google.com [209.85.160.198]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 4ak685rqq3-1 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NOT) for ; Sat, 22 Nov 2025 13:26:49 +0000 (GMT) Received: by mail-qt1-f198.google.com with SMTP id d75a77b69052e-4ee409f1880so5899691cf.1 for ; Sat, 22 Nov 2025 05:26:49 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oss.qualcomm.com; s=google; t=1763818009; x=1764422809; 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=24+6OA3r/X7e6ENSi+fGXOwkYsH7o9p185zFLLoyfpM=; b=H0qgLkngJLmPiQetGcszhUfw4gGTXgGlRTjRfWNGas4WpW39L9k02gZammx6sQaeG+ VKSWvAi+MFoajsJMIQwvXfV9CTyG3mOWX525lZsjz02ZzzFuJjLOwv09Kv6BqRN5aIRE NO9O/fQlYqIVZOiI6BAFK5DfxtYpxmjHuhXgupBTv/EydVPh/VEQzZfGlZAqpmyCl6A0 hip6AsPIFm83HnXTz+cEynrRMHs7tOfFVKP+LFtkpiZxtHUYBsGMRef3ay1RriPHjuyQ /x0Vz+hxDHGws+qiDHb1gBcjYHie50s8b01Kv20tUZpT0wLMuCF8ntKNIe3YSzl4XcDP 9MEA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1763818009; x=1764422809; 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=24+6OA3r/X7e6ENSi+fGXOwkYsH7o9p185zFLLoyfpM=; b=bKxhdYDQ/yFj7nUGVeVcjv1nOtHDUz5yGg7pMK7a6/74s15cxVK9dO7gno4rhBwKA0 jrkrt9gYysCk72ufIuE6/QiXTBadnGu+TTCbmClKpBWidZuTyi2qBnnAAC7vz+0VdrD7 MNkA8NpWznLIXnUaWiBhlXjf4nJUUrJNp1VB/yjbX6rX2p8Eg34I0t33fG2ddtRQHnCi sCAsRdIjPFg/flZb5eG8FEEqLpYYIayx5+zFY/5dzdMDQSf4uLeAGUJJrqzljFu/o5w1 lT0OmMM2S0hxZ6+Y08eMp8GMZ0RMpnbswgQ6B6rAz9ynxaDPa8Mb9Z2S93mgJ5fFIhFV iXtw== X-Forwarded-Encrypted: i=1; AJvYcCWzFQF6vhlycLFHVjQNzojqiesri827WRk3dzLBdVVS91kYYdY6UF85WSR4GtXMsfy224Nbz8oawupV+ko=@vger.kernel.org X-Gm-Message-State: AOJu0YyWRkNfAUr4VfGxXkdEVQI/XbCX5VAZvHuqK7QbcgPjcdBBOfur 5wruftY/hlZ5QDgApMu9TANE94MW8JroseacmKisydfPnWzJQ+erK3ETEYUMt6cLcWfhoDpk0OU dbe0eIt4Ayr/RZiz522MQhmUghGOFOr6Q0sxjEm3OaUhrzpy61/Q8hn0Ip52z/z6RkBY= X-Gm-Gg: ASbGncvTuycAlkVl4w90OoYtgQ8hj5HS5bnRKs2X3dDp7HsCsHtH8GAIfzcGJ5gaV4o BvfltrDyl0OT0aPy++Wz8qmiRfs6HtifE+B2K1/v7MMwsBzKM0eIhJ3XtGa+NsZQ6HyoGYfpJop Q3pd933h7LuKYV4otss8lC0aRLKlRZ6PGYnb4empocL17uMODsMYTD1TvlNMhEzwsU0nnXCciHA I6UnSbiGi2aauVEE1QVdntuzx09zJf0QCs7ACi4FKudnHB8TUG/uEMbdQSbb9QcBoHjZnwcd1tG Vb+j77PaxX1bOHsBPyn+Ntyt2cMwgJphc940H6BLtZ4mS33MLjH9vDiE6u8GG2IerkBFdOa2FuK wDZSPAdS8RUxgs72jioEQe6uUyP1CngoGURXprb0TvfV4msMMFzmbbZbi1oNYi6pFeuo= X-Received: by 2002:ac8:7c48:0:b0:4ee:1e95:af63 with SMTP id d75a77b69052e-4ee5894e4camr57035971cf.10.1763818009060; Sat, 22 Nov 2025 05:26:49 -0800 (PST) X-Google-Smtp-Source: AGHT+IHzKrHFfiXLL3t7qcXOYH/9ZjJQXSKkuyZ5Ow/HDShaOvGBaRejHnuNettlr7Wma7Iu0SLb6g== X-Received: by 2002:ac8:7c48:0:b0:4ee:1e95:af63 with SMTP id d75a77b69052e-4ee5894e4camr57035771cf.10.1763818008664; Sat, 22 Nov 2025 05:26:48 -0800 (PST) Received: from [192.168.119.202] (078088045245.garwolin.vectranet.pl. [78.88.45.245]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-b7654d7cbebsm733074966b.29.2025.11.22.05.26.45 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sat, 22 Nov 2025 05:26:47 -0800 (PST) Message-ID: Date: Sat, 22 Nov 2025 14:26:44 +0100 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 0/2] drm/msm/a2xx: enable Adreno A225 support To: Dmitry Baryshkov Cc: Rob Clark , Sean Paul , Konrad Dybcio , Dmitry Baryshkov , Abhinav Kumar , Jessica Zhang , Marijn Suijten , David Airlie , Simona Vetter , Jordan Crouse , Jonathan Marek , linux-arm-msm@vger.kernel.org, dri-devel@lists.freedesktop.org, freedreno@lists.freedesktop.org, linux-kernel@vger.kernel.org References: <20251121-a225-v1-0-a1bab651d186@oss.qualcomm.com> <68224fc4-9d91-4e6a-9fbd-b3aabe0f23c1@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-Authority-Analysis: v=2.4 cv=Woom8Nfv c=1 sm=1 tr=0 ts=6921ba19 cx=c_pps a=mPf7EqFMSY9/WdsSgAYMbA==:117 a=FpWmc02/iXfjRdCD7H54yg==:17 a=IkcTkHD0fZMA:10 a=6UeiqGixMTsA:10 a=s4-Qcg_JpJYA:10 a=VkNPw1HP01LnGYTKEx00:22 a=lhKUE6b7AAAA:20 a=EUspDBNiAAAA:8 a=75Q4ZoG0bmdH4YrKQGkA:9 a=QEXdDO2ut3YA:10 a=dawVfQjAaf238kedN5IG:22 a=bA3UWDv6hWIuX7UZL3qL:22 X-Proofpoint-GUID: uLdA7e6gm5Rlz1gtC84LPLX7z_TUOrVy X-Proofpoint-ORIG-GUID: uLdA7e6gm5Rlz1gtC84LPLX7z_TUOrVy X-Proofpoint-Spam-Details-Enc: AW1haW4tMjUxMTIyMDEwOSBTYWx0ZWRfXzgSJPTDNdhxG k+WLlX1PAPrLTjutGt3jEQdqhuCN/LWwyKu8A2iz3xMdmsbPCO8CsobldXk2yhosOCdC5qflJGP eBCpvzVrylNLOFQmeIQpg8izo8K5wty6Rl4mrHD5nSZWIkP5BeJJFI1wbyhqdDBN+tRileDhhQR svg97VTHykwK8lhYxAVFDkxnxeuA4+/nctr+2p1O4polc+IQ/g1ctMPCHyoEX5XXrxlHn5zHzRX TlEvreNj0THjPtn1/asyFXI5oUV1nfsqkl5HErt7QZuzNLzgqU2iG/P3fTC2vtJqM0k9+/Vgv+7 PUhqaLP5htMH1YEj10k44tXNlbhLFNyVjGZjSye+o7sLl6m8zE50oRmok/getPJ4dcyhSABMdM+ yVdA0mW/YVHAUKwq84goU/6IQL3W9w== X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1121,Hydra:6.1.9,FMLib:17.12.100.49 definitions=2025-11-22_05,2025-11-21_01,2025-10-01_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 clxscore=1015 phishscore=0 adultscore=0 malwarescore=0 suspectscore=0 impostorscore=0 spamscore=0 bulkscore=0 lowpriorityscore=0 priorityscore=1501 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2510240001 definitions=main-2511220109 On 11/21/25 9:38 PM, Dmitry Baryshkov wrote: > On Fri, Nov 21, 2025 at 08:36:08PM +0100, Konrad Dybcio wrote: >> On 11/21/25 5:13 PM, Dmitry Baryshkov wrote: >>> Add two remaining bits necessary to enable Adreno A225 support. >>> Note, this wasn't tested on the actual hardware and is purely based on >>> the old KGSL driver from msm-3.0. For example, running on MSM8960 might >>> require adjusting PM_OVERRIDE[12] registers. >>> >>> Signed-off-by: Dmitry Baryshkov >>> --- >>> Dmitry Baryshkov (2): >>> drm/msm/a2xx: fix pixel shader start on A225 >>> drm/msm/a2xx: add A225 entry to catalog >> >> Not sure that's enough, a2xx_drawctxt_draw_workaround looks scary >> >> https://github.com/AdrianDC/android_kernel_sony_msm8960t/blob/lineage-18.1/drivers/gpu/msm/adreno_a2xx.c > > Yep. msm-3.0 does some other things for a200 / a220, which we don't > perform. I don't know which parts actually apply to our stack and which > don't. Right, this patchset at least fixes up the obvious errors and those interested can poke at it more Konrad