From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rodrigo Siqueira Subject: [PATCH 0/2] drm/vkms: Use alpha value for blending Date: Tue, 9 Jul 2019 22:52:02 -0300 Message-ID: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0854235445==" Return-path: Received: from mail-qk1-x742.google.com (mail-qk1-x742.google.com [IPv6:2607:f8b0:4864:20::742]) by gabe.freedesktop.org (Postfix) with ESMTPS id 9F94B89590 for ; Wed, 10 Jul 2019 01:52:10 +0000 (UTC) Received: by mail-qk1-x742.google.com with SMTP id d15so694968qkl.4 for ; Tue, 09 Jul 2019 18:52:10 -0700 (PDT) List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" To: Daniel Vetter , Haneen Mohammed , David Airlie , Simon Ser , Oleg Vasilev , Mamta Shukla , Harry Wentland Cc: linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org --===============0854235445== Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="fyrleg2cbocjyu6s" Content-Disposition: inline --fyrleg2cbocjyu6s Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable The first patch of this series reworks part of the blend function to improve the readability and also for preparing it for using alpha value. The second patch updates the blend function for applying alpha value for a fully transparent blend. After applying this patchset, pipe-a-cursor-alpha-transparent in kms_cursor_crc start to pass. This patchset depends on: https://patchwork.freedesktop.org/series/61738/ Rodrigo Siqueira (2): drm/vkms: Rework blend function drm/vkms: Use alpha channel for blending cursor with primary drivers/gpu/drm/vkms/vkms_composer.c | 54 ++++++++++++++++++++-------- 1 file changed, 39 insertions(+), 15 deletions(-) --=20 2.21.0 --fyrleg2cbocjyu6s Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEE4tZ+ii1mjMCMQbfkWJzP/comvP8FAl0lRMIACgkQWJzP/com vP8Cnw//dlryTWFCJiRp35ea2i6MuLQbjbUeV8bUyH8LN4vDgMrtNcCapfD7jWLz QaQJj/gXz60LBLSdzwOYP738pRVGw9yP4zE58PLhMCXkyL19SvtBz+3GDdrmkBmO UiVPFsZa44edCFFnXiZ4qS7ElN5yL3x138zCbOnS3MoLMi02TvXN8nzqWWU07omC k89d8Uf1pU3FmmOkcRdXe9DNZhkqu6W9fERu625mPzmtn3qEZqPvSDjCcjAizn0H pS35uLEWvENNY1W0snhbS5X7aS8yMByMKTfO0Mo8BFQ4ZUb+iDUFXTBYPdXtfYX2 mD2prwwzuWn61Z+ByOM2L8ZuPMOAH48yw2iZzOW8Lsu2NWSh4Md31pUxSE5Bsguj JddJE8v9BYSQgs9ntKYraKPKzhi6U2vFj1mYycfPWUEc6q4piiR9sLZRC2dFjbX/ f617U17muG2kCjdUA1ypcRnrkBXCtLjT0JnRB1bhFsgSEcnwX6TUrRZvEVPRC/xH wDS7JfWEum++tlMWL+AUn01vHNItOIjAB8LdcWhuYbRxEZa5ut3UZpky0FTUcRlV X9ELtMP5oGjF/N8qEaJ1LiFzj1GLlfZYglD6gOlyOtKKuePnRONPvSP7ow/V14Yb 9cZKu+NDl4pRozw3cdPp0rjyb3O9wylfGaN5yelcSsEP9Yh9Oso= =twWP -----END PGP SIGNATURE----- --fyrleg2cbocjyu6s-- --===============0854235445== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVs --===============0854235445==--