Message ID | 20240216190430.1374132-1-megi@xff.cz |
---|---|
Headers |
Return-Path: <linux-kernel+bounces-69224-ouuuleilei=gmail.com@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:c619:b0:108:e6aa:91d0 with SMTP id hn25csp725773dyb; Fri, 16 Feb 2024 11:05:38 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCVTFXJN12IoPu44PE1GR8n6HPufRejHOaN6iurh/34L/24dmMjnDBwmCy73/N0CJ7KZN8o9NaHM8bFkmrYyMC+9+v2WbQ== X-Google-Smtp-Source: AGHT+IESONhCG/MpLpMOV9LTmuQB7k35MCBm3t8f0up4Uwg/fD3VHIVB/ir8Yf6fZYnlSEPt0th3 X-Received: by 2002:aa7:c645:0:b0:563:8b25:1658 with SMTP id z5-20020aa7c645000000b005638b251658mr4739618edr.19.1708110338514; Fri, 16 Feb 2024 11:05:38 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708110338; cv=pass; d=google.com; s=arc-20160816; b=zPJQ4IY5lnb4Oh6nmIM7brHjYAAnCAGDi9Z9tSfpmg0E9qcuVeDyCyLjJy6J4053xi MQZ6bT6HDFOcmfV8KxJ6OmsMkhJ6+rtb1HC1vnDF5s68D5O5KhfoOKmX1khftjClCe7W lPvWjE/tmX8NBGBYgZUxe3/f0LLiekKZxfdoRQF+PcETHQwvd597Je5j3TO9Hv2RZmgu Vx7gvpBYLj/S/rdpOuBHku6emhG2rsAX9L1b/n0YWOeRewZTp3uYZVzCmcpA/FLEe2iO WEar59i0KDO/oZIRyQ11BHWZlT/iKk/89KBJx5vV/JvMT7iWkY74pyniuPigSkjmuzo6 FDoQ== 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=yQZMf/atqGuJ8B3V3G0oBolHVPO9ta8dfyNeumr+kiA=; fh=yr4ZNRU98qvAJKzjmrr2qbVKE/C07NdRne4enYDAdEY=; b=ByAZaupO6usUCRi3qhDheAf8K2rtsHN8OE8w6hsTytrRefHXscmqRtmUpicfqO2uMv ghNDJcW/oRGmQfAaIitlcn2B4aYM3gpJsmPMY69GsH/gFqYai0T+HY8j/wRu5pBGJ9PI 0AprbeH39UinJpEaE6nt7c13alUxjl1QSqY3R1Ip+D2GHNw/FdsqTCZmFPrCUZ/LaGwL miSE3O/5pafynk96vJFt19gBZtL99l1VNpCopZmOpE3CuUdITqBUGhvwlIOwIgg8jhqS 9ngdT70qobrjUZJtB0isebyesS0R8wnKOzGIx0QQv3qefczRq5+wcmeT4qwlX9YtyOdI b5Xw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@xff.cz header.s=mail header.b=z3mvE0kH; 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-69224-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-69224-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=xff.cz Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id by15-20020a0564021b0f00b005640f984eb5si204521edb.14.2024.02.16.11.05.38 for <ouuuleilei@gmail.com> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 16 Feb 2024 11:05:38 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-69224-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@xff.cz header.s=mail header.b=z3mvE0kH; 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-69224-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-69224-ouuuleilei=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 am.mirrors.kernel.org (Postfix) with ESMTPS id 23CB21F247A0 for <ouuuleilei@gmail.com>; Fri, 16 Feb 2024 19:05:38 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 44FF213958F; Fri, 16 Feb 2024 19:04:42 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=xff.cz header.i=@xff.cz header.b="z3mvE0kH" 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 BF941136678 for <linux-kernel@vger.kernel.org>; Fri, 16 Feb 2024 19:04:37 +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=1708110279; cv=none; b=Y9e9Npmv594I2HXX/3raWbgihnSSIq7o4h04l7207AzQ5JAOSPOA7uIsrK8STl90I6EcjZiXRTtFF7xnlOjfxCuGT8E0A5F7muD5COsMns/NxtTIXHDi8/H9IkAjuif4mG/SiiO3XP9IVUKVg4w6wUrhbRmZqpsw3hiR+yWhc6w= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708110279; c=relaxed/simple; bh=sRk5vgWXV6TN/MIXrm4lDllEkl5I4mq5NJ+73eNz0L4=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:Content-Type; b=hq+qwUoSdOQCgM3UyKrBktjk4qXqXfAdeLGL/danARwMu6Jk6uWuPxo7j7qVnl969BFzCQgjLAieOu3FGorF0LeH3rIz7ONHvhT5QL2U/xiFxrXZX+uCtglwPZ9rXO7ckSWF+FSNz7mO0XSTGhphBQCFzK6i1Kd7oQ5fCUPgsSA= 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=z3mvE0kH; 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=1708110272; bh=sRk5vgWXV6TN/MIXrm4lDllEkl5I4mq5NJ+73eNz0L4=; h=From:To:Cc:Subject:Date:From; b=z3mvE0kHkdjI+3haAogAZtgaLooSLbHIzpB1TsKN+hul18rP6xfYei3GFGva5RCQC /NlLC2CoMXvzJW2BFZknPblJXo+AX93t81Roc/5diNNnQLg9Gub6jAsxjnJ9CsbW81 dP5U4mCnh/+4yZ1ijwbwKsbSJHVfyxHUxy8iMoYg= From: =?utf-8?q?Ond=C5=99ej_Jirman?= <megi@xff.cz> To: Maxime Ripard <mripard@kernel.org>, Chen-Yu Tsai <wens@csie.org>, Maarten Lankhorst <maarten.lankhorst@linux.intel.com>, Thomas Zimmermann <tzimmermann@suse.de>, David Airlie <airlied@gmail.com>, Daniel Vetter <daniel@ffwll.ch>, Jernej Skrabec <jernej.skrabec@gmail.com>, Samuel Holland <samuel@sholland.org> Cc: Ondrej Jirman <megi@xff.cz>, dri-devel@lists.freedesktop.org, linux-arm-kernel@lists.infradead.org, linux-sunxi@lists.linux.dev, linux-kernel@vger.kernel.org Subject: [PATCH 0/3] Move blender setup from individual planes to crtc commit in sun4i-drm Date: Fri, 16 Feb 2024 20:04:23 +0100 Message-ID: <20240216190430.1374132-1-megi@xff.cz> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: <linux-kernel.vger.kernel.org> List-Subscribe: <mailto:linux-kernel+subscribe@vger.kernel.org> List-Unsubscribe: <mailto:linux-kernel+unsubscribe@vger.kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1791083506214633148 X-GMAIL-MSGID: 1791083506214633148 |
Series |
Move blender setup from individual planes to crtc commit in sun4i-drm
|
|
Message
Ondřej Jirman
Feb. 16, 2024, 7:04 p.m. UTC
From: Ondrej Jirman <megi@xff.cz>
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. :)
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 | 82 +++++++++++++++++++++++-
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, 137 insertions(+), 195 deletions(-)