Received: by 2002:a25:b323:0:0:0:0:0 with SMTP id l35csp1762944ybj; Fri, 20 Sep 2019 16:22:15 -0700 (PDT) X-Google-Smtp-Source: APXvYqzTAaXyOcI1OWeSMWjjGIa/hsscad2oVFQP4myo1SaAL1N7mnn9JbPEYs6dN20DSdPFgis6 X-Received: by 2002:a05:6402:3d2:: with SMTP id t18mr1316393edw.136.1569021735126; Fri, 20 Sep 2019 16:22:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1569021735; cv=none; d=google.com; s=arc-20160816; b=F+m4TgzsDYUF0HfAO2m1ZUTW2DeRXZyCHMp1qPvMd6zyQ2cXxKoz2pk//b20ochmwR gUqBmZUkCb2DxOMTtvLTTEVPzUpGX+pLv37TdnVJdgeWX6TyapKYxIGqBuRlPFP8ZPga WltMn+4H+GMTXrnMOprSwh5ivWxcXRASZubWYAIrTRYGfojN+s9d7B7KPOuECyaYYMFH wypWio/sP7w46ARki+af6xhdxkBR86UAwChEzG/6A7mHril0yRBlW1S1qitofbl4zWSb GulAc0pdWcav+r0NuuYrirMOS1hZgTa4hPTqd6kNDN7KRXr41xfFP3ORdqzbUK2kaPhi xpKg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=YRyrapOiabxjXaNGfyQx4hSZniXp5uy5pmJp672kfzs=; b=0qaa/NcjSO0kBy8DWGKUBEd7sMbSP5T2TsP4GsJ/Pg3v8gC4dBN5fA8o7HpDI0TZjb GqRy4sQ4ef8rTqf/Mn6Oz07z1Pu0089Fm3XHilx+WA7VspmnN8DXajiy4mERM1awSWNw FIxA3GUG+dcU7tpEP73CwOtHAbbqRJyTFW+EsBSjiorD9xnjOoVXiXvfiOBjNb7YALU7 bNdMqnILQ8bzEaInwvdR47LjtyZy/3WlgBM18otrdj6xjLTQW0RKtGZx9oF+vMlUxhV8 UpYJnQXzegtshLqia6iTUmLAexmDuXL6Lvr3N5v51XjQn3y62VDtLTgv9WWEfEX+Bp7Y YSIw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=mWmVWP9+; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id e4si2208927eds.373.2019.09.20.16.21.52; Fri, 20 Sep 2019 16:22:15 -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; dkim=pass header.i=@kernel.org header.s=default header.b=mWmVWP9+; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2394803AbfITGSD (ORCPT + 99 others); Fri, 20 Sep 2019 02:18:03 -0400 Received: from mail.kernel.org ([198.145.29.99]:53442 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2394795AbfITGSD (ORCPT ); Fri, 20 Sep 2019 02:18:03 -0400 Received: from localhost (lfbn-1-10718-76.w90-89.abo.wanadoo.fr [90.89.68.76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 1F6FA207FC; Fri, 20 Sep 2019 06:18:01 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1568960282; bh=e2hNmqSZJCH/Q0fAgiT3xYgideDTi8tg3iV8O1/wANk=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=mWmVWP9+tSHhxq49vGb0S8n+iG4TpXtGHwiklAduxT4Sm1No1kl2dPhKxyjp33P5a Ph9Uqzcjs6AYhiyDi0tOpqjmqHglk1Tm29f0dFmnwFSIHZdmyZoG3MqdUNSR9DpXEs +Eoszmv5t8BYa+ROzg4dkarxkQKi9BzCgRxSjn4s= Date: Fri, 20 Sep 2019 08:18:00 +0200 From: Maxime Ripard To: Roman Stratiienko Cc: Jernej =?utf-8?Q?=C5=A0krabec?= , linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org Subject: Re: [PATCH] drm/sun4i: Use vi plane as primary Message-ID: <20190920061800.65sm6jth2afatsvl@gilmour> References: <20190919123703.8545-1-roman.stratiienko@globallogic.com> <20190919171754.x6lq73cctnqsjr4v@gilmour> <104595190.vWb6g8xIPX@jernej-laptop> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="p55jde6mff27vfkr" Content-Disposition: inline In-Reply-To: User-Agent: NeoMutt/20180716 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --p55jde6mff27vfkr Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Hi, On Thu, Sep 19, 2019 at 11:03:26PM +0300, Roman Stratiienko wrote: > Actually, I beleive this is True solution, and current one is wrong. Let > me explain why. > > De2. 0 was designed to match Android hwcomposer hal requirements IMO. > You can easily agree with this conclusion by comparing Composer HAL and > De2. 0 hardware manuals. > > I faced at least 4 issues when try to run Android using the mainline kernel > sun8i mixer implementation. Current one, missing pixel formats (my previous > patch), missing plane alpha and rotation properties. I plan to fix it and > also send appropriate solution to the upstream. > > To achieve optimal UI performance Android requires at least 4 ui layers to > make screen composition. Current patch enables 4th plane usable. Note that you can also get 4 UI planes by enabling more than one UI layer per channel. You wouldn't be able to use alpha between each plane of a given channel, but we can use a similar trick than what we did for the pipes in the sun4i backend. Maxime --p55jde6mff27vfkr Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYIAB0WIQRcEzekXsqa64kGDp7j7w1vZxhRxQUCXYRvGAAKCRDj7w1vZxhR xVsqAQCxwRn470B2REaVhb6qgjk9gRnJgE2i6CEATPRGAMcSHQD/d3HgVsQHduOw gSks8IiI1O6jB8IS0OoGeSFJiwoMqAY= =JHY0 -----END PGP SIGNATURE----- --p55jde6mff27vfkr--