[Intel-gfx] [PATCH 04/11] drm/i915: add SNB video sprite support
jbarnes at virtuousgeek.org
Wed Nov 2 08:58:21 PDT 2011
On Wed, 2 Nov 2011 05:56:56 +0000 (UTC)
Inki Dae <daeinki at 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
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
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 836 bytes
Desc: not available
More information about the Intel-gfx