Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp4376314pxj; Mon, 21 Jun 2021 21:38:18 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzCLAQmiQbwzdFqlesFAfa3M2EcDF6c5/dArEHQ5tZUUmVGnTm4mUJcEHhI3/k+XpLrNev3 X-Received: by 2002:aa7:cf03:: with SMTP id a3mr2265030edy.27.1624336698527; Mon, 21 Jun 2021 21:38:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1624336698; cv=none; d=google.com; s=arc-20160816; b=FpUFuz8EmN6WNRBtVBH8OwWalOOQ90pY3E4bUzZwnuOsRFHwrQ+vVg3za/ZTmek8SW E+lOJnWLLQewX2ljKOwbKUzoBEtUYiD0rRwvqainYKAjrs51UtVMby6S0KMI/ZZsGQMQ +ssT6bjE3QdFTpR8RdDjscqNQ6OvmUk8mOclWstYWFC60uqa3ZmchgOVw7RyD9ULdT+S 1rkTZ6T3V4L82eVPaiwSvswt3zaht+h1KB48Jui70x2QdKI0pvUJNOhZEAuNh6Fu4HB1 fc3MAaby8VUZol6MBmGeC1KRoUGwEenpKADuFVFEH3IuH01u6IFuh9TuA06F8Qhyj3aP M+gA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject:dkim-signature; bh=x0OTjMJvAfeLoTPBJP6etPppl+ZEtis/BAKC/ypcfLY=; b=pcogZUOf6ZtSk5b6wX+/MhecvJpC3TFEd9OtAbS9FRv30csizwza1mSYjnhMl5/62N FsJIyEAm5W5howmKgM1tw7M+f+4LMAA8MUsq6TJ8Q3kFoN82HlO6oS0hTiWmZ6KRFXgr Q6OvkuhwXCPjtuuEKFPD+FSV2qGf0IWeeByCXjCm4dkjxDrExKg/zopgBvmEeVB/gLV7 Ra9xORxWsleXYHO88lt5GL400dGknJaLGcpkD7uzpzYcfVbfVT+EYWx9z289drsZcrLK qNIn5tbO2GT1oqQVRk0uoXHwgS3DNO+Xq9BqgCtyCDLzvjGrqjI5etOrMq080IcNhNu0 uc1w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@igel-co-jp.20150623.gappssmtp.com header.s=20150623 header.b=hqIMgklI; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id e5si5805286ejm.62.2021.06.21.21.37.54; Mon, 21 Jun 2021 21:38:18 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@igel-co-jp.20150623.gappssmtp.com header.s=20150623 header.b=hqIMgklI; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229820AbhFVEjM (ORCPT + 99 others); Tue, 22 Jun 2021 00:39:12 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51270 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229574AbhFVEjJ (ORCPT ); Tue, 22 Jun 2021 00:39:09 -0400 Received: from mail-pf1-x42a.google.com (mail-pf1-x42a.google.com [IPv6:2607:f8b0:4864:20::42a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 992A8C061756 for ; Mon, 21 Jun 2021 21:36:53 -0700 (PDT) Received: by mail-pf1-x42a.google.com with SMTP id y4so8442291pfi.9 for ; Mon, 21 Jun 2021 21:36:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=igel-co-jp.20150623.gappssmtp.com; s=20150623; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=x0OTjMJvAfeLoTPBJP6etPppl+ZEtis/BAKC/ypcfLY=; b=hqIMgklIYCbPoWvruF1SrCXtAPkvGYkEupgh8pS1NnV5PeDpCRTcfzkzY9xGS0Vygu K+tgvDXKNAHeFAfW1sBafjWfoMfDv6TsKe9K0H7A8HvPnRWmqCVs0onai8+9LB/6swDW hbwl8fsX3/WkPm3C88BHOqOIJ6eKJS+cMadMtuy5JfKpPnuKSBpR2qQTtU8tRvrYoPPp K5uZZwfYEqCat/yfVM1RZHSLOaMpokZVmq2BI1oBpzcFsbYFpFvwjUQytpUnW71QlCb/ n2Q4p8JfeUh5E6bG79LuVhinFhvpizZjkRbNJnzeJcj4Of9i/Lu7cN4kJMgBY8PzTi4x ueJQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=x0OTjMJvAfeLoTPBJP6etPppl+ZEtis/BAKC/ypcfLY=; b=lp0PtEfcR4MtSp834fZqgKM+g/W935BvmRStn+vVouM/VBPzCNag9CRqh1DzIeBAWD OcaXtJ5cW395A5B79sKHdu2dLqL17kCAvfBEw+Jb9q07my9onM7DBGTx2ik8ggJmy7mo aLdqcTJFmLRsF1PCqq9vLZLVdX9wmeW6+cBcwDBfcfVmTZEkremCpfkccyS/c14GEonc X4kOOtgbQ5x0AEt95lah6KFBa0n+AcwQ7jKjnGdYc5C8nPG6TTr4ixjEZbHVqAaeS7q3 x5lmaCAVtiBdWoOmjefNJd0Aa5E0LHWFdhDPdMIAy1bKqeCyKsmCdN6a+9EG4Sialk2J zFPg== X-Gm-Message-State: AOAM531ui0j8nBgBw++44gvuBVlIOi7EbEZBndXO8xgvpHFtUyyix9Nf 33/tF8uVgm/PjjheioFnIuNJBA== X-Received: by 2002:a62:7b0b:0:b029:301:40a6:9e64 with SMTP id w11-20020a627b0b0000b029030140a69e64mr1707873pfc.33.1624336613115; Mon, 21 Jun 2021 21:36:53 -0700 (PDT) Received: from ?IPv6:240b:10:c9a0:ca00:5192:32ad:e5be:23cd? ([240b:10:c9a0:ca00:5192:32ad:e5be:23cd]) by smtp.gmail.com with ESMTPSA id t13sm17084284pfh.97.2021.06.21.21.36.49 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 21 Jun 2021 21:36:52 -0700 (PDT) Subject: Re: [PATH 0/4] [RFC] Support virtual DRM To: Maxime Ripard Cc: Thomas Zimmermann , Maarten Lankhorst , David Airlie , Daniel Vetter , Laurent Pinchart , Kieran Bingham , dri-devel@lists.freedesktop.org, linux-renesas-soc@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, linux-doc@vger.kernel.org, Damian Hobson-Garcia , Takanari Hayama References: <20210621062742.26073-1-etom@igel.co.jp> <9853d0a9-6053-db64-9c79-40b7e0689eec@suse.de> <20210621092454.jvdmelk2h427jn5v@gilmour> From: Esaki Tomohito Message-ID: Date: Tue, 22 Jun 2021 13:36:48 +0900 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.11.0 MIME-Version: 1.0 In-Reply-To: <20210621092454.jvdmelk2h427jn5v@gilmour> Content-Type: text/plain; charset=windows-1252 Content-Language: en-US Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, Maxime Thank you for reply. On 2021/06/21 18:24, Maxime Ripard wrote: > Hi, > > On Mon, Jun 21, 2021 at 09:10:19AM +0200, Thomas Zimmermann wrote: >> Am 21.06.21 um 08:27 schrieb Tomohito Esaki: >>> Virtual DRM splits the overlay planes of a display controller into multiple >>> virtual devices to allow each plane to be accessed by each process. >>> >>> This makes it possible to overlay images output from multiple processes on a >>> display. For example, one process displays the camera image without compositor >>> while another process overlays the UI. >> >> I briefly looked over your patches. I didn't understand how this is >> different to the functionality of a compositor? Shouldn't this be solved in >> userspace? > > I think there could be a bunch of use-cases for something that could > "steal" a plane without the compositor knowing. > > Something I'd really like to work at some point for example is that the > downstream RaspberryPi display driver has a visual clue when it's > running too hot or is in over-current. > > I don't think this is the right solution though. The DT binding makes it > far too static, and if there's a compositor I'd assume it would want to > know about it somehow (at least if it's from the userspace) ? > I will reconsider the DT bindings. We want to separate the resources from the master in units of planes, so we proposed virtual DRM. By separating the plane from the master and making it appear as a virtual DRM devicein userland, the plane can be accessed from userland using the general DRM API. What do you think about this idea? Best Regards Tomohito Esaki