From: Pekka Paalanen Subject: Re: XDC allocator workshop and Wayland dmabuf hints Date: Thu, 17 Oct 2019 12:09:44 +0300 Message-ID: <20191017120944.09877cd3@eldfell.localdomain> References: <0c34116b-a234-f436-2691-55dca6aecaca@nvidia.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1032651006==" Return-path: In-Reply-To: <0c34116b-a234-f436-2691-55dca6aecaca-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: wayland-devel-bounces-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org Sender: "wayland-devel" To: James Jones , Scott Anderson Cc: dri-devel-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org, wayland-devel-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org List-Id: dri-devel@lists.freedesktop.org --===============1032651006== Content-Type: multipart/signed; micalg=pgp-sha256; boundary="Sig_/Q.UyAlm1u+9aJK5b8Da2eZ8"; protocol="application/pgp-signature" --Sig_/Q.UyAlm1u+9aJK5b8Da2eZ8 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable On Mon, 14 Oct 2019 06:02:59 -0700 James Jones wrote: > On 10/13/19 2:05 PM, Scott Anderson wrote: > > (Sorry to CCs for spam, I made an error in my first posting) > >=20 > > Hi, > >=20 > > There were certainly some interesting changes discussed at the allocator > > workshop during XDC this year, and I'd like to just summarise my > > thoughts on it and make sure everybody is on the same page. Hi Scott and James, thanks for the write-up, it all sounds good to me FWI'mW. > -As you note, this limits things to formats/layouts that can be=20 > composited (basically, things that can be textures). "Things that can=20 > be textures" is a superset of "Things that can be scanned out" for these= =20 > purposes on our HW, so that's fine for NVIDIA. Does that hold up=20 > elsewhere? A secondary motivation for me was that the compositor could=20 > transition back to compositing from overlay compositing without=20 > requiring a blit or a new frame from the client in cases where that=20 > didn't hold up, but I don't know if that's interesting or not. It is interesting. The compositor transitioning back from overlay to compositing without requiring a new frame from the client is a minimum requirement under normal circumstances in Wayland architecture. If a compositor cannot do that because of a buffer format, how could a conversion blit be possible either? In Wayland architecture, having the compositor (display server) wait for any client before it is able to update the screen is unacceptable because it has a high risk of disturbing visual glitches. OTOH, I have heard of special use cases, where all buffers should always go on overlays and falling back to composition would be considered a bug. For such cases, there are some ideas towards that at https://gitlab.freedesktop.org/wayland/weston/issues/244 . Thanks, pq --Sig_/Q.UyAlm1u+9aJK5b8Da2eZ8 Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEJQjwWQChkWOYOIONI1/ltBGqqqcFAl2oL9gACgkQI1/ltBGq qqeavg//cG46lYsiXfQJOtNHRqR8RfG6jPzjwKvEdVh5FsWwN0iJQZBVoD8BW7oJ A3l+/jwesUv7zbVa/H1bwHi3hfGUFk6oYGTgY4lNSXZbWVUREM4Us2XpNI4/6B4K 1Kp8878jbM9Cp+KkCJEQrgQWjbs1LWf7wFtE1YX6Asch7Sx4cG1rjmRZRJpYg83f qLGabMWqn7KpEjVYz0m/UmXCmURa5LY/X9349mbBKjbdwcyU8gLKa3srTn6FIMTz 2YmNekm4m3vZTQreexxu8sF5isqGkqxRR/tnUyKrKTPS99ayzPA3o6vgULME4mw6 MG8b8WqmQgoBnC4JUN4m8uU6sGXc/Ep1wym3pDZqkgVwRjBxtV3F129Ob2Rq/dYp LLCmSiabzKBsdWFN81GGiigu9IcWF9ID3C5l5CSvvmWN1FSWhjg47QjbZKuobNy+ PJ31hodSZTaGJJJjdDT15BAWNOJ5WZZlavZAn4AjA2V72adLZhVDYPFLjhdh4hs/ 6HqPnGT/u9q4uEI46KLWNBZI2zU1K604sa0c95YV9CBV/bB9fM4NFzpTAiPiXAHU RhKsS/RJG0bLFoucIeo3Th6RL2NlVW21KRPbh+/gZpYxUDUf51YPA7yXzL2TMsiU gojUDkrYLsqr9Re+83RbdXNPeWVAZxdCr9wrQII9iuRBb/6u5ro= =Flnh -----END PGP SIGNATURE----- --Sig_/Q.UyAlm1u+9aJK5b8Da2eZ8-- --===============1032651006== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18Kd2F5bGFuZC1k ZXZlbCBtYWlsaW5nIGxpc3QKd2F5bGFuZC1kZXZlbEBsaXN0cy5mcmVlZGVza3RvcC5vcmcKaHR0 cHM6Ly9saXN0cy5mcmVlZGVza3RvcC5vcmcvbWFpbG1hbi9saXN0aW5mby93YXlsYW5kLWRldmVs --===============1032651006==--