From patchwork Wed Oct 2 05:33:22 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kwanghoon Son X-Patchwork-Id: 832336 Received: from mailout2.samsung.com (mailout2.samsung.com [203.254.224.25]) (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 DC38322071 for ; Wed, 2 Oct 2024 05:33:45 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=203.254.224.25 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1727847231; cv=none; b=IfwKwtFCbRJMJhRjGMFclBy76DZacnVdOvZTrn+rqHtB22rmI1QiwO8DljylAgEg3hR5nkhKTUMMt8EHVVJKB+rz9z1LiuJXLA2XYTo2+vpU662N0G6kPG/Qla43kjyghPE8zXg7C++3tjBu5HUnv2nXyt9jMNaIAM43kTErBnk= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1727847231; c=relaxed/simple; bh=2IasgynumCz2PlrBNsOErOTHOXXEsINpHik6DHniQLQ=; h=From:Date:Subject:MIME-Version:Message-Id:In-Reply-To:To:Cc: Content-Type:References; b=Y2g8/AyPySNmF1l0ksoHgyb4Djz263rU69HS4XZ4jPtLzPk0URVI5w0wqcx2VqHusNBf+EJiJJB/F5FN6p22MoqCcWvCJtiCAy7y0gxmxTR9nqihY5s9ygyZvZ41d3OsKkfpDxKxK5inWCHeI5M7NSYQ9X4d84d5kQVb48vL/Zg= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=samsung.com; spf=pass smtp.mailfrom=samsung.com; dkim=pass (1024-bit key) header.d=samsung.com header.i=@samsung.com header.b=vKXbMH5F; arc=none smtp.client-ip=203.254.224.25 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=samsung.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=samsung.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=samsung.com header.i=@samsung.com header.b="vKXbMH5F" Received: from epcas1p3.samsung.com (unknown [182.195.41.47]) by mailout2.samsung.com (KnoxPortal) with ESMTP id 20241002053343epoutp029f038a2c1c59a4b4948eb360807fc68a~6i_VEPru32858728587epoutp02Q for ; Wed, 2 Oct 2024 05:33:43 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout2.samsung.com 20241002053343epoutp029f038a2c1c59a4b4948eb360807fc68a~6i_VEPru32858728587epoutp02Q DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1727847223; bh=5UHtMAoSAU9RlCmE9YmphOFxtehz5jmservIkITXERY=; h=From:Date:Subject:In-Reply-To:To:Cc:References:From; b=vKXbMH5F/YbWGsr5I4t6St4TGgxsMjM2+qSDEU3QQ34bvxbl1IfloU3HPkq5hx3gc iNI5hWFd9y0VjRvInzazl5hnrOj+1Ko0vW6ZmiCEd4S6C8lla+TNDP5ANjZEyqvFgL Usf9dGXgKkrjtKWgA47Qh7IBLGQZXSIad+IOQuaA= Received: from epsnrtp3.localdomain (unknown [182.195.42.164]) by epcas1p3.samsung.com (KnoxPortal) with ESMTP id 20241002053343epcas1p3b403cb30eaca8500517d0e5292f20f3a~6i_UxY8DP0767607676epcas1p3B; Wed, 2 Oct 2024 05:33:43 +0000 (GMT) Received: from epsmgec1p1.samsung.com (unknown [182.195.36.132]) by epsnrtp3.localdomain (Postfix) with ESMTP id 4XJNlB3lsCz4x9Pt; Wed, 2 Oct 2024 05:33:42 +0000 (GMT) Received: from epcas1p3.samsung.com ( [182.195.41.47]) by epsmgec1p1.samsung.com (Symantec Messaging Gateway) with SMTP id 06.30.08588.63BDCF66; Wed, 2 Oct 2024 14:33:42 +0900 (KST) Received: from epsmtrp2.samsung.com (unknown [182.195.40.14]) by epcas1p4.samsung.com (KnoxPortal) with ESMTPA id 20241002053342epcas1p41e1434d5a9d08e8afd343a4036d87ded~6i_TYCZqr1369013690epcas1p42; Wed, 2 Oct 2024 05:33:42 +0000 (GMT) Received: from epsmgmc1p1new.samsung.com (unknown [182.195.42.40]) by epsmtrp2.samsung.com (KnoxPortal) with ESMTP id 20241002053342epsmtrp29b2a9060b839a94253fecf93dad852b5~6i_TXLkRT3067930679epsmtrp2Q; Wed, 2 Oct 2024 05:33:42 +0000 (GMT) X-AuditID: b6c32a33-aadb87000000218c-c2-66fcdb3609a9 Received: from epsmtip1.samsung.com ( [182.195.34.30]) by epsmgmc1p1new.samsung.com (Symantec Messaging Gateway) with SMTP id 05.66.07371.53BDCF66; Wed, 2 Oct 2024 14:33:41 +0900 (KST) Received: from [127.0.1.1] (unknown [10.113.111.204]) by epsmtip1.samsung.com (KnoxPortal) with ESMTPA id 20241002053341epsmtip15c4b739c2d67e88ad37d2804d0daf606~6i_TErmYT1899818998epsmtip1O; Wed, 2 Oct 2024 05:33:41 +0000 (GMT) From: Kwanghoon Son Date: Wed, 02 Oct 2024 14:33:22 +0900 Subject: [PATCH WIP 2/7] drm/exynos: Add Exynosautov9 decon Precedence: bulk X-Mailing-List: linux-samsung-soc@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20241002-auto9-v1-2-c4dc3385f415@samsung.com> In-Reply-To: <20241002-auto9-v1-0-c4dc3385f415@samsung.com> To: Inki Dae , Krzysztof Kozlowski , Alim Akhtar , David Virag , Sam Protsenko Cc: linux-samsung-soc@vger.kernel.org, Kwanghoon Son X-Mailer: b4 0.14.1 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFmpkk+LIzCtJLcpLzFFi42LZdlhTX9fs9p80g2sLhSwezNvGZjHp/gQW i941V5kszp/fwG4x4/w+JovnfUDi+PvHjA7sHjtn3WX32LSqk83jzrU9bB59W1YxenzeJBfA GpVtk5GamJJapJCal5yfkp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A== X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFrrPLMWRmVeSWpSXmKPExsWy7bCSnK7p7T9pBr8umFg8mLeNzWLS/Qks Fr1rrjJZnD+/gd1ixvl9TBbP+4DE8fePGR3YPXbOusvusWlVJ5vHnWt72Dz6tqxi9Pi8SS6A NYrLJiU1J7MstUjfLoEr4+GWKUwFja1sFW+PTWdqYNzSxtrFyMkhIWAisWTnD5YuRi4OIYHd jBLv/u5jhkiISnRcbmTsYuQAsoUlDh8uhqh5wSjR2PmQEaSGTUBdYknbWnYQm0VAVeL/l59M ILawgLVE25J9bCA2r4CgxMmZT1hA5jALaEqs36UPEmYWkJfY/nYOM0SJlcSZn0vBRgoB2Wt3 vgG7jRNozKpbTxlB9ooInGOUuPZnLztEs4fEjGfr2CHuFJb4vHsN2wRGwVlI1s1CWDcLyboF jMyrGCVTC4pz03OTDQsM81LL9YoTc4tL89L1kvNzNzGC40BLYwfjvfn/9A4xMnEwHmKU4GBW EuG9d+hnmhBvSmJlVWpRfnxRaU5q8SFGaQ4WJXFewxmzU4QE0hNLUrNTUwtSi2CyTBycUg1M rz1mHbE7kXJhsYGmajLnRsZ5TYZeTQezWTpWVbTkd/mFLn1pdFhCcc8b6czZvklX35tcuue2 KJrxw/7o096bJtjqyz3cxMPec8H04espna56rglvWAKDpNJO2H66wlgvzN7TPV9A8lHKvPKy D70l30/LzvnfMfst78qncQUC5sL/J36XYqjU/WX5r0QtUFEtuL54fb4Rk1/L5Q/bf8znylGK W/XBdfrcLXJrbX1PnorM2Vu85NqPv+1S82KzCnqZHmo0b47xcy3rtE+y8s54HHElIi4uY8l9 6xt88y6pdBcnN3zffuXq1pMvb7Dt3NjGkxW24uTFtESFAxfuGtvlnTpya8INu+iOLMfbKoVK LMUZiYZazEXFiQDqitLE8gIAAA== X-CMS-MailID: 20241002053342epcas1p41e1434d5a9d08e8afd343a4036d87ded X-Msg-Generator: CA CMS-TYPE: 101P DLP-Filter: Pass X-CFilter-Loop: Reflected X-CMS-RootMailID: 20241002053342epcas1p41e1434d5a9d08e8afd343a4036d87ded References: <20241002-auto9-v1-0-c4dc3385f415@samsung.com> Signed-off-by: Kwanghoon Son --- drivers/gpu/drm/exynos/exynos9_decon.c | 1765 ++++++++++++++++++++++++++++++++ drivers/gpu/drm/exynos/regs-decon9.h | 1244 ++++++++++++++++++++++ 2 files changed, 3009 insertions(+) diff --git a/drivers/gpu/drm/exynos/exynos9_decon.c b/drivers/gpu/drm/exynos/exynos9_decon.c new file mode 100644 index 000000000000..d51922eeeabd --- /dev/null +++ b/drivers/gpu/drm/exynos/exynos9_decon.c @@ -0,0 +1,1765 @@ +// SPDX-License-Identifier: GPL-2.0-or-later + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +#include +#include +#include +#include +#include +#include +#include +#include