Received: by 2002:ab2:6816:0:b0:1f9:5764:f03e with SMTP id t22csp105172lqo; Thu, 16 May 2024 00:00:57 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCU9z4Q2VcJ+TbfAv0k2+DEWj/WkSwQkL54Ap+1IT3efKUdqGs9bJUK2phRWeIAlYPS6Ppzr0Xu4sUzaNyj/KJ5nxPf/Ae2R8Dy+/nGSCw== X-Google-Smtp-Source: AGHT+IF9+K1JoNsaJNmLOGv70iRfUvs4ZOpUGOdMSjBodWyhD1TcoBAaJhsNB/K8CW+KZZweECp1 X-Received: by 2002:a05:6122:3c91:b0:4d3:45a2:ae53 with SMTP id 71dfb90a1353d-4df8838b136mr14250432e0c.16.1715842856494; Thu, 16 May 2024 00:00:56 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1715842856; cv=pass; d=google.com; s=arc-20160816; b=Lnv959C6UdzqWu8I7w9uFKIE4fvpX66eZyG/5j1xPm+F7pWV2aN+Uy5FPDXHx3+yhQ z0umRGrbZe9JVfsiSj2BmcP8PzOSgut/JtuTyaaOyOqGtLOIWrVjB+/p5zsVXa/OUE11 xl3ZwKF5YBIUwfqQVDaptl4f4ed2RM9tpsMMJa5xu79KQGd39nqOnIEbceuCVLJjs16I 7DEsKNzVAOJlGkMz6SLz2VPOu102SgaUV8R0Il+ONOk//aRG5NxSvlP9ukaT+8MhnlR3 bE+ZUrlVD7vyvvPOS5ucRIxlGMCLF2UdVGrc1ScLEFGVNuHKsHa75e0wKw1e4xMGdwrh s/4Q== 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:feedback-id:references :in-reply-to:message-id:subject:cc:from:to:date:dkim-signature; bh=leylzAvFIkYOhbcV7jem/Mh2/ncqrFvUUBxajYae3KI=; fh=LSu2CCih6AhcQ0d2qcZsOIpuqUMumHsaTPWqS6B4/Os=; b=AMiXqpMsFz13aizwRr30f1rqLYyfxnnjTy768s5yeYUHQwtxFgIwxRnPSJWLZ+9A7C iCxrXpnmc5n3FWuLbsL5LsjYB2T6SHXukxuSBFgBU2plKFaiQ+qk+xsjBpiMbL6eDOSN DvXYuEA3WxsvqrW5B1qFpTcrCnzRCNnpPQqgCNENCmisfkumRL/VgFru3RoqGfm81Hik ZjfwAs3yv3qknvlNAGp6Hsy0NdaG72REGjkflN04ifOfsbp8nmhWsh3dzC+H/Kgoycbi ujiGwBxl+pTBdnJJ7/XwzOUjdxZscWOv8SXYzJaECvhdAPnNFzEgybCruhJpS4itfVck 7bAA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@emersion.fr header.s=protonmail3 header.b=IGAZBS1y; arc=pass (i=1 spf=pass spfdomain=emersion.fr dkim=pass dkdomain=emersion.fr dmarc=pass fromdomain=emersion.fr); spf=pass (google.com: domain of linux-kernel+bounces-180686-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-180686-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=emersion.fr Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id 71dfb90a1353d-4df7c0a9e04si2581655e0c.294.2024.05.16.00.00.56 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 16 May 2024 00:00:56 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-180686-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@emersion.fr header.s=protonmail3 header.b=IGAZBS1y; arc=pass (i=1 spf=pass spfdomain=emersion.fr dkim=pass dkdomain=emersion.fr dmarc=pass fromdomain=emersion.fr); spf=pass (google.com: domain of linux-kernel+bounces-180686-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-180686-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=emersion.fr 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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 013F01C20ED1 for ; Thu, 16 May 2024 07:00:56 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 42B982C1B6; Thu, 16 May 2024 07:00:50 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=emersion.fr header.i=@emersion.fr header.b="IGAZBS1y" Received: from mail-0201.mail-europe.com (mail-0201.mail-europe.com [51.77.79.158]) (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 3A1C329424 for ; Thu, 16 May 2024 07:00:46 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=51.77.79.158 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715842849; cv=none; b=tLihMZUE5RP1U0XeQsi++f1ub9ueJ8g81J66daU8x0bEWoD3W2Gusw1PsV5cd+nrs00fRAqG+oZHEjorEsuL4KQvozg/ObyjXimC1pKf4gqniA95q4hl42iSkWq/c5vN0BqZaNesUnkvrXrdPbTY8tULpRtcztr2Xwbn4Fzq/fM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715842849; c=relaxed/simple; bh=leylzAvFIkYOhbcV7jem/Mh2/ncqrFvUUBxajYae3KI=; h=Date:To:From:Cc:Subject:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=TRUfGx5eOQObuSYrf9PHkjk4o6bAXSn0YqXkqoTH3fcOb7jt4yEwFWold2ABUhjluttsp8Kh/l4vrDCXorUHSz+NI2VRpKRdJZiToMKr9TpJGblz8ujtxq8lJ6LT1i9htTj1Q7ED9tH6EW9bkG+Qr9kbvu129lRaztaiY97NjdU= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=emersion.fr; spf=pass smtp.mailfrom=emersion.fr; dkim=pass (2048-bit key) header.d=emersion.fr header.i=@emersion.fr header.b=IGAZBS1y; arc=none smtp.client-ip=51.77.79.158 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=emersion.fr Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=emersion.fr DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=emersion.fr; s=protonmail3; t=1715842836; x=1716102036; bh=leylzAvFIkYOhbcV7jem/Mh2/ncqrFvUUBxajYae3KI=; h=Date:To:From:Cc:Subject:Message-ID:In-Reply-To:References: Feedback-ID:From:To:Cc:Date:Subject:Reply-To:Feedback-ID: Message-ID:BIMI-Selector; b=IGAZBS1ywHjG+Qgfei0nIbaiB88Bj8RWeijm4CgpCI+BXXoT0Jqpr6jswQEfiY7IX MVCr7iqpB0qwoeJi50pQUg+3U41aIt4dfFCARDTLqbw+JWPR+3yPE9J/koviw4SpOF hnti8NZzSUk+LYyYz2U729onxAw4A5vJkCW4EPoGjHBk1JdWakj3I16Rq+2EN4N3t+ oDrKFRBJ1Zv8bt/9uhGCOhE5nsG+4VRisMznQadNpDZjRygyAmVy8H2xQKe4Xm1oVE 61QhmxqvrKlXpX4uoZwJ3WnQrLtOA1TxdwNL4IdMWozxVJyEAEEUIw4LkxKh4/Qjcr ZAi7jKUmPdUcQ== Date: Thu, 16 May 2024 07:00:31 +0000 To: Laurent Pinchart From: Simon Ser Cc: Nicolas Dufresne , Maxime Ripard , Bryan O'Donoghue , Dmitry Baryshkov , Hans de Goede , Sumit Semwal , Benjamin Gaignard , Brian Starkey , John Stultz , "T.J. Mercier" , =?utf-8?Q?Christian_K=C3=B6nig?= , Lennart Poettering , Robert Mader , Sebastien Bacher , Linux Media Mailing List , "dri-devel@lists.freedesktop.org" , linaro-mm-sig@lists.linaro.org, Linux Kernel Mailing List , Milan Zamazal , Andrey Konovalov Subject: Re: Safety of opening up /dev/dma_heap/* to physically present users (udev uaccess tag) ? Message-ID: In-Reply-To: <20240514204223.GN32013@pendragon.ideasonboard.com> References: <3c0c7e7e-1530-411b-b7a4-9f13e0ff1f9e@redhat.com> <20240507183613.GB20390@pendragon.ideasonboard.com> <4f59a9d78662831123cc7e560218fa422e1c5eca.camel@collabora.com> <20240513-heretic-didactic-newt-1d6daf@penduick> <20240513083417.GA18630@pendragon.ideasonboard.com> <20240514204223.GN32013@pendragon.ideasonboard.com> Feedback-ID: 1358184:user:proton X-Pm-Message-ID: 0685ead30ccf82fc3e353c2ffb3045b08edb5c59 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: quoted-printable On Tuesday, May 14th, 2024 at 22:42, Laurent Pinchart wrote: > My experience on Arm platforms is that the KMS drivers offer allocation > for scanout buffers, not render buffers, and mostly using the dumb > allocator API. If the KMS device can scan out YUV natively, YUV buffer > allocation should be supported. Am I missing something here ? Note that dumb buffers are only intended for simple software-rendering use-cases. Anything more complicated (e.g. involving GPU rendering) should use another mechanism.