From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from fout-b2-smtp.messagingengine.com (fout-b2-smtp.messagingengine.com [202.12.124.145]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 65AE51E5B99 for ; Sun, 2 Mar 2025 16:03:14 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=202.12.124.145 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1740931396; cv=none; b=DNL45ul/SQar1PHzkPiafXKQeET01IIapDzMUlhNZpRuHmHMFFyVb3BPfnI48QcEm9IttwGXWcEEKOHJkvtbhoPbRTFY5SYZRmxF20n92JzCybaOP5DNTrJzzyB6o+/6JyKJP3j5e7ih+jErsn8v1ouELGmTBF3Qtwq1EwE62sI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1740931396; c=relaxed/simple; bh=thNHmiSH9lOAN4/tLKeVEhGP0Bb23KHy19mDsCcWSTg=; h=MIME-Version:Date:From:To:Cc:Message-Id:In-Reply-To:References: Subject:Content-Type; b=D32emxNS+zbs2YgRJA0nt9jU/fkEJIYvC3AE6WdBiMgJzA2qfr6BzspAKVX4QzyLN4PsOE1fMsGG+izljlx50o2OXLYsm2FuwDKS2BiIgqeoa2euN0ArOS/TXzPdJXI0n96oRaYqDtbL6SchQfWG16TbpKNrlw4VOpvgoM44EQY= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=svenpeter.dev; spf=pass smtp.mailfrom=svenpeter.dev; dkim=pass (2048-bit key) header.d=svenpeter.dev header.i=@svenpeter.dev header.b=IVLFCY1G; dkim=pass (2048-bit key) header.d=messagingengine.com header.i=@messagingengine.com header.b=yIJqDKWv; arc=none smtp.client-ip=202.12.124.145 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=svenpeter.dev Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=svenpeter.dev Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=svenpeter.dev header.i=@svenpeter.dev header.b="IVLFCY1G"; dkim=pass (2048-bit key) header.d=messagingengine.com header.i=@messagingengine.com header.b="yIJqDKWv" Received: from phl-compute-03.internal (phl-compute-03.phl.internal [10.202.2.43]) by mailfout.stl.internal (Postfix) with ESMTP id 43CA911400CE; Sun, 2 Mar 2025 11:03:13 -0500 (EST) Received: from phl-imap-07 ([10.202.2.97]) by phl-compute-03.internal (MEProxy); Sun, 02 Mar 2025 11:03:13 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=svenpeter.dev; h=cc:cc:content-transfer-encoding:content-type:content-type :date:date:from:from:in-reply-to:in-reply-to:message-id :mime-version:references:reply-to:subject:subject:to:to; s=fm2; t=1740931393; x=1741017793; bh=thNHmiSH9lOAN4/tLKeVEhGP0Bb23KHy 19mDsCcWSTg=; b=IVLFCY1G/xsblzXzUy2/v2Kb7vuyiA2nr40zwe2Z/OsIdrc6 qHauS2ALh8zX3P/nIP2seV3RXdPXqiX3fV6AmhJkCpZaHLqY/QtLU8ZrQ6kNr0wK qdb4mjwhC2A0g+iJ0hMTAnhr59SQXbZkXVzuH8Cq5DpytOM2i8uwJo/RX75cKRHA sLx93nxs2vfnmBdgyztlKRgkYIChX0HW7gLqYqn821pOgVHIB3Uab6cjxkSJo64W nV75FyJBCRJlo1N5TiXINfLQEg2JAnsWki4wmUZ/o/FQTGJHRhJs7tFAg6n+woa4 gkH8NADvEjYWIttKgGUjrcHIeXp0LKZPo2GdaQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:content-type:date:date:feedback-id:feedback-id :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm1; t=1740931393; x= 1741017793; bh=thNHmiSH9lOAN4/tLKeVEhGP0Bb23KHy19mDsCcWSTg=; b=y IJqDKWvigtwF1a2znq7lujVcD2q3u5cGq+7InAMEVJ6L8QVrVVKGqn5i960ZJhwM bbh9fk4+by25IYUa5SVgKV7pzYvHfap71ytCpmZzdx27uXKK+jTddhJY6wrtenWJ i7xTNBCJOhTZsvUQqY+4ckkAuZPX/Su5xMcNI75nncNZseoE3hAkcl1Pko5i4o1t qxnjJKx0xtk8RX25xSdcxpRjEPs4tLxug40wsAO/uHaukhSG4u2JrswNgVgzEDYv giLNi4Vyp6QyTvW/CocaQw0mKkSTosCB/df+BVaXpuKfl3zs6c2SqIQ3iREhbZeO bZp2xUNUeaRZoq4era2XA== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeefvddrtddtgdelieeigecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpggftfghnshhusghstghrihgsvgdp uffrtefokffrpgfnqfghnecuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivg hnthhsucdlqddutddtmdenucfjughrpefoggffhffvvefkjghfufgtgfesthejredtredt tdenucfhrhhomhepfdfuvhgvnhcurfgvthgvrhdfuceoshhvvghnsehsvhgvnhhpvghtvg hrrdguvghvqeenucggtffrrghtthgvrhhnpeelfeetueegudduueduuefhfeehgeevkeeu feffvdffkedtffffleevffdvvdeuffenucevlhhushhtvghrufhiiigvpedtnecurfgrrh grmhepmhgrihhlfhhrohhmpehsvhgvnhesshhvvghnphgvthgvrhdruggvvhdpnhgspghr tghpthhtohepuddtpdhmohguvgepshhmthhpohhuthdprhgtphhtthhopehfrghithhhrd gvkhhsthhrrghnugestgholhhlrggsohhrrgdrtghomhdprhgtphhtthhopehsihhmohhn rgesfhhffihllhdrtghhpdhrtghpthhtoheprghirhhlihgvugesghhmrghilhdrtghomh dprhgtphhtthhopehmrhhiphgrrhgusehkvghrnhgvlhdrohhrghdprhgtphhtthhopehm rggrrhhtvghnrdhlrghnkhhhohhrshhtsehlihhnuhigrdhinhhtvghlrdgtohhmpdhrtg hpthhtohepughrihdquggvvhgvlheslhhishhtshdrfhhrvggvuggvshhkthhophdrohhr ghdprhgtphhtthhopegrshgrhhhisehlihhsthhsrdhlihhnuhigrdguvghvpdhrtghpth htoheprghlhihsshgrsehrohhsvghniiifvghighdrihhopdhrtghpthhtohepthiiihhm mhgvrhhmrghnnhesshhushgvrdguvg X-ME-Proxy: Feedback-ID: i51094778:Fastmail Received: by mailuser.phl.internal (Postfix, from userid 501) id 9E84ABA0070; Sun, 2 Mar 2025 11:03:11 -0500 (EST) X-Mailer: MessagingEngine.com Webmail Interface Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Date: Sun, 02 Mar 2025 17:02:51 +0100 From: "Sven Peter" To: "Alyssa Rosenzweig" , "David Airlie" , "Simona Vetter" , "Maarten Lankhorst" , "Maxime Ripard" , "Thomas Zimmermann" Cc: dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org, asahi@lists.linux.dev, "Faith Ekstrand" Message-Id: <5a4b80f3-c121-4d5e-ae88-442a8480d285@app.fastmail.com> In-Reply-To: <20250301-apple-twiddled-modifiers-v3-1-4b9bb79825fe@rosenzweig.io> References: <20250301-apple-twiddled-modifiers-v3-1-4b9bb79825fe@rosenzweig.io> Subject: Re: [PATCH v3] drm: add modifiers for Apple GPU layouts Content-Type: text/plain Content-Transfer-Encoding: 7bit On Sat, Mar 1, 2025, at 23:01, Alyssa Rosenzweig wrote: > Apple GPUs support various non-linear image layouts. Add modifiers for > these layouts. Mesa requires these modifiers to share non-linear buffers > across processes, but no other userspace or kernel support is > required/expected. > > These layouts are notably not used for interchange across hardware > blocks (e.g. with the display controller). There are other layouts for > that but we don't support them either in userspace or kernelspace yet > (even downstream), so we don't add modifiers here. > > Signed-off-by: Alyssa Rosenzweig > --- I don't understand much about GPUs but the explanation here is clear enough even for me. Reviewed-by: Sven Peter Best, Sven