From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric Anholt Subject: Re: [PATCH v3 4/4] drm/vc4: Add CTM support Date: Mon, 16 Apr 2018 13:36:05 -0700 Message-ID: <87a7u26g96.fsf@anholt.net> References: <1523479755-20812-1-git-send-email-stschake@gmail.com> <1523479755-20812-5-git-send-email-stschake@gmail.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1377849039==" Return-path: Received: from anholt.net (anholt.net [50.246.234.109]) by gabe.freedesktop.org (Postfix) with ESMTP id A03126E1D8 for ; Mon, 16 Apr 2018 20:36:09 +0000 (UTC) In-Reply-To: <1523479755-20812-5-git-send-email-stschake@gmail.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Cc: airlied@linux.ie, linux-rpi-kernel@lists.infradead.org, dri-devel@lists.freedesktop.org, Stefan Schake List-Id: dri-devel@lists.freedesktop.org --===============1377849039== Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" --=-=-= Content-Type: text/plain Stefan Schake writes: > The hardware has a single block for applying a CTM prior to gamma lut. > It can be fed with pixels from one of our CRTC at a time and uses a > matrix with S0.9 scalars. Use private atomic state to reject attempts > from userland to apply CTM for more than one CRTC at a time and reject > matrices with scalars that we can't approximate without integer bits. > > Signed-off-by: Stefan Schake > --- > v3: New in the series Patch 2-3 get my r-b, and I've sent Stefan a small series of fixups for the modeset locking as was patiently explained to me by danvet. With that, it'll have my r-b, and hopefully danvet can confirm that it's what he meant :) --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEE/JuuFDWp9/ZkuCBXtdYpNtH8nugFAlrVCTUACgkQtdYpNtH8 nugXvQ//bCnURe2FQY6aFbURaYBRXLMZDD6V2dxZU0xf5oFzmz1I+H3DgvC5tRu9 a4KCE+WrBuXWEOI9tIWGBU17AUDbiXqEy2jHFl4rXkr12nNqWEsnJFavSLT8BXZ+ kTaPQJ49kyciCLbaRDN5Wx0j5TFuyXW7ew7Ki4V2u716xNbGbmi4EL1wY1/D1/TL b81gWmmm+iLr23y4qcItKnirx0d4Mw4Sti2HW1ILkUYD1O2T3TBbhxzYnMtj9mc4 AEytuisZ9+yQqmEd4OlBWhNNyLOrySVky/IT0i+HBW/EgCJ3ehsLK+0OKNBOznKL 1E9M+fmR4PdCeT2OiuKkXweJKdQF0z2CpsP+6Vsd1eRSJ3fsQRnPvUhLLQDppxg/ uIBkGxlq1BMpzjWn1y6i5XCtQIFTf2RrYZKyU1S2boxEBIQ3ioWjklQOrCOWpoNy helPBB+OCW1c9xn4MBFzhTBtcAPbQz3NFd+Gi6bXXdTAVBLrCxiNrE4vcM4bWOTU ep5rilf8w0QkzM6z2uWgrnw5g/br6HiaSUmqHyxtXthNhHcLO6dGPS7YjtgQSbBA +rZWknV2p/4m9biuuNA2IU0guRXySrwBzTBogEmwvwSmAjVq8+lCvRMw2cfmx9kj 9wiiOBthm1xJ5px80obWTCoprNyeQeoF2fZb4YTq8qp2OH2zPgA= =TLgF -----END PGP SIGNATURE----- --=-=-=-- --===============1377849039== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg== --===============1377849039==--