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 gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (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 8C2C5C433EF for ; Mon, 28 Mar 2022 12:43:14 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id BA4E410E446; Mon, 28 Mar 2022 12:43:13 +0000 (UTC) Received: from wout5-smtp.messagingengine.com (wout5-smtp.messagingengine.com [64.147.123.21]) by gabe.freedesktop.org (Postfix) with ESMTPS id 95B7C10E446 for ; Mon, 28 Mar 2022 12:43:12 +0000 (UTC) Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.west.internal (Postfix) with ESMTP id 9A09F3200645; Mon, 28 Mar 2022 08:43:08 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute3.internal (MEProxy); Mon, 28 Mar 2022 08:43:09 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cerno.tech; h=cc :cc:content-transfer-encoding:content-type:date:date:from:from :in-reply-to:message-id:mime-version:reply-to:sender:subject :subject:to:to; s=fm3; bh=VZy6X4sb5kLh5biHgGees4qzPf0btkrmGTvg62 9ef8Q=; b=W1d5zQ32RdQw/m2Zxa8O+ua67wQcDx2DtA9Yim9184NAfbG3ZDBY9Z Z/EUyzCgnxRHhr5PS/BpWoZAUTrOOgPmWINdIBldLf0cB8CHR6gCCIDK89t6aYTt FGN2Wna3J2rvAfV6SIcQ9c3Q/s8WhZZBsrmQNUhkv+DNlD5x8AsD7EUl4tXpjhgY MyLUNOXxjOhT+N9qu31R22R7jm5hN/Rv4uPfCvvlDTPDOtddRPsbckneiWODi4bf rQsmVlgWpAdycQhrb+m+Rls/mj09Ch7UGK06TaM4j4B4JCl/gNI4F7z26+mSQEeQ g/logc5d2zk5u2giTa801lJuv/xDLjsQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:date:date:from:from:in-reply-to:message-id :mime-version:reply-to:sender:subject:subject:to:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm3; bh=VZy6X4 sb5kLh5biHgGees4qzPf0btkrmGTvg629ef8Q=; b=amRh7gF05Ddp0Trq0887NE uimnZbNVScNsZwPpJvorB9+t+aSv20LsN7WdHJVU+yUJWUF80FC/faapuPqRTwSn IqR0/5rYT1WPT62owfRF1rQb5DuBdbG9wLgmES5wJei573GWmqUXmjIa/z2HYf8R iipdfrcntB2ElkTpD7AVNspC/2KGDk4AQU9F62Gm49zb31aKOedKxWxOxdLSX+XM 9WaaGHaQaOTDESv+XwVQfYpRolf8J3P8COLfJe9vjh+apkrlZTBxbr0dCzXY0gll XJtXGWQDd7jEb8EFs4G4MgX685CyJoubwaUqX8lM9+Qa3Y5wq3+CZgsBuarGPhYA == X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvvddrudehjedgheehucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhephffvufffkffotggggfesthhqredtredtjeenucfhrhhomhepofgrgihimhgv ucftihhprghrugcuoehmrgigihhmvgestggvrhhnohdrthgvtghhqeenucggtffrrghtth gvrhhnpeetieekgfffkeegkeeltdehudetteejgfekueevhffhteegudfgkedtueegfffg feenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehmrg igihhmvgestggvrhhnohdrthgvtghh X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA; Mon, 28 Mar 2022 08:43:07 -0400 (EDT) From: Maxime Ripard To: dri-devel@lists.freedesktop.org Subject: [PATCH v3 0/4] drm/atomic: Atomic Private State debugging Date: Mon, 28 Mar 2022 14:43:00 +0200 Message-Id: <20220328124304.2309418-1-maxime@cerno.tech> X-Mailer: git-send-email 2.35.1 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: David Airlie , Sean Paul , Maxime Ripard , Thomas Zimmermann , Daniel Vetter Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Hi,=0D =0D This series adds an atomic_print_state hook for drm_private_obj to ease the= =0D debugging of driver-specific sub-classes, and adds one for vc4.=0D =0D It also changes the call site of drm_atomic_print_new_state to make it more= =0D consistent.=0D =0D Let me know what you think,=0D Maxime=0D =0D Changes from v2:=0D - Reworded the commit message of the first patch=0D - Printed the state before running atomic_check=0D =0D Changes from v1:=0D - Added Daniel tags=0D - Added drm_private_state documentation=0D - Fixed unused variable warning=0D - Removed the drm_atomic_nonblocking_commit() logging=0D =0D Maxime Ripard (4):=0D drm/atomic: Print the state every non-blocking commit=0D drm/atomic: Add atomic_print_state to private objects=0D drm/vc4: Constify private state accessors=0D drm/vc4: Implement atomic_print_state for HVS channel state=0D =0D drivers/gpu/drm/drm_atomic.c | 20 ++++++++++++++++++++=0D drivers/gpu/drm/drm_atomic_uapi.c | 4 ----=0D drivers/gpu/drm/vc4/vc4_kms.c | 24 +++++++++++++++++++++---=0D include/drm/drm_atomic.h | 27 +++++++++++++++++++++++----=0D 4 files changed, 64 insertions(+), 11 deletions(-)=0D =0D -- =0D 2.35.1=0D =0D