From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jesse Barnes Subject: Re: [PATCH 04/11] drm/i915: add SNB video sprite support Date: Wed, 2 Nov 2011 08:58:21 -0700 Message-ID: <20111102085821.109daa1e@jbarnes-desktop> References: <1319536026-2877-1-git-send-email-jbarnes@virtuousgeek.org> <1319536026-2877-5-git-send-email-jbarnes@virtuousgeek.org> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1544957946==" Return-path: Received: from oproxy4-pub.bluehost.com (oproxy4-pub.bluehost.com [69.89.21.11]) by gabe.freedesktop.org (Postfix) with SMTP id 9FA9AA0B2F for ; Wed, 2 Nov 2011 08:58:28 -0700 (PDT) In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: intel-gfx-bounces+gcfxdi-intel-gfx=m.gmane.org@lists.freedesktop.org Errors-To: intel-gfx-bounces+gcfxdi-intel-gfx=m.gmane.org@lists.freedesktop.org To: Inki Dae Cc: intel-gfx@lists.freedesktop.org List-Id: intel-gfx@lists.freedesktop.org --===============1544957946== Content-Type: multipart/signed; micalg=PGP-SHA1; boundary="Sig_/1e0m.I82XDLC/yX5H+MtGIC"; protocol="application/pgp-signature" --Sig_/1e0m.I82XDLC/yX5H+MtGIC Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable On Wed, 2 Nov 2011 05:56:56 +0000 (UTC) Inki Dae wrote: > Hi, Jesse. >=20 > drm_plane structure has format_types and format_conunt that they was set = at=20 > booting time. but they aren't used anywhere. at intel_update_plane(), I g= uess=20 > they could be used to check if the format type(fb->pixel_format) from set= plane > () is supported or not, comparing to plane->format_types[n]; otherwise, c= ould=20 > you please tell me about the purpose that format_types[] and format_count= are=20 > used? They're supposed to be used by application/library code to negotiate a surface format to pass to the kernel. So for example, libva could query the available surface formats then choose an output format that it can decode to directly if possible, to avoid any format conversion on the CPU. --=20 Jesse Barnes, Intel Open Source Technology Center --Sig_/1e0m.I82XDLC/yX5H+MtGIC Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) iQIcBAEBAgAGBQJOsWidAAoJEIEoDkX4Qk9hQAEQAJzqnUCK3XjPZym26eB8BNKo NsoHCVILEefM0AN1+WXlZHkYq0ZmznoPpvQ4f5F/BMyAMjwHOZBN9gYvvj2SKjwc kasbV3La61be5N8SDt0uSD+o+eVANgbSea1AOfYwMuBlC/U6+an2qzQ41bMEGxzG gaewUDSDw4t8v8792bKimD/CNdE/eITHuTq5yDmhTy7Uwjs5CkH+MLoPmm5HeUCb x/lObd6r8lZfg9AQPtue6lQFAEfUVMG6Usqrbn902nVrKY+0mwulZZJC5rBcPb/V jyn6rRdSGWotSh+PRBKxwvsG2KibHfJl85ypIeTa4WSMGXRqismje1lmoNOxE/Oh 73MlvSoq2eVHU2Pb4nqqJx4ORX88XSyunvfgz8bVacY0PnwNvAXgR0tuVXecYA6q t7GqnZUGFl0XeUiM1OwE22fNPZljj/xpMwTbF15VpdIoFhYvqjFLHVbbypFd1+Pf DyS/8wNpS0iwcexdP0fcxkaQs+Yh3S66Z7XAG9rc///gWAtj5QeanZ6WyCL2O4na BdkIjZVkpV5duUmPdzjF/gCKmtn1GsZ1sQ+Od2KstJCOtpEF6/kJ641Y6f/SOMrS izVIW6D4LE6ml+WB1ujzJcMUSkdXXF802c2ckNY+39bjA56VTrPDN383JtdbQldT +MRNOgjC6TuKkSZMZ5Q7 =EJRZ -----END PGP SIGNATURE----- --Sig_/1e0m.I82XDLC/yX5H+MtGIC-- --===============1544957946== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Intel-gfx mailing list Intel-gfx@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/intel-gfx --===============1544957946==--