From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric Anholt Subject: Re: [PATCH] drm/rockchip: Filter out alpha formats for primary plane Date: Mon, 16 Apr 2018 14:59:22 -0700 Message-ID: <87r2nelsn9.fsf@anholt.net> References: <20180416190103.83171-1-hoegsberg@chromium.org> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0042632138==" Return-path: Received: from anholt.net (anholt.net [50.246.234.109]) by gabe.freedesktop.org (Postfix) with ESMTP id 757276E0C5 for ; Mon, 16 Apr 2018 21:59:26 +0000 (UTC) In-Reply-To: <20180416190103.83171-1-hoegsberg@chromium.org> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" To: "Kristian H. Kristensen" , dri-devel@lists.freedesktop.org Cc: "Kristian H. Kristensen" List-Id: dri-devel@lists.freedesktop.org --===============0042632138== Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" --=-=-= Content-Type: text/plain "Kristian H. Kristensen" writes: > Rockchip doesn't support per-pixel alpha blending for the lowest > window in the stack. While the hw supports restacking the windows, we > don't expose that in KMS, so just filter out alpha formats for the > primary plane. In discussing this for VC4, we noted that an alternative is to just set up the lowest plane as an RGBX format, since alpha is premultiplied and the background is black. --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEE/JuuFDWp9/ZkuCBXtdYpNtH8nugFAlrVHLsACgkQtdYpNtH8 nujy7g//UpmeeYcGeLjTKF0k2yQz53V2UMYYCe68TvFro16dnUDuh71ZOjkvjfkT +EMoxss5Pa3DCJcBuFkQn0wslz0w0YsnHkaV6Hb1pwagaewsJRzuHUqKctVJ+w6e EKBUOC84Bw2Pz85zA3SCRB54gZ67kzQbOmEP8nGfeoC1RC4vtnI15WuBHVvbMj7z Gm1FAB6CswEbVVR5JReRzlpcWO9ZgkzWRVeedixIriWSM75DlKuXNSb+ozkObnDM aHFcfoG+GFqHXR+KQ9txNOyHUnC3USMfL5PkOKfUnD6cyuLCZrVf1ns9zZyuo32q dKD8H238cufb3oVeUMXXehQgOSYhixgpwfohuLv3I2wsPjeHAc0KYbJRF1u0qC++ 5bBTGVloWeiygNdfwFMBoB7xaOiHYoD3SUl3udl63hRliEXy8xEyfvRkL9tmRCXo ZHFV4HhtjIpF2d055MNuIp2zgtu8YDIrjS99CFJIr9cc7tTsqiE3s2LsT1Ljl0Kc JxUiLA626Sy6nYTYPXn4DLRIG+80pNQS8kLFmSDB/y+QQk9xJNgtefwSjXVAZVzm oGCFHTsYKso5b6mmJLcdc2NEtc6uqHogqL6O7R3AI2HVtx5FqwIdiDIwPOxsSGem YlO1zLfZAOJvvVjts2lYsdHj/Zr2EscQIhY9SA7cnUGQQruaINQ= =yZkz -----END PGP SIGNATURE----- --=-=-=-- --===============0042632138== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg== --===============0042632138==--