From patchwork Sat Feb 24 15:05:57 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Ond=C5=99ej_Jirman?= X-Patchwork-Id: 13570528 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 2EF9CC5478C for ; Sat, 24 Feb 2024 15:06:37 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-ID:Date:Subject:Cc :To: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=NYeE1RQ3oaYsoW5jnSc2neLDsR8n3TgcSxbmbElFaqc=; b=YxlYYu1DQQISf3 S0b9LvJ9bJP3Ek4GOOY+eKLoqwtQkF+37iJDmRwPFQ2SswV3rM/BvEZPJVvz12RKxw0Zt+WswDuYD ZUWCoEiwUjDOCSm1eBNHEK15P1Q4Iz5SCaCY85IFhmNCCCrrDnTvPdxwR08ZjIojxkxeRYzX3jz4/ 6dAIKyiC+nnUO5EElOYrGfgoGVQpqwBoCAxHeo6jQla93cnF1drFgp01ZxPimKLXFMq49eDysekJw 9NSPzKorQywKZ3vY+XIHfKXmNSXTKpAZd5A+tBBve0G7Bs381Uy8mJhKpSMqDVMgaCpovc/wEsVwy JEw+N9Rv9ZyDDH8Nykbw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rdtbU-0000000D6H9-0vwT; Sat, 24 Feb 2024 15:06:16 +0000 Received: from vps.xff.cz ([195.181.215.36]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rdtbP-0000000D6Fb-20hy for linux-arm-kernel@lists.infradead.org; Sat, 24 Feb 2024 15:06:14 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=xff.cz; s=mail; t=1708787167; bh=Uryo3XdwAekEHSVjuMlMntBb6I1zHeuqUQ7N7xRLv/U=; h=From:To:Cc:Subject:Date:From; b=L9I4meje818PMKLYF5UA9Z980dPtZPCvuEHAL7MwqojCWJPc7xFfL2iAoX8mXD2fI DeaNRvSzDJnxkEngB9cioOYKej5HrJ/2mEcDFCTHdkyh6ddvPadR/JinhQSd0GZPyh yZe5GBB4MjEO5Qhzgsisj4VGB/McpYIn3o4yjQ+8= From: =?utf-8?q?Ond=C5=99ej_Jirman?= To: linux-kernel@vger.kernel.org, Maxime Ripard , Chen-Yu Tsai , Maarten Lankhorst , Thomas Zimmermann , David Airlie , Daniel Vetter , Jernej Skrabec , Samuel Holland Cc: Ondrej Jirman , dri-devel@lists.freedesktop.org, linux-arm-kernel@lists.infradead.org, linux-sunxi@lists.linux.dev Subject: [PATCH v2 0/3] Move blender setup from individual planes to crtc commit in sun4i-drm Date: Sat, 24 Feb 2024 16:05:57 +0100 Message-ID: <20240224150604.3855534-1-megi@xff.cz> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240224_070612_034914_FFD2A4E8 X-CRM114-Status: UNSURE ( 8.73 ) 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 From: Ondrej Jirman This series refactors blender setup from individual planes to a common place where it can be performed at once and is easier to reason about. In the process this fixes a few bugs that allowed blender pipes to be disabled while corresponding DRM planes were requested to be enabled. Please take a look. :) v2: - use regmap_write where possible - add review tags Thank you very much, Ondřej Jirman Ondrej Jirman (3): drm/sun4i: Unify sun8i_*_layer structs drm/sun4i: Add more parameters to sunxi_engine commit callback drm/sun4i: Fix layer zpos change/atomic modesetting drivers/gpu/drm/sun4i/sun4i_backend.c | 4 +- drivers/gpu/drm/sun4i/sun4i_crtc.c | 2 +- drivers/gpu/drm/sun4i/sun8i_mixer.c | 70 ++++++++++++++++++++- drivers/gpu/drm/sun4i/sun8i_mixer.h | 20 ++++++ drivers/gpu/drm/sun4i/sun8i_ui_layer.c | 85 +++---------------------- drivers/gpu/drm/sun4i/sun8i_ui_layer.h | 20 ++---- drivers/gpu/drm/sun4i/sun8i_vi_layer.c | 86 +++----------------------- drivers/gpu/drm/sun4i/sun8i_vi_layer.h | 20 ++---- drivers/gpu/drm/sun4i/sunxi_engine.h | 13 +++- 9 files changed, 125 insertions(+), 195 deletions(-)