Received: by 2002:a05:7208:9594:b0:7e:5202:c8b4 with SMTP id gs20csp440233rbb; Sat, 24 Feb 2024 07:06:27 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCXQSGdKFtyISaqyS+mIm0Dd439sDUwqEIy54tOsWwqOMOFUExBk6faMOsenCX96IAmjGsGLcIqJXFQM1NaPm/X3S/fTKLMNAA/zoIB93A== X-Google-Smtp-Source: AGHT+IERqVFBtYf+cWDM8BNjezOcTq1Mi0Kc/Ea7IuMjdIQIsvRfUruhUU5GQ/5GRdC0F8ENAV7d X-Received: by 2002:a17:90a:ce8e:b0:29a:9829:67f9 with SMTP id g14-20020a17090ace8e00b0029a982967f9mr1584862pju.19.1708787187693; Sat, 24 Feb 2024 07:06:27 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708787187; cv=pass; d=google.com; s=arc-20160816; b=rofno+Ka1H4bRAMfuu3umKVgMd+wUvYG2HFl4PbQ4IMn4FR0xCf80ew+qPNIBTpc+P gDu55mONCmPsBorRYupsdx7yvgarLr4SG/P88mNd8GCDrvy+1RcA5JNTENLI7NDeaVE3 IqNeAZ6qr7YF9/WUlo1USmobKy3IlqtbXARGfOs244Q/zCasgLsvvTayNt2D4C1TKWIT jN0KGpOCJSKgCohu3Ph8GvV1jQAndpvp8sUTnwareV2gVKx/wKnp/3QwNX4j5fB5UcMB 541PqmKiLog+dZmcOe1t6uNY2pnZyvl8Rx/z5gjHN8syubRb3rdI01fBPNMF7sRND2sf ENQw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:cc:to :from:dkim-signature; bh=EUfSSH6WwyeuBGu4yWWkRK40Q2es8Zl3ZCQKWCxsPSc=; fh=unULrk3HLskrF1j1J92Hyho+sCeXl6rNrRZMNuoyCm0=; b=jHTVBIGfPfg0PqxLg13+O4Hy9GRyOy5dxBKEFFSBIkEl62ST1W3gzz4aIrtgdSxktU P911qdj9RIAuGgYi9FIVZHHc80NRndjk6TN+m5Mq03buBJEdJtowDZMv25HdtVK+o5v8 kpOYrdwy9jtsLu245EaUAhzp5ijB9nMvCknQeuYdeocRZwwp82Z/W7u2SrGFMGtg+fHd Kg/WPs4Dy5On0aFcYh2eNmSkw/5NQgKcRbxnJZdau0++4YKRlkZUZb/OkPfLv00H4lEy 7v7Ny6GeSybspIIoj0Xac66F6786UCK/TrFta6kL3qOGnQy5yexKlvGWeyIxHHFaHBik peNQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@xff.cz header.s=mail header.b=L9I4meje; arc=pass (i=1 spf=pass spfdomain=xff.cz dkim=pass dkdomain=xff.cz dmarc=pass fromdomain=xff.cz); spf=pass (google.com: domain of linux-kernel+bounces-79714-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-79714-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=xff.cz Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id ca18-20020a17090af31200b002993602c9c8si2817661pjb.68.2024.02.24.07.06.27 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 24 Feb 2024 07:06:27 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-79714-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@xff.cz header.s=mail header.b=L9I4meje; arc=pass (i=1 spf=pass spfdomain=xff.cz dkim=pass dkdomain=xff.cz dmarc=pass fromdomain=xff.cz); spf=pass (google.com: domain of linux-kernel+bounces-79714-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-79714-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=xff.cz Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 675572825F2 for ; Sat, 24 Feb 2024 15:06:27 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 2142F47A55; Sat, 24 Feb 2024 15:06:15 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=xff.cz header.i=@xff.cz header.b="L9I4meje" Received: from vps.xff.cz (vps.xff.cz [195.181.215.36]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 9A0091E894 for ; Sat, 24 Feb 2024 15:06:10 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=195.181.215.36 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708787174; cv=none; b=p1BwMjqmPRVgge2k1OpuvGn6B5BolgAyht6/UqCyfqrgcYgwJ+BbfKMS7Uh5IysipZ079XKUfiDWJ/ZUScOuXYNAorRtvyH6dtsv8/9VPG8bMuuI3YDmV4OdA2NxZK1LEax2qcGlLMtoM2bHYXkjt62JKa/nc6Ac9lk5Nma5+J0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708787174; c=relaxed/simple; bh=Uryo3XdwAekEHSVjuMlMntBb6I1zHeuqUQ7N7xRLv/U=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:Content-Type; b=qkNCdSsiUgRRf1iW+ydq2WMHtzCZRE7wozxAwtaNaBddtO58Y8/hB0ILOB+mDarYW7DIH0QUJtcs5Fp0pF/ntKodGVbO7mTaQ27BnwF+ufni7iesmSqJ2Ee3UF6ndPPXuN2mzUazo0Cfovopw0tLKspes//84Td7OzRKKbjhNbE= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=xff.cz; spf=pass smtp.mailfrom=xff.cz; dkim=pass (1024-bit key) header.d=xff.cz header.i=@xff.cz header.b=L9I4meje; arc=none smtp.client-ip=195.181.215.36 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=xff.cz Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=xff.cz 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=20Jirman?= 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> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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(-) -- 2.44.0