diff options
author | Thierry Reding <treding@nvidia.com> | 2022-02-24 19:39:51 +0100 |
---|---|---|
committer | Thierry Reding <treding@nvidia.com> | 2022-03-01 11:13:09 +0100 |
commit | cf5086d35d8c7c2b9cb1ca34590097a5f2f8b588 (patch) | |
tree | f63e945605281c4014a47429b66745e64b0c04f7 /drivers/gpu/drm/tegra/dc.c | |
parent | drm/tegra: Support semi-planar formats on Tegra114+ (diff) | |
download | linux-cf5086d35d8c7c2b9cb1ca34590097a5f2f8b588.tar.xz linux-cf5086d35d8c7c2b9cb1ca34590097a5f2f8b588.zip |
drm/tegra: Support YVYU, VYUY and YU24 formats
Signed-off-by: Thierry Reding <treding@nvidia.com>
Diffstat (limited to 'drivers/gpu/drm/tegra/dc.c')
-rw-r--r-- | drivers/gpu/drm/tegra/dc.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/drivers/gpu/drm/tegra/dc.c b/drivers/gpu/drm/tegra/dc.c index 9442d7ee84a0..c6951cf5d2ca 100644 --- a/drivers/gpu/drm/tegra/dc.c +++ b/drivers/gpu/drm/tegra/dc.c @@ -1232,8 +1232,11 @@ static const u32 tegra124_overlay_formats[] = { /* planar formats */ DRM_FORMAT_UYVY, DRM_FORMAT_YUYV, - DRM_FORMAT_YUV420, - DRM_FORMAT_YUV422, + DRM_FORMAT_YVYU, + DRM_FORMAT_VYUY, + DRM_FORMAT_YUV420, /* YU12 */ + DRM_FORMAT_YUV422, /* YU16 */ + DRM_FORMAT_YUV444, /* YU24 */ /* semi-planar formats */ DRM_FORMAT_NV12, DRM_FORMAT_NV21, |