From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric Anholt Subject: Re: [PATCH] drm/vc4: Limit SAND tiling support to semiplanar YUV420 formats Date: Fri, 14 Dec 2018 08:16:32 -0800 Message-ID: <87d0q4f5i7.fsf@anholt.net> References: <20181214141218.12671-1-paul.kocialkowski@bootlin.com> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Return-path: In-Reply-To: <20181214141218.12671-1-paul.kocialkowski@bootlin.com> Sender: linux-kernel-owner@vger.kernel.org To: dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org Cc: David Airlie , Boris Brezillon , Eben Upton , Maxime Ripard , Thomas Petazzoni , Paul Kocialkowski List-Id: dri-devel@lists.freedesktop.org --=-=-= Content-Type: text/plain Paul Kocialkowski writes: > Despite what the HVS documentation indicates, the VC4 does not actually > support SAND tiling modes for any RGB format and only semiplanar YUV420 > formats (NV12/NV21) can be used in these tiling modes. > > The driver currently claims to support RGB formats for the associated > modifiers, so remove them from the supported list in the > format_mod_supported helper for RGB formats. > > Remove further checks that are no longer necessary along the way, since > semi-planar YUV420 formats support every SAND tiling mode. > > Signed-off-by: Paul Kocialkowski Reviewed-by: Eric Anholt --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEE/JuuFDWp9/ZkuCBXtdYpNtH8nugFAlwT12AACgkQtdYpNtH8 nugZYA/+PAIlKsui2MAMm22khMKoBTc8/+H4QzUPwoOx5AbP1IXuWGcGlbmS4qRh ppNSYx35fxCRdE6050+75qO3tq21z60sSZ6amdbck8Js3iHq3jZMOTYZ/r+5t0Zh rmSvRK+AaPy2nXhypTpcYPpgy9SGV7d6XGanBvv2ynLc6UsLLXFTiAbXopyyWjls 1eKfgLGbXcPf0yQNGbN2d20WDO0wVp0xMtNTL3md5WiH3e3iV60g3yFzzWiZ7bqm mjP0+QAoMUTP8yYn87ilGAPXTSUxvsgAnKaGjF+eT/Ga1deJ/8vU+hrlZ/5wbqhk UpJJecYkGW6RO1nRiBzAdXBaD8/CKDnD9wmMJeXF9/Evr1HHaEW8YulJnPAslyoG Of2Do7OsNBG0rv881Z5ByfwkSqJssd4a4C9qYitWS5Ddy81i/uzdRp16PvPscqRl i3lungXfQ9Mk8hNxYazU6B+Azepl4UotBrs9n9cZ8CrIc6chlWgJZUasZP38fmL0 T4E767DSua89Ji6QoFcewxp3/CMY44v7D7ji+a6m6iyvDsDmsZfycwJHE0sFHxfb EXTkuFW8Op6/RUPpK+KUKdSef4V7Z5HVNIAqQq9I+bTMK7MTIaOwgxLsotcua1nc yJDe2UqFL9dXCkC13sdS38yrqHVOQzNYxJez+hQzcxvPIxe/7W8= =OCa7 -----END PGP SIGNATURE----- --=-=-=--