Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 337839
b: refs/heads/master
c: c096ae1
h: refs/heads/master
i:
  337837: 0c7bbdc
  337835: fd034d8
  337831: 5d377e5
  337823: b5c49f8
v: v3
  • Loading branch information
Michael Olbrich authored and Greg Kroah-Hartman committed Nov 13, 2012
1 parent a641228 commit 3d3666e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: d3c75e8dc81b6482ea230d03bbddddd38db9ab35
refs/heads/master: c096ae130e97ffb45a902dba3c4ab07a37006091
3 changes: 2 additions & 1 deletion trunk/drivers/staging/imx-drm/ipu-v3/ipu-common.c
Original file line number Diff line number Diff line change
Expand Up @@ -380,6 +380,7 @@ int ipu_cpmem_set_image(struct ipu_ch_param __iomem *cpmem,
ipu_cpmem_set_buffer(cpmem, 0, image->phys + y_offset);
break;
case V4L2_PIX_FMT_UYVY:
case V4L2_PIX_FMT_YUYV:
ipu_cpmem_set_buffer(cpmem, 0, image->phys +
image->rect.left * 2 +
image->rect.top * image->pix.bytesperline);
Expand Down Expand Up @@ -414,7 +415,7 @@ enum ipu_color_space ipu_pixelformat_to_colorspace(u32 pixelformat)
switch (pixelformat) {
case V4L2_PIX_FMT_YUV420:
case V4L2_PIX_FMT_UYVY:
case V4L2_PIX_FMT_YVYU:
case V4L2_PIX_FMT_YUYV:
return IPUV3_COLORSPACE_YUV;
case V4L2_PIX_FMT_RGB32:
case V4L2_PIX_FMT_BGR32:
Expand Down

0 comments on commit 3d3666e

Please sign in to comment.