From patchwork Thu Sep 19 15:10:59 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kaustabh Chakraborty X-Patchwork-Id: 13807804 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 88B42CF395C for ; Thu, 19 Sep 2024 15:12:53 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Cc:To: Content-Transfer-Encoding:Content-Type:MIME-Version:Message-Id:Date:Subject: From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=hIMjeZH6W1RNolqFP6Hf5VqSrs+4wdL9kNV52f+36XU=; b=G/GBvdJbND+4sR KdbZZEIx1DGJGAZRlzvxU6x7vXOdJtP1yFem5dbxsGCaZxJuVGdltNGymuZQgpUD5j15HchnhH9N/ Wa4niv9gN6WfKESpZ7o+9Rll2EFk3nObV/Lkvto5RHSpCbypUXlu1WXcx36MqhcFs/Zyt29lwu+0J 7K2wzz7neQe/EpMcn+a6O7flyenP/e0JXn3ucfSzi2Jxcf1rdjznFGrF+s8KE2HTwcXcdmkLh+1mc U06Q5O3hLyb5LNUrxMsfB1BDaQTpSkH24nTL4MywnX5lTnfR910V2pV76r3qV4QEB1PAdf55YO+kW 4czgWRW5eiPcexBePTRg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1srIpk-0000000AWBw-1s0O; Thu, 19 Sep 2024 15:12:40 +0000 Received: from layka.disroot.org ([178.21.23.139]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1srIoc-0000000AW4Q-4C4l for linux-arm-kernel@lists.infradead.org; Thu, 19 Sep 2024 15:11:32 +0000 Received: from mail01.disroot.lan (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id 0CE3623D30; Thu, 19 Sep 2024 17:11:26 +0200 (CEST) X-Virus-Scanned: SPAM Filter at disroot.org Received: from layka.disroot.org ([127.0.0.1]) by localhost (disroot.org [127.0.0.1]) (amavis, port 10024) with ESMTP id oyXPdYhAlJud; Thu, 19 Sep 2024 17:11:25 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1726758681; bh=qVoHmsRHGg98zFI6pqJncNtKRVJtC5MUzrba+bc+fqE=; h=From:Subject:Date:To:Cc; b=cnDZBoqYnyKfzaZrq9f3KL+S/i45kM/FIo9Kl3pW/xs6wx9KLeaCeR1g0jDxp2K2u 0UHsQoHE0aS6TuSzMa4yHtyChXb3TEpisyxNUjGCS+JDwPCwvtXqNIn5wN5A1wCqRO 84onX7kELKXyIGr+tIA1TGCzyboiBh9t4UAv5aOf/P2/XrzBEHZ5Fxa7f/OoooFjLx PslShWcaVjfeNR0fGrewR3LXCtQiawBM0UQ+7KwAZqsaagHXVO0S50SgWTN92Rz+V+ B2mcR/ZhFyJBO6ba5TGIH4HkUTczWwhiKTEmwfTNk/nbc74Zbz6XJygYZVHMJsuiZ6 VY8jXNLe3RDrw== From: Kaustabh Chakraborty Subject: [PATCH 0/6] Samsung Exynos 7870 DECON driver support Date: Thu, 19 Sep 2024 20:40:59 +0530 Message-Id: <20240919-exynosdrm-decon-v1-0-6c5861c1cb04@disroot.org> MIME-Version: 1.0 X-B4-Tracking: v=1; b=H4sIAAM/7GYC/x3MTQqAIBBA4avErBN0EPq5SrQoZ6xZpKEQhXT3p OW3eK9A5iScYWwKJL4kSwwVpm3A7UvYWAlVA2q0ejCd4vsJMVM6FLGLQVmH2BMZwtVDrc7EXu7 /OM3v+wFWuUAIYQAAAA== To: Inki Dae , Seung-Woo Kim , Kyungmin Park , David Airlie , Simona Vetter , Krzysztof Kozlowski , Alim Akhtar , Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , Rob Herring , Conor Dooley Cc: dri-devel@lists.freedesktop.org, linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, Kaustabh Chakraborty X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240919_081131_481275_F36DFFC7 X-CRM114-Status: UNSURE ( 9.97 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org This patch series aims at adding support for Exynos7870's DECON in the Exynos7 DECON driver. It introduces a driver data struct so that support for DECON on other SoCs can be added to it in the future. It also fixes a few bugs in the driver, such as functions recieving bad pointers. Tested on Samsung Galaxy J7 Prime and Samsung Galaxy A2 Core. Signed-off-by: Kaustabh Chakraborty --- Kaustabh Chakraborty (6): drm/exynos: exynos7_drm_decon: fix uninitialized crtc reference in functions drm/exynos: exynos7_drm_decon: fix suspended condition in decon_commit() drm/exynos: exynos7_drm_decon: fix ideal_clk by converting it to Hz drm/exynos: exynos7_drm_decon: properly clear channels during bind drm/exynos: exynos7_drm_decon: add driver data and support for Exynos7870 dt-bindings: display: samsung,exynos7-decon: add exynos7870 compatible .../display/samsung/samsung,exynos7-decon.yaml | 4 +- drivers/gpu/drm/exynos/exynos7_drm_decon.c | 124 +++++++++++++-------- drivers/gpu/drm/exynos/regs-decon7.h | 15 ++- 3 files changed, 90 insertions(+), 53 deletions(-) --- base-commit: 4f3e012d4cfd1d9bf837870c961f462ca9f23ebe change-id: 20240917-exynosdrm-decon-4c228dd1d2bf Best regards,