From: Thierry Reding Date: Wed, 29 Jan 2014 19:31:17 +0000 (+0100) Subject: drm/tegra: dc - Add YUYV support X-Git-Tag: omap-for-v3.16/fixes-against-rc1~44^2~9^2~45 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f925390efccb24016a4fafe77721770021ed754a;p=pandora-kernel.git drm/tegra: dc - Add YUYV support YUYV is UYVY with swapped bytes. Luckily the Tegra DC hardware can swap bytes during scan-out, so supporting YUYV is simply a matter of writing the correct value to the byteswap register. This patch modifies tegra_dc_format() to return the byte swap parameter via an output parameter in addition to returning the pixel format. Many other formats can potentially be supported in a similar way. Signed-off-by: Thierry Reding --- Reading git-diff-tree failed