diff options
author | Thierry Reding <treding@nvidia.com> | 2014-01-29 20:31:17 +0100 |
---|---|---|
committer | Thierry Reding <treding@nvidia.com> | 2014-06-05 23:09:16 +0200 |
commit | f925390efccb24016a4fafe77721770021ed754a (patch) | |
tree | eb338c23ebcc4d51553ba75003c94b89d35bcec5 /tools/perf/scripts/python/syscall-counts.py | |
parent | 688c59afbf74cf729d4f50b0cd862bb30f6de658 (diff) |
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 <treding@nvidia.com>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions