Received: by 10.213.65.68 with SMTP id h4csp1434983imn; Mon, 26 Mar 2018 07:29:46 -0700 (PDT) X-Google-Smtp-Source: AG47ELueOpS/an07RtxLLGN1LRFBaMnLLHwOd3wN7RfQfI26agPg9Fgk2WP4xnN2hiIk2AcEhffZ X-Received: by 2002:a17:902:d886:: with SMTP id b6-v6mr35898405plz.70.1522074586405; Mon, 26 Mar 2018 07:29:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1522074586; cv=none; d=google.com; s=arc-20160816; b=NDPSjlt8dzAymjzYS5RWs0fBWs8jS4vIkVzesYWmDD1WRBv/7cj6egFJh+g+8u/TGc qqPv1EYa76+2KC+8BGM1Ct5Pm2OoUVj+lVK4hHc7xY5sfxbFFRSM+1ic49rvqThc6uos 5bGQ7fpACkoP0Ob0ZQ2ibMIGOcQ+YSGcr9xsXSLCqeQd7F9m4d8bdpmJZG4fFKFWWpx4 itB10yL/kfsEvNdDT7O/LSoGw/mbVKMP4Q7UsUpIQZUIACHY3B9i8NShOLONNAaiftEb hOaBv2oCmEhqMLt4L+lfcuYS4NVG32rwZB0exAB76rLLenwTvU4sk6GXZqTpQHALo1Iz lJUw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:cc:to:subject :message-id:date:from:references:in-reply-to:mime-version :arc-authentication-results; bh=eGLh3YVnLz6i46vHoxqSNiz9c8kiMe3/X050jkgWQIk=; b=Uj7O/5PSrhFSBvthMrb6MWG0rz3iygIkw8TXlhxaMp6VjR7HWSonEt4cKK03UU6rKv odhkjwDKVRvQHxi+UlVrACWx28H/CA90LF64GB22Fc4x6R191AWZ7p5V/zuWwt4xa2gd svusEbqCW28w/ykgeqTeFeHE8lin6/S9X/zMfi0JPXU+1RCIr1r8kkrxX9Fvq18NSu2W F2AVc2VNZ/1un0sdsf3WO2wOdcV8vQAB6860z/zC4PPomU927dWtKbHrTY4/bKd+pWS/ aVK2HfyRPzq6lrVF/lpdgQoLcRzEJimhKF1M6SyCQGu1AMJBPoE/rIlb3JfsXzVzoKLq VDZg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id c15si3743765pgv.251.2018.03.26.07.29.31; Mon, 26 Mar 2018 07:29:46 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752231AbeCZO2Z convert rfc822-to-8bit (ORCPT + 99 others); Mon, 26 Mar 2018 10:28:25 -0400 Received: from mail-io0-f172.google.com ([209.85.223.172]:46208 "EHLO mail-io0-f172.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751913AbeCZO2X (ORCPT ); Mon, 26 Mar 2018 10:28:23 -0400 Received: by mail-io0-f172.google.com with SMTP id q80so12588537ioi.13 for ; Mon, 26 Mar 2018 07:28:23 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=5lRT0CPu28/37rBH8HNYq30xeN8v6x8etY+zYtzo6R0=; b=PGrtNjRE7GACTeBoOrypzK9Rs4AOY3hFUU82LQadIueWCqUAl+L/LkENb8C3BgPhxD ovVktOOmLQLTKWne5lv9EO85xmoFKQuAp5WyFZmunGlG6pbVgUrahOAZnUY8HSRE+Hm6 DEr2sDUS+AZJfsP+f59le9WetCWiaR8fQ0MYUwYpytSqGt+Gc9bqeO1PKehvopdDXrPl P17LWOCjoQveLmVdl5WQIPnK3KaflbH2xLgfv5maulzOQRGcrwVx8otiT4JTNjq4Knjx gjohMFnhQZIv2nh8Nt5+jq8danCfxlxfuwSB2IxIaCr9tCzPD55Ba3IEf44619/YzfYv gUBQ== X-Gm-Message-State: AElRT7HKrO2G5SPJ+TDnBccppb0W/eLxg9qfXA7N5TW5VNkCh/9cj/7N fskp75yaRpG3U+Z/htQXrR+lApLC X-Received: by 10.107.197.2 with SMTP id v2mr41398037iof.133.1522074502875; Mon, 26 Mar 2018 07:28:22 -0700 (PDT) Received: from mail-it0-f45.google.com (mail-it0-f45.google.com. [209.85.214.45]) by smtp.gmail.com with ESMTPSA id q126sm9241052iof.68.2018.03.26.07.28.22 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 26 Mar 2018 07:28:22 -0700 (PDT) Received: by mail-it0-f45.google.com with SMTP id z143-v6so12623364itc.0 for ; Mon, 26 Mar 2018 07:28:22 -0700 (PDT) X-Received: by 2002:a24:6983:: with SMTP id e125-v6mr8001232itc.38.1522074185999; Mon, 26 Mar 2018 07:23:05 -0700 (PDT) MIME-Version: 1.0 Received: by 10.79.241.89 with HTTP; Mon, 26 Mar 2018 07:22:45 -0700 (PDT) In-Reply-To: <5edad360-d05d-1bb8-c1f2-925138784fef@iki.fi> References: <5edad360-d05d-1bb8-c1f2-925138784fef@iki.fi> From: Chen-Yu Tsai Date: Mon, 26 Mar 2018 22:22:45 +0800 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [linux-sunxi] Preferring cursor plane over overlay plane To: =?UTF-8?B?Sm9vbmFzIEt5bG3DpGzDpA==?= Cc: dri-devel , Daniel Vetter , Maxime Ripard , David Airlie , linux-kernel , =?UTF-8?Q?Jernej_=C5=A0krabec?= , linux-sunxi Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8BIT Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Mar 26, 2018 at 10:14 PM, Joonas Kylmälä wrote: > Hi DRM subsystem developers, > > I ran into this patch where overlay plane was switched to cursor plane > because there was no proper cursor plane available on the display > hardware: . Can we discuss whether > to have a policy of using a normal plane for cursor plane in case a > dedicated HW cursor plane is missing? > > Daniel Vetter suggests that it might be fine to use normal plane for > cursor plane because how to use the plane would be only "a hint to > userspace" (see the email linked). > > My motivation for having this discussion is that the newer Allwinner > SoCs don't have dedicated HW cursor plane and the sun4i DRM driver > currently uses the extra planes as overlay planes which makes moving the > cursor on Xfce4 DE a terrible experience. To have better cursor moving > experience one overlay plane would need to be sacrificed. If you look at the development history, we've never supported cursor planes. At the beginning we supported one main plane and one overlay plane. That was it. The Display Engine 1.0 does have support for an extra hardware cursor, but we haven't done the work to support it yet. I don't know about the Display Engine 2.0 though. ChenYu > Also, I probably missed some recipients for this email so please forward > it to the recipients you think might be interested about this. > > Best regards, > Joonas > > -- > You received this message because you are subscribed to the Google Groups "linux-sunxi" group. > To unsubscribe from this group and stop receiving emails from it, send an email to linux-sunxi+unsubscribe@googlegroups.com. > For more options, visit https://groups.google.com/d/optout.