On Wed, 2 Nov 2011 05:56:56 +0000 (UTC)
Inki Dae <daei...@gmail.com> wrote:

> Hi, Jesse.
> 
> drm_plane structure has format_types and format_conunt that they was set at 
> booting time. but they aren't used anywhere. at intel_update_plane(), I guess 
> they could be used to check if the format type(fb->pixel_format) from setplane
> () is supported or not, comparing to plane->format_types[n]; otherwise, could 
> you please tell me about the purpose that format_types[] and format_count are 
> 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.

-- 
Jesse Barnes, Intel Open Source Technology Center

Attachment: signature.asc
Description: PGP signature

_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/intel-gfx

Reply via email to