From patchwork Mon Oct 26 11:09:49 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dmitry Baryshkov X-Patchwork-Id: 441 Return-Path: X-Original-To: noreply@patchwork.local Delivered-To: noreply@patchwork.local Received: from sto.lore.kernel.org (sto.lore.kernel.org [172.232.135.74]) by mxe881.netcup.net (Postfix) with ESMTPS id 7DAB01C00FA for ; Mon, 26 Oct 2026 12:10:34 +0100 (CET) Authentication-Results: mxe881; dkim=pass header.d=qualcomm.com; dkim=pass header.d=oss.qualcomm.com; spf=pass (sender IP is 172.232.135.74) smtp.mailfrom=linux-sunxi+bounces-26873-noreply=patchwork.local@lists.linux.dev smtp.helo=sto.lore.kernel.org Received-SPF: pass (mxe881: domain of lists.linux.dev designates 172.232.135.74 as permitted sender) client-ip=172.232.135.74; envelope-from=linux-sunxi+bounces-26873-noreply=patchwork.local@lists.linux.dev; helo=sto.lore.kernel.org; Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.77.114.92]) by sto.lore.kernel.org (Postfix) with ESMTP id 99836601214 for ; Mon, 26 Oct 2026 11:10:25 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=pass header.oldest-pass=0 smtp.remote-ip=127.0.0.1 ARC-Seal: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=pass; t=1793013022; b=g4r8P6f44wA8RMTwy0PuXEJttXGOas7ng6f5nRfz613sLiu9sk4FOC0+KgUyZNkoC55F w+Oq9k615wnZ2YkM88esEuWCpYFWGhrW8KJjTPCA16NYnonGgnmKhRMhd/Xqpe//XMbst ygKA8bub9KVHkSqr1JAB848p+c8Ziz2oEvMSguATzFOkqPqecWitkOLt1oSwF9i7NFoaE NgQ2QQBSOF/ZpEO5HeUlQphJk0ZkiWjLGbgex/MURrS6P/oYbuM6eJlVR3NsGX/vbbVVq Ikdyo+yD5Hjid3aMnr4wQN/N/khRKQUOp4wao918QJX6vogXpVgsI+F6rS7zZS8NTcA== ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1793013022; h=X-Original-To:Received:DMARC-Filter:Received:DKIM-Signature:Received: Received:DKIM-Signature:X-Google-DKIM-Signature:X-Forwarded-Encrypted: X-Gm-Message-State:X-Gm-Gg:X-Received:X-Received:Received:From: Subject:Date:Message-Id:X-Mailing-List:List-Id:List-Post:List-Help: List-Subscribe:List-Unsubscribe:List-Owner:Precedence:MIME-Version: Content-Type:Content-Transfer-Encoding:X-B4-Tracking:X-Change-ID:To: Cc:X-Mailer:X-Developer-Signature:X-Developer-Key: X-Proofpoint-Spam-Details-Enc:X-Proofpoint-GUID: X-Proofpoint-Spam-Info:X-Proofpoint-ORIG-GUID:X-Authority-Analysis: X-Proofpoint-Virus-Version:X-Proofpoint-Spam-Details; bh=GN8AjaZA2KV/dRc58kbCFKDPB1a4uoE8ENNZKwDJCck=; b=we1Pg4KjNY7ROR7x1LArkHh9RsLbHozFXc2N4lliVcuc6oSHMuMOH1zo4SK9iKDy733s PBT88JmhijgULmjhqaO/v2hBsaE32379bxklKP4yh5frQy5HHDRM+nzpzypj4QqnMf0XZ 3yMSuL25dukR61bIJss8S/hGZR4Pkb8px6q9Oi0j9d4F3LwB8Gv7x9BizS2Oy/b/ADvdV fXGW+BJiBexfuCE9Xh6CxGRbHSCt7ZYtRMvU+V30o3otddL5dGWyHEwYQ2kIwJxo4bJzQ PEeJed0VTENAGrrUUtP1yVqej00xyMXG0jMcs4lBzkT4squulYkDibo7rlyxztI3nEw== ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; dkim=pass header.d=qualcomm.com header.i=@qualcomm.com header.a=rsa-sha256 header.s=qcppdkim1 header.b=ECUUVF06; dkim=pass header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.a=rsa-sha256 header.s=google header.b=iCyFmUca; dmarc=pass header.from=oss.qualcomm.com; spf=pass smtp.mailfrom=oss.qualcomm.com; arc=pass header.oldest-pass=0 smtp.remote-ip=127.0.0.1 Received: from localhost.localdomain (localhost [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 7153A606A336; Mon, 26 Oct 2026 11:10:22 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key, unprotected) header.d=qualcomm.com header.i=@qualcomm.com header.a=rsa-sha256 header.s=qcppdkim1 header.b=ECUUVF06; dkim=pass (2048-bit key, unprotected) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.a=rsa-sha256 header.s=google header.b=iCyFmUca X-Original-To: linux-sunxi@lists.linux.dev Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=205.220.180.131 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1793013022; b=OI38FGdNJr7dwBDqZ0B8SjnPSShJGhlSnBqyh7QXWhbftRUUMSDBMj/IG0fmbeOSPZdb 6VRNinP+ZNBH+zPhtQpLy7DaldohMLWQtDfdpE8tfsCYzEPUMSMcpvSHOeYouLPy5Ey8R AGO2Eyhs5OBuI/NFmmymj62LkDwD5rHtUbv/UhdLOfJjoXXHOo+ZEuHZ+XbvZFDDNIMm9 ANugm6Wb0TrEUsyysVD5DM0O5e1h1loqUz0pfPKtqSIHjuRcHOV+H0k+y5+NxQIhOVSCL aXsoONgFbalVPkqCrau2mucz5eXNg6Wpmc5TAruOXDKBIhhfzYKXUO8Fs4gH0vAjN3A== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1793013022; h=DMARC-Filter:Received:DKIM-Signature:Received:Received: DKIM-Signature:X-Google-DKIM-Signature:X-Forwarded-Encrypted: X-Gm-Message-State:X-Gm-Gg:X-Received:X-Received:Received:From: Subject:Date:Message-Id:MIME-Version:Content-Type: Content-Transfer-Encoding:X-B4-Tracking:X-Change-ID:To:Cc:X-Mailer: X-Developer-Signature:X-Developer-Key:X-Proofpoint-Spam-Details-Enc: X-Proofpoint-GUID:X-Proofpoint-Spam-Info:X-Proofpoint-ORIG-GUID: X-Authority-Analysis:X-Proofpoint-Virus-Version: X-Proofpoint-Spam-Details; bh=GN8AjaZA2KV/dRc58kbCFKDPB1a4uoE8ENNZKwDJCck=; b=O06gnEuHN9E80B6JUvXD0sTiNRBbOBN4HnX08S3lq+mTmbWrr6OKA2Vr5uSwaQS9rddD jlUOSZasF4N0VWbRviD1/d9QtbDZMtAWbzUTY4apobrLRRulyVSUQ4WBYfYKQeOzZw2q7 9TRzlwd5mJH1gXKbLUhFnUiPqy/AXLrbeLJNm3ySag09rxkDX8Brf2FyrxNRZf1D3mL2/ 3sghz5D75BaMI8+iSrH1Idf7/3rvlK610suDa9r5+kSoEy26yGwrKzTXoGv5BLzOEs5P2 snl3F4GEdysQk0BY+aMxUxAT0/QogiaJ3wwsADz7BJXukUKlnZNhAXeYx0WV+iehuAA== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass header.from=oss.qualcomm.com; spf=pass smtp.mailfrom=oss.qualcomm.com; dkim=pass header.d=qualcomm.com header.i=@qualcomm.com header.a=rsa-sha256 header.s=qcppdkim1 header.b=ECUUVF06; dkim=pass header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.a=rsa-sha256 header.s=google header.b=iCyFmUca; arc=none smtp.remote-ip=205.220.180.131 Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.131]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id B9A90606A32F for ; Mon, 26 Oct 2026 11:10:21 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org B9A90606A32F 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 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 69QAtDoh2734116 for ; Mon, 26 Oct 2026 11:10:20 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=qualcomm.com; h= cc:content-transfer-encoding:content-type:date:from:message-id :mime-version:subject:to; s=qcppdkim1; bh=GN8AjaZA2KV/dRc58kbCFK DPB1a4uoE8ENNZKwDJCck=; b=ECUUVF066jvbqQJG9QaidJNgZqka7pJ7uTZDAf l4jWr9mREvagPO1rBdPa/0vh1A6Oi6BYXcJ76lze5gh2H4snVK5z4taBubEEL6fw efgMw/ggF8ufOEbjSPXjquIiojjAjQFe3mEc17+CwJCwc1wQTcmTW9sCwr7Yg78V 1mg2HfIFi01K3N/MYd9ER1Q/2f/mNYffrHO1osVJ95FwL6KMjK+X2vFoflwIfmvB DZn0n2JKmfz6+sJGnknhumjjRFsT1KMiRigMZfId5NFp4uEZZTrGRxzT19hDaVLw J5++pAlxiGOyLWqSxnLxPDIaLIrEWNKPukkz4Fc0rU8DN+8Q== Received: from mail-qk1-f199.google.com (mail-qk1-f199.google.com [209.85.222.199]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 4hj4cp8b6p-1 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NOT) for ; Mon, 26 Oct 2026 11:10:20 +0000 (GMT) Received: by mail-qk1-f199.google.com with SMTP id af79cd13be357-93f559420f3so267882385a.0 for ; Mon, 26 Oct 2026 04:10:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oss.qualcomm.com; s=google; t=1793013020; x=1793617820; darn=lists.linux.dev; h=cc:to:content-transfer-encoding:content-type:mime-version :message-id:date:subject:from:from:to:cc:subject:date:message-id :reply-to:content-type; bh=GN8AjaZA2KV/dRc58kbCFKDPB1a4uoE8ENNZKwDJCck=; b=iCyFmUca/pqR1GGt2yO+YWgCF9OV+z47yaMg/7AdRO4HG3JOE/u0aYiaHs4EHzSWgn w4PfRXfvaVn4DKb6DnN72BwTNhWvhS0jj55FZ4sJXTqx4zZ/90cWS5T8/WXS6Z1KZZQe iKKkumylRW6ZN0nc7T+ysqDVIxDPPzYdy5fsSMWb71qoatO4RRqiMw7C/BqciPk5T1f0 f8BjJIMrnSN40tpNDYOmSDAIgo1N/79rSUUJ2qiUpkjhQ+ek75z5pCPvXYMLo8ZZOD4l b5opTsgGvD7gwEGnEzgLbfq51pRae1gfSC6vxTtX5TRG2zrHwiRrAUEkHZ8AK5WxGF2i 3kEQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1793013020; x=1793617820; h=cc:to:content-transfer-encoding:content-type:mime-version :message-id:date:subject:from:x-gm-gg:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to:content-type; bh=GN8AjaZA2KV/dRc58kbCFKDPB1a4uoE8ENNZKwDJCck=; b=NtSTXYUrkWovjyXhaWP4CU743f8DHoKaig6XeTX8x8wX1Bqz5nE1kH882YdUq7kzdv YpnYcFGDXGAix7a9nys2ZiOjorD7PImEzdLPYo7ueVUT/Scxt1RArmaPPJu7Y+Wv6Pss l4uRD137lJQ759OV42V0zG/rkeXTcmkj88zI/ZaJmzwYfqd172idRyB0oT02SVnlQf+3 qFXVyqB8ik6qDOjZnt+BPRvE9F/bLpYSJwZidW8HBSaj22A14sGJtkTblAsiA3Qrekwn 3PqKxXURjslFzqx6L/LCeSq+Qt4YpCXraofNAVkRhdGzs98f8oqV2aSbtmH0kfka18PW Hjpw== X-Forwarded-Encrypted: i=1; AKwUvBwi3gYG/gqzf4DkK7zJYciY0tL6TjtI+5GEy87SJhjP0TNVy11UltdNO//WcSYpPWlmVqAaTG1Yk5qh3w==@lists.linux.dev X-Gm-Message-State: AFq9FYJEBP1Y3OShUuwn2ZygYMGnC6ooGBHsWaj+h7aHcVlO/kzKhq6O GRmx2nIfIq7qIvpbtCVzAzC1bpZDoHiVvGCpfoXMllyoIZYfTnEcunWoU3Mi68J++IqYP9Gve6I tOXA3epRX/R3yRzNfFdLh6erEac+FacnzSTkJTpCsT0kWDsZcPT2plk9hROaX2Hgp3w== X-Gm-Gg: AYBFou2KSF0/Ue0/MgLE4YwLGGaavYZWxczwx4gaaIvOtjpje5Hpb2gDtlDrhhPPk/P fsb7HKBZ1Ve2Lsmm88PJzAi7B9KIcJe5AHqqUHHWThvlz7gJDFiZjjFQrNxDLWDC+uef+wdLc40 IlRz+LXomngKBMOVLfqWy9dJp9UI9l2EgxZf4gpjdWzl54bjgGSOL2SIsjZLfKyk+IKkYHiY4Ka ulnsskxoN8KVAeLMmIia2a4sBNHBhrPj3UeXqrXw9jrXi/xXhq+Zg0OSG5jzTOHrBAwg94by4/R 6+qR1Q17gJ6pxLd85FcZHD2XdWgK23JEm5esjY7Bai/rcnpQvXIYu83EiM0DqrMoOzwxGShOL2F vpc3An7ON5PLFwSUfa0WExsO3VvEii8jgLGi39xp6pSO7vhsIaj5jilvnTZnnyBa33LafRs7sES vjqepCLaDqyJkb X-Received: by 2002:a05:620a:4592:b0:93d:f7ac:4706 with SMTP id af79cd13be357-940ef7d3955mr1003491685a.9.1793013019305; Mon, 26 Oct 2026 04:10:19 -0700 (PDT) X-Received: by 2002:a05:620a:4592:b0:93d:f7ac:4706 with SMTP id af79cd13be357-940ef7d3955mr1003477485a.9.1793013018435; Mon, 26 Oct 2026 04:10:18 -0700 (PDT) Received: from umbar.lan (2001-14ba-a073-af00-264b-feff-fe8b-be8a.rev.dnainternet.fi. [2001:14ba:a073:af00:264b:feff:fe8b:be8a]) by smtp.gmail.com with ESMTPSA id 2adb3069b0e04-5bfb7a950a3sm1455459e87.68.2026.10.26.04.10.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 26 Oct 2026 04:10:17 -0700 (PDT) From: Dmitry Baryshkov Subject: [PATCH 00/35] drm/panel: let the panels use the atomic state Date: Mon, 26 Oct 2026 13:09:49 +0200 Message-Id: <20261026-drm-panel-funcs-v1-0-5e3070a3478f@oss.qualcomm.com> X-Mailing-List: linux-sunxi@lists.linux.dev List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 X-B4-Tracking: v=1; b=H4sIAP4032oC/yXMTQqDMBBA4avIrDuQWPy9SunCJBMd0SiZWgTx7 o11+S3eO0AoMgm02QGRviy8hAT9yMAOXegJ2SVDrvJSK/1EF2dcu0AT+i1YQeWNLRrj6qpRkKo 1kuf9f3y9b8tmRrKfawPn+QPncvtCcwAAAA== X-Change-ID: 20261013-drm-panel-funcs-0fbc59bd8790 To: Douglas Anderson , Neil Armstrong , Jessica Zhang , Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , David Airlie , Simona Vetter , Jyri Sarha , Tomi Valkeinen , Andrzej Hajda , Robert Foss , Laurent Pinchart , Jonas Karlman , Jernej Skrabec , Luca Ceresoli , Paul Cercueil , Marek Vasut , Stefan Agner , Frank Li , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , Laurent Pinchart , Tomi Valkeinen , Kieran Bingham , Geert Uytterhoeven , Magnus Damm , Biju Das , Linus Walleij , Sandy Huang , =?utf-8?q?Heiko_St=C3=BCbner?= , Andy Yan , Jonathan Corbet , Shuah Khan , Randy Dunlap , Inki Dae , Seung-Woo Kim , Kyungmin Park , Krzysztof Kozlowski , Peter Griffin , Alim Akhtar , Alison Wang , Paul Kocialkowski , Yannick Fertre , Raphael Gallais-Pou , Philippe Cornu , Maxime Coquelin , Alexandre Torgue , Chen-Yu Tsai , Samuel Holland , Thierry Reding , Mikko Perttunen , Jonathan Hunter , Jagan Teki , Ondrej Jirman , Javier Martinez Canillas , Igor Reznichenko , Michael Walle , Dario Binacchi , Jagan Teki , Jianhua Lu , =?utf-8?q?Guido_G=C3=BCnther?= , Purism Kernel Team , Jerry Han , Joel Selvaraj , Icenowy Zheng , Michael Trimarchi , Sumit Semwal , Casey Connolly , Michael Tretter , Cristian Cozzolino , Junjie Cao , Ryan Brue , Nickolay Goppen , Stefan Mavrodiev , Florian Fainelli , Broadcom internal kernel review list , Robert Chiras , Alexander Koskovich , Markuss Broks , Artur Weber , David Heidelberg , Dzmitry Sankouski , Yedaya Katsman Cc: dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org, linux-mips@vger.kernel.org, imx@lists.linux.dev, linux-arm-kernel@lists.infradead.org, linux-renesas-soc@vger.kernel.org, linux-rockchip@lists.infradead.org, linux-doc@vger.kernel.org, linux-samsung-soc@vger.kernel.org, linux-stm32@st-md-mailman.stormreply.com, linux-sunxi@lists.linux.dev, linux-tegra@vger.kernel.org, linux-rpi-kernel@lists.infradead.org X-Mailer: b4 0.16.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=15762; i=dmitry.baryshkov@oss.qualcomm.com; h=from:subject:message-id; bh=WbLlzAO9RXIQix7Q1voClvMQtNLZHdIsKY6Rg/IyJX0=; b=owEBbQGS/pANAwAKAYs8ij4CKSjVAcsmYgBq3zUBXY1ouoWCjChMbl7mPq8TiXrQG0qEmSuBj cIC8Sn+ZbGJATMEAAEKAB0WIQRMcISVXLJjVvC4lX+LPIo+Aiko1QUCat81AQAKCRCLPIo+Aiko 1dQUB/9qeMU54/7a41w3LggyOuuJS2TWEjfaEkAz3vTHLeEOZdJEKcwwj/v6PiwY5h0mF7Z9qLi 7i36b+iEFTnQ1p9fUulKSuzDYoHDSty8Pd6ZqJApSQuPeavAAwDjtidScu8A4alj2wvst2+zriN cYEAVtja0KZSwkywSpgTy+RQDnRMy/bjOew6XlEnJ8EX0SP+w8uFxpa4ppk44/vv44+XmtSshzu 6rzUjzgvFid2h1yBQLRvbtFrWG0UylcqILraFA8LqBVM6+HexmsPyQA6SCZRfOHRIHrhbnkGVec vUw0rE6XdvS+rDC6BFfvPggvoUsrg6fblExDHIlL8p9NY2Hx X-Developer-Key: i=dmitry.baryshkov@oss.qualcomm.com; a=openpgp; fpr=8F88381DD5C873E4AE487DA5199BF1243632046A X-Proofpoint-Spam-Details-Enc: AW1haW4tMjYxMDI2MDA0NCBTYWx0ZWRfX7HqbovRjZGT4 aMfNHlmqOrZHPdu0pzM6By/zWFOtg2okiTzIaZPLQgko1lE74ienI2V7jAmu5HO9LABG+2iIj6j 3lW3gwU3+PGVunYlyfAUYXBd+s+1W+vfA/S70WNEayEDX6rcBlXYSVxY7GyRcqCCY5nFvCzdZVo BW40ccAHREvs1lLwqSN6pmipW9qQrNpn+Oo4awZCKKFf4jNLe79WoHgoTCTeP6PyA83YUL9Nn2P 3EmDXQVIe2qDmWR0sEkLtWxTFTF4FmHFDeiAA4rNm3dbwJHf/rcDJNNgcCeNFzxsHD8D/2uUMBS aZk6bxMu3UZ1dC0qmlHD2XjtmeRLPkVby08L20kW0TLyp4PALWZN/6V6gqqkt+MYAXT7njNUb5x jElUdmW/vRmtdoXnS4cfie6Y5I53JjRX6QkqdTw0J4W269a5VQc3FaOUvKevYYqh18KyvE3tjVs I7TPLi6+Qu7mRMcXfkA== X-Proofpoint-GUID: 2NHVZMhhCSF6hiB3767zrF5LIFA7fDmQ X-Proofpoint-Spam-Info: AW1haW4tMjYxMDI2MDA0NCBTYWx0ZWRfX6mSPYYRLyq8+ WvdAFXn7bgLHvNg4GAsoYdWkJrnk/zBy8mjnU/G/p6q3Fz0tqQ2fARNPLcoAZCmtdUoy6FKN+SF rf8+Q3eYai69p+B/uXZOSt/VmYCeVn4= X-Proofpoint-ORIG-GUID: 2NHVZMhhCSF6hiB3767zrF5LIFA7fDmQ X-Authority-Analysis: v=2.4 cv=TboDJhQh c=1 sm=1 tr=0 ts=6adf351c cx=c_pps a=HLyN3IcIa5EE8TELMZ618Q==:117 a=xqWC_Br6kY4A:10 a=IkcTkHD0fZMA:10 a=660iZSQnnn4A:10 a=s4-Qcg_JpJYA:10 a=VkNPw1HP01LnGYTKEx00:22 a=u7WPNUs3qKkmUXheDGA7:22 a=ZpdpYltYx_vBUK5n70dp:22 a=EUspDBNiAAAA:8 a=scXMUnCTZPnnbQHXwmsA:9 a=QEXdDO2ut3YA:10 a=bTQJ7kPSJx9SKPbeHEYW:22 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1176,Hydra:6.1.138,FMLib:17.12.100.49 definitions=2026-10-26_02,2026-10-21_02,2025-10-01_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 phishscore=0 priorityscore=1501 impostorscore=0 lowpriorityscore=0 spamscore=0 clxscore=1015 adultscore=0 malwarescore=0 suspectscore=0 bulkscore=0 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2610190000 definitions=main-2610260044 X-Rspamd-Server: rspamd-worker-8404 X-Spamd-Result: default: False [-2.19 / 15.00]; BAYES_HAM(-5.50)[100.00%]; RBL_SENDERSCORE(2.00)[172.232.135.74:from]; SUSPICIOUS_RECIPS(1.50)[]; MAILLIST(-0.18)[generic]; BAD_REP_POLICIES(0.10)[]; MIME_GOOD(-0.10)[text/plain]; HAS_LIST_UNSUB(-0.01)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; FROM_NEQ_ENVFROM(0.00)[dmitry.baryshkov@oss.qualcomm.com,linux-sunxi@lists.linux.dev]; R_DKIM_ALLOW(0.00)[qualcomm.com:s=qcppdkim1]; MID_RHS_MATCH_FROM(0.00)[]; TAGGED_RCPT(0.00)[renesas]; DBL_BLOCKED_OPENRESOLVER(0.00)[qualcomm.com:dkim,qualcomm.com:email,sto.lore.kernel.org:helo,sto.lore.kernel.org:rdns]; FROM_HAS_DN(0.00)[]; RCVD_COUNT_SEVEN(0.00)[8]; ARC_ALLOW(0.00)[subspace.kernel.org:s=arc20261015:i=2]; TAGGED_FROM(0.00)[bounces-26873-noreply=patchwork.local]; RCVD_TLS_LAST(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(0.00)[+ip4:172.232.135.74]; RECEIVED_SPAMHAUS_BLOCKED_OPENRESOLVER(0.00)[205.220.180.131:received,100.77.114.92:received,2001:14ba:a073:af00:264b:feff:fe8b:be8a:received,209.85.222.199:received]; FORGED_SENDER_MAILLIST(0.00)[]; ASN(0.00)[asn:63949, ipnet:172.232.128.0/19, country:SG]; DKIM_TRACE(0.00)[qualcomm.com:+]; RCPT_COUNT_GT_50(0.00)[98]; MIME_TRACE(0.00)[0:+]; DMARC_POLICY_ALLOW(0.00)[qualcomm.com,reject]; FORGED_RECIPIENTS_MAILLIST(0.00)[]; FREEMAIL_TO(0.00)[chromium.org,linaro.org,gmail.com,linux.intel.com,kernel.org,suse.de,ffwll.ch,iki.fi,ideasonboard.com,intel.com,kwiboo.se,bootlin.com,crapouillou.net,denx.de,agner.ch,nxp.com,pengutronix.de,glider.be,bp.renesas.com,rock-chips.com,sntech.de,lwn.net,linuxfoundation.org,infradead.org,samsung.com,sys-base.io,foss.st.com,sholland.org,nvidia.com,amarulasolutions.com,xff.cz,redhat.com,reznichenko.net,edgeble.ai,sigxcpu.org,puri.sm,huaqin.corp-partner.google.com,jsfamily.in,aosc.io,protonmail.com,linux.dev,mainlining.org,olimex.com,broadcom.com,pm.me,ixit.cz]; RBL_SPAMHAUS_BLOCKED_OPENRESOLVER(0.00)[172.232.135.74:from] X-Rspamd-Queue-Id: 7DAB01C00FA X-MORS-Enabled: yes X-MORS-DOMAIN: patchwork.local X-MORS-HOSTING: hosting172546 X-MORS-USER: hosting172546 X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= The panel is the only element of the display pipeline which never sees the atomic commit. Its prepare() and enable() callbacks get nothing but the panel, so a panel which has to be programmed differently depending on the mode can only guess it. The NT35950 driver, for example, saves the connector in get_modes() and reads connector->state->crtc->state while being prepared: without the locks, from the current state rather than from the one being committed, and with no way to reject a mode it doesn't know. Every panel has a struct drm_bridge embedded into it, and the bridge already has all the missing parts: atomic_check(), a state object which can be subclassed and the commit passed to the callbacks. Rather than growing struct drm_panel_funcs into a copy of that, let the panel driver provide struct drm_bridge_funcs for the embedded bridge. This is opt-in: the panels which have no use for the atomic state keep using struct drm_panel_funcs and are not touched by it. To get there the bridge callbacks become the entry point to the panel, with drm_panel_prepare() and friends calling them rather than the other way around. The panel core still has to track the panel state, notify the panel followers and handle the backlight, so the driver doesn't fill in the power callbacks directly, it wraps its functions with the macros doing that part. NT35950 is converted as the first user. The bulk of the series is the cleanup of what the panel core and the bridge need from the panel driver, so that a panel providing the bridge callbacks doesn't need struct drm_panel_funcs for anything: - get_timings() had no callers. - The connector type was stored both in the panel and in its bridge, and the display drivers could override it while creating the panel bridge. - The orientation was read from the DT, stored and returned by nearly identical code in more than twenty panel drivers, and some of them also had to set it on the connector from get_modes(), with a TODO asking for a better place. The core reads it now. It is applied to the connector from the new connector_init() bridge callback, which is not specific to the panels: other bridges have properties to set up on the connector being created too (HDCP, DP link properties), and currently have nowhere to do it. - disable() and unprepare() returned an error which nobody could act on. Worse, a failed unprepare() left the panel marked as prepared, so it was never initialised again. Behaviour changes worth knowing about: - Panels with the rotation property whose driver ignored it now get the orientation property. In the tree this is the Motorola Mapphone panel (panel-dsi-cm). - sun6i_mipi_dsi, sti_dvo and the Tegra DSI get their panel after the DRM device has been registered, which is too late to create the property, so they lose the orientation which the panel drivers used to set from get_modes(). None of the rotated panels in the tree are used with them. - A panel implementing atomic_check() can only be driven through the bridge chain. The display drivers calling drm_panel_prepare() directly have no commit to pass. Signed-off-by: Dmitry Baryshkov --- Dmitry Baryshkov (35): drm/panel: remove the get_timings() callback drm/panel: remove the unused struct panel_bridge drm/tidss: get the panel type from the embedded bridge drm/bridge: lvds-codec: use devm_drm_panel_bridge_add() drm/ingenic: use devm_drm_panel_bridge_add() drm: mxsfb: use devm_drm_panel_bridge_add() drm: rcar-du: use devm_drm_panel_bridge_add() drm: rz-du: use devm_drm_panel_bridge_add() drm/mcde: use drm_panel_bridge_add() drm/pl111: use drm_panel_bridge_add() drm/rockchip: lvds: use drm_panel_bridge_add() drm/rockchip: rgb: use drm_panel_bridge_add() drm/panel: remove the _typed() panel bridge functions drm/panel: remove drm_panel.connector_type drm/bridge: anx6345: set the panel orientation on the connector drm/exynos: dpi: set the panel orientation on the connector drm/fsl-dcu: set the panel orientation on the connector drm/logicvc: set the panel orientation on the connector drm/stm: lvds: set the panel orientation on the connector drm/sun4i: set the panel orientation on the connector drm/tegra: sor: set the panel orientation on the connector drm/panel: drop the orientation workaround from get_modes() drm/panel: read the panel orientation in the core drm/panel: use the orientation from the panel core drm/panel: remove the get_orientation() callback drm/bridge: add the connector_init callback drm/bridge-connector: let the bridges set up the connector drm/panel: let the bridges set up the panel connector drm/panel: set the orientation from the connector_init callback drm/panel: make the disable and unprepare callbacks return void drm/panel: don't hold the follower lock over the panel callbacks drm/panel: route the panel calls through the bridge callbacks drm/panel: let the panel drivers provide struct drm_bridge_funcs drm/panel: novatek-nt35950: provide struct drm_bridge_funcs drm/panel: novatek-nt35950: use the atomic state to select the mode Documentation/gpu/todo.rst | 1 - drivers/gpu/drm/bridge/analogix/analogix-anx6345.c | 5 + drivers/gpu/drm/bridge/lvds-codec.c | 3 +- drivers/gpu/drm/display/drm_bridge_connector.c | 12 +- drivers/gpu/drm/drm_bridge.c | 31 + drivers/gpu/drm/drm_connector.c | 8 +- drivers/gpu/drm/drm_panel.c | 653 +++++++++++++-------- drivers/gpu/drm/exynos/exynos_drm_dpi.c | 1 + drivers/gpu/drm/fsl-dcu/fsl_dcu_drm_rgb.c | 5 + drivers/gpu/drm/ingenic/ingenic-drm-drv.c | 3 +- drivers/gpu/drm/logicvc/logicvc_interface.c | 7 + drivers/gpu/drm/mcde/mcde_drv.c | 3 +- drivers/gpu/drm/mxsfb/mxsfb_drv.c | 3 +- drivers/gpu/drm/panel/panel-abt-y030xx067a.c | 8 +- drivers/gpu/drm/panel/panel-anbernic-td4310.c | 18 +- drivers/gpu/drm/panel/panel-arm-versatile.c | 4 +- .../gpu/drm/panel/panel-asus-z00t-tm5p5-n35596.c | 4 +- drivers/gpu/drm/panel/panel-auo-a030jtn01.c | 8 +- drivers/gpu/drm/panel/panel-boe-bf060y8m-aj0.c | 4 +- drivers/gpu/drm/panel/panel-boe-himax8279d.c | 12 +- drivers/gpu/drm/panel/panel-boe-td4320.c | 4 +- .../gpu/drm/panel/panel-boe-th101mb31ig002-28a.c | 33 +- drivers/gpu/drm/panel/panel-boe-tv101wum-ll2.c | 4 +- drivers/gpu/drm/panel/panel-boe-tv101wum-nl6.c | 30 +- drivers/gpu/drm/panel/panel-chipone-icna35xx.c | 24 +- drivers/gpu/drm/panel/panel-chipwealth-ch13726a.c | 24 +- drivers/gpu/drm/panel/panel-dsi-cm.c | 11 +- drivers/gpu/drm/panel/panel-ebbg-ft8719.c | 8 +- drivers/gpu/drm/panel/panel-edp.c | 53 +- drivers/gpu/drm/panel/panel-elida-kd35t133.c | 22 +- drivers/gpu/drm/panel/panel-feixin-k101-im2ba02.c | 8 +- .../gpu/drm/panel/panel-feiyang-fy07024di26a30d.c | 8 +- drivers/gpu/drm/panel/panel-focaltech-ota7290b.c | 21 +- drivers/gpu/drm/panel/panel-himax-hx8279.c | 8 +- drivers/gpu/drm/panel/panel-himax-hx83102.c | 22 +- drivers/gpu/drm/panel/panel-himax-hx83112a.c | 8 +- drivers/gpu/drm/panel/panel-himax-hx83112b.c | 4 +- drivers/gpu/drm/panel/panel-himax-hx83121a.c | 4 +- drivers/gpu/drm/panel/panel-himax-hx8394.c | 24 +- drivers/gpu/drm/panel/panel-hydis-hv101hd1.c | 8 +- drivers/gpu/drm/panel/panel-ilitek-ili7807s.c | 4 +- drivers/gpu/drm/panel/panel-ilitek-ili7836a.c | 24 +- drivers/gpu/drm/panel/panel-ilitek-ili9322.c | 12 +- drivers/gpu/drm/panel/panel-ilitek-ili9341.c | 7 +- drivers/gpu/drm/panel/panel-ilitek-ili9488.c | 18 +- drivers/gpu/drm/panel/panel-ilitek-ili9805.c | 4 +- drivers/gpu/drm/panel/panel-ilitek-ili9806e-dsi.c | 18 +- drivers/gpu/drm/panel/panel-ilitek-ili9806e-spi.c | 4 +- drivers/gpu/drm/panel/panel-ilitek-ili9881c.c | 31 +- drivers/gpu/drm/panel/panel-ilitek-ili9882t.c | 24 +- drivers/gpu/drm/panel/panel-innolux-ej030na.c | 8 +- drivers/gpu/drm/panel/panel-innolux-p079zca.c | 10 +- drivers/gpu/drm/panel/panel-jadard-jd9365da-h3.c | 21 +- drivers/gpu/drm/panel/panel-jdi-fhd-r63452.c | 4 +- drivers/gpu/drm/panel/panel-jdi-lpm102a188a.c | 12 +- drivers/gpu/drm/panel/panel-jdi-lt070me05000.c | 8 +- drivers/gpu/drm/panel/panel-khadas-ts050.c | 12 +- drivers/gpu/drm/panel/panel-kingdisplay-kd097d04.c | 14 +- drivers/gpu/drm/panel/panel-leadtek-ltk050h3146w.c | 6 +- drivers/gpu/drm/panel/panel-leadtek-ltk500hd1829.c | 4 +- drivers/gpu/drm/panel/panel-lg-lb035q02.c | 4 +- drivers/gpu/drm/panel/panel-lg-ld070wx3.c | 4 +- drivers/gpu/drm/panel/panel-lg-lg4573.c | 4 +- drivers/gpu/drm/panel/panel-lg-sw43408.c | 7 +- drivers/gpu/drm/panel/panel-lincolntech-lcd197.c | 8 +- drivers/gpu/drm/panel/panel-lvds.c | 25 +- drivers/gpu/drm/panel/panel-lxd-m9189a.c | 8 +- .../gpu/drm/panel/panel-magnachip-d53e6ea8966.c | 8 +- drivers/gpu/drm/panel/panel-mantix-mlaf057we51.c | 8 +- drivers/gpu/drm/panel/panel-motorola-mot.c | 8 +- drivers/gpu/drm/panel/panel-nec-nl8048hl11.c | 4 +- drivers/gpu/drm/panel/panel-newvision-nv3051d.c | 6 +- drivers/gpu/drm/panel/panel-newvision-nv3052c.c | 12 +- drivers/gpu/drm/panel/panel-novatek-nt35510.c | 12 +- drivers/gpu/drm/panel/panel-novatek-nt35532.c | 4 +- drivers/gpu/drm/panel/panel-novatek-nt35560.c | 6 +- drivers/gpu/drm/panel/panel-novatek-nt35950.c | 168 ++++-- drivers/gpu/drm/panel/panel-novatek-nt36523.c | 24 +- drivers/gpu/drm/panel/panel-novatek-nt36532.c | 4 +- drivers/gpu/drm/panel/panel-novatek-nt36536.c | 4 +- drivers/gpu/drm/panel/panel-novatek-nt36672a.c | 4 +- drivers/gpu/drm/panel/panel-novatek-nt36672e.c | 4 +- drivers/gpu/drm/panel/panel-novatek-nt37700f.c | 8 +- drivers/gpu/drm/panel/panel-novatek-nt37801.c | 4 +- drivers/gpu/drm/panel/panel-novatek-nt39016.c | 12 +- drivers/gpu/drm/panel/panel-novatek-nt51021.c | 4 +- drivers/gpu/drm/panel/panel-olimex-lcd-olinuxino.c | 4 +- drivers/gpu/drm/panel/panel-orisetech-ota5601a.c | 12 +- drivers/gpu/drm/panel/panel-orisetech-otm8009a.c | 8 +- drivers/gpu/drm/panel/panel-osd-osd101t2587-53ts.c | 8 +- .../gpu/drm/panel/panel-panasonic-vvx10f034n00.c | 7 +- .../gpu/drm/panel/panel-raspberrypi-touchscreen.c | 7 +- drivers/gpu/drm/panel/panel-raydium-rm67191.c | 16 +- drivers/gpu/drm/panel/panel-raydium-rm67200.c | 8 +- drivers/gpu/drm/panel/panel-raydium-rm68200.c | 4 +- drivers/gpu/drm/panel/panel-raydium-rm69220.c | 4 +- drivers/gpu/drm/panel/panel-raydium-rm692e5.c | 8 +- drivers/gpu/drm/panel/panel-raydium-rm69380.c | 4 +- drivers/gpu/drm/panel/panel-renesas-r61307.c | 8 +- drivers/gpu/drm/panel/panel-renesas-r63419.c | 25 +- drivers/gpu/drm/panel/panel-renesas-r69328.c | 8 +- drivers/gpu/drm/panel/panel-ronbo-rb070d30.c | 7 +- drivers/gpu/drm/panel/panel-samsung-ams581vf01.c | 4 +- drivers/gpu/drm/panel/panel-samsung-ams639rq08.c | 4 +- drivers/gpu/drm/panel/panel-samsung-atna33xc20.c | 14 +- drivers/gpu/drm/panel/panel-samsung-db7430.c | 8 +- drivers/gpu/drm/panel/panel-samsung-ld9040.c | 7 +- drivers/gpu/drm/panel/panel-samsung-ltl106hl02.c | 4 +- drivers/gpu/drm/panel/panel-samsung-s6d16d0.c | 8 +- drivers/gpu/drm/panel/panel-samsung-s6d27a1.c | 8 +- drivers/gpu/drm/panel/panel-samsung-s6d7aa0.c | 8 +- drivers/gpu/drm/panel/panel-samsung-s6e3fa7.c | 8 +- drivers/gpu/drm/panel/panel-samsung-s6e3fc2x01.c | 8 +- drivers/gpu/drm/panel/panel-samsung-s6e3ha2.c | 16 +- drivers/gpu/drm/panel/panel-samsung-s6e3ha8.c | 8 +- drivers/gpu/drm/panel/panel-samsung-s6e63j0x03.c | 14 +- drivers/gpu/drm/panel/panel-samsung-s6e63m0.c | 13 +- .../drm/panel/panel-samsung-s6e88a0-ams427ap24.c | 4 +- .../drm/panel/panel-samsung-s6e88a0-ams452ef01.c | 4 +- drivers/gpu/drm/panel/panel-samsung-s6e8aa0.c | 7 +- .../panel/panel-samsung-s6e8aa5x01-ams561ra01.c | 8 +- .../gpu/drm/panel/panel-samsung-s6e8fc0-m1906f9.c | 4 +- drivers/gpu/drm/panel/panel-samsung-sofef00.c | 8 +- drivers/gpu/drm/panel/panel-seiko-43wvf1g.c | 22 +- drivers/gpu/drm/panel/panel-sharp-lq079l1sx01.c | 4 +- drivers/gpu/drm/panel/panel-sharp-lq101r1sx01.c | 4 +- drivers/gpu/drm/panel/panel-sharp-ls037v7dw01.c | 7 +- drivers/gpu/drm/panel/panel-sharp-ls043t1le01.c | 6 +- drivers/gpu/drm/panel/panel-sharp-ls060t1sx01.c | 4 +- drivers/gpu/drm/panel/panel-simple.c | 53 +- drivers/gpu/drm/panel/panel-sitronix-st7701.c | 28 +- drivers/gpu/drm/panel/panel-sitronix-st7703.c | 22 +- drivers/gpu/drm/panel/panel-sitronix-st7789v.c | 35 +- drivers/gpu/drm/panel/panel-sony-acx565akm.c | 4 +- drivers/gpu/drm/panel/panel-sony-td4353-jdi.c | 4 +- .../gpu/drm/panel/panel-sony-tulip-truly-nt35521.c | 8 +- .../gpu/drm/panel/panel-startek-kd070fhfid015.c | 4 +- drivers/gpu/drm/panel/panel-synaptics-r63353.c | 4 +- drivers/gpu/drm/panel/panel-synaptics-tddi.c | 8 +- drivers/gpu/drm/panel/panel-tdo-tl070wsh30.c | 4 +- drivers/gpu/drm/panel/panel-tpo-td028ttec1.c | 8 +- drivers/gpu/drm/panel/panel-tpo-td043mtea1.c | 4 +- drivers/gpu/drm/panel/panel-tpo-tpg110.c | 4 +- drivers/gpu/drm/panel/panel-truly-nt35597.c | 8 +- drivers/gpu/drm/panel/panel-visionox-g2647fb105.c | 4 +- drivers/gpu/drm/panel/panel-visionox-r66451.c | 8 +- drivers/gpu/drm/panel/panel-visionox-rm69299.c | 4 +- drivers/gpu/drm/panel/panel-visionox-rm692e5.c | 8 +- drivers/gpu/drm/panel/panel-visionox-vtdr6130.c | 20 +- drivers/gpu/drm/panel/panel-widechips-ws2401.c | 8 +- drivers/gpu/drm/panel/panel-xinpeng-xpp055c272.c | 6 +- drivers/gpu/drm/pl111/pl111_drv.c | 3 +- drivers/gpu/drm/renesas/rcar-du/rcar_du_encoder.c | 5 +- drivers/gpu/drm/renesas/rz-du/rzg2l_du_encoder.c | 5 +- drivers/gpu/drm/rockchip/rockchip_lvds.c | 2 +- drivers/gpu/drm/rockchip/rockchip_rgb.c | 3 +- drivers/gpu/drm/stm/lvds.c | 4 + drivers/gpu/drm/sun4i/sun4i_lvds.c | 2 + drivers/gpu/drm/sun4i/sun4i_rgb.c | 2 + drivers/gpu/drm/tegra/sor.c | 2 + drivers/gpu/drm/tidss/tidss_kms.c | 4 +- include/drm/drm_bridge.h | 23 + include/drm/drm_panel.h | 219 +++++-- 163 files changed, 1080 insertions(+), 1532 deletions(-) --- base-commit: 4305aa866f20288739b680c75fd44d9f029b0c0b change-id: 20261013-drm-panel-funcs-0fbc59bd8790 Best regards, -- With best wishes Dmitry