From: Eric Anholt Subject: Re: [PATCH v2] drm/vc4: plane: Expand the lower bits by repeating the higher bits Date: Thu, 17 May 2018 15:31:21 +0100 Message-ID: <87po1u4ame.fsf@anholt.net> References: <20180517133759.25626-1-maxime.ripard@bootlin.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0156001133==" Return-path: Received: from anholt.net (anholt.net [50.246.234.109]) by gabe.freedesktop.org (Postfix) with ESMTP id 4D1906E942 for ; Thu, 17 May 2018 14:31:26 +0000 (UTC) In-Reply-To: <20180517133759.25626-1-maxime.ripard@bootlin.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Cc: Maxime Ripard , dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org --===============0156001133== Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" --=-=-= Content-Type: text/plain Maxime Ripard writes: > The vc4 HVS uses an internal RGB888 representation of the frames, and will > by default expand formats using a lower depth using zeros. > > This causes an issue when we try to use other compositing software such as > pixman that fill the missing bits by repeating the higher significant bits. > As such, we can't check the display output in a reliable way by doing a > software composition and an hardware one and compare both. > > To prevent this, force the same behaviour so that we can do such things. Pushed to drm-misc-next. Thanks! --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEE/JuuFDWp9/ZkuCBXtdYpNtH8nugFAlr9kjkACgkQtdYpNtH8 nugU8hAAmAAq4zJCOljE9v+nyuCcA9vrI8D5yqb/AkUfle8aBtNCybWvp0cnPIPD ityAHlVBoaTq4E7SqutHJBtCDQt/yyLT4rKQJdfhJxsSZ/SH8PGBifgE1X3iFFb3 dr8Ngn5liKiHBJUqsKaApu99ttSesPzUx7o42aHrdrae6ni6zlKciaIgXEB+Fqbl xxW4+LMHFcCTUbZanmloUu1LzIFYFc0d2D2rNWwFqKzWP6W53XsmSZ4CtE+dvOOp RaWHheGkGQhydpoAyKrk0dNCnVVeRgfj+c0/N4Oj4AqmR6ODN/qQoTyVnfDtWr6f 4ykUo19Ydpy8Hq6lP1TJcnapjfuqlwGY4CFGpEbBozSzhD59ev41HDC2EmFRbsSv uEyPE9ZBN2B+C8/SWRpcPIb+BfH0Mq41OfK9srnJV0bjzOJClhsA6gAag6HN1Sxa /zZO9cDMMU+HULAeF/taKZmetRHmK1hqxyKyA/10ey+NnvVLi5PxswbKPGmfeekG zjNIvTRGYiafV6+qYbnmw1IDZrJC29hI5o+YZNL70lDMX76FREtaH848wVoS92Eg pJ6/uBrAwqnQTYL3rqh2YanTbeVbmRfGcu0LwdYU2lurTH0wyyil30XHgVhL3Ma0 xpv0HLuuyseyKlpTkgjR0IP587o55sC4NmHK/Cm1X5rdSORFvyE= =iRxX -----END PGP SIGNATURE----- --=-=-=-- --===============0156001133== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg== --===============0156001133==--