Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 371518
b: refs/heads/master
c: dbe4d9a
h: refs/heads/master
v: v3
  • Loading branch information
Thierry Reding committed Apr 22, 2013
1 parent 76a2d79 commit de2c1d3
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: d43f81cbaf43531a977e8b4c4427f19acf8a5061
refs/heads/master: dbe4d9a799b5825201b4ca5261dee631245936da
5 changes: 5 additions & 0 deletions trunk/drivers/gpu/host1x/drm/dc.c
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,9 @@ static const struct drm_plane_funcs tegra_plane_funcs = {
};

static const uint32_t plane_formats[] = {
DRM_FORMAT_XBGR8888,
DRM_FORMAT_XRGB8888,
DRM_FORMAT_RGB565,
DRM_FORMAT_UYVY,
DRM_FORMAT_YUV420,
DRM_FORMAT_YUV422,
Expand Down Expand Up @@ -543,6 +545,9 @@ int tegra_dc_setup_window(struct tegra_dc *dc, unsigned int index,
unsigned int tegra_dc_format(uint32_t format)
{
switch (format) {
case DRM_FORMAT_XBGR8888:
return WIN_COLOR_DEPTH_R8G8B8A8;

case DRM_FORMAT_XRGB8888:
return WIN_COLOR_DEPTH_B8G8R8A8;

Expand Down

0 comments on commit de2c1d3

Please sign in to comment.