Skip to content

Commit 22b2cfa

Browse files
slongerbeampH5
authored andcommitted
gpu: ipu-v3: Restore RGB32, BGR32
RGB32 and BGR32 formats were inadvertently removed from the switch statement in ipu_pixelformat_to_colorspace(). Restore them. Fixes: a599571 ("gpu: ipu-v3: enable remaining 32-bit RGB V4L2 pixel formats") Signed-off-by: Steve Longerbeam <[email protected]> Signed-off-by: Philipp Zabel <[email protected]>
1 parent 3b2a999 commit 22b2cfa

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

drivers/gpu/ipu-v3/ipu-common.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -124,6 +124,8 @@ enum ipu_color_space ipu_pixelformat_to_colorspace(u32 pixelformat)
124124
case V4L2_PIX_FMT_RGBX32:
125125
case V4L2_PIX_FMT_ARGB32:
126126
case V4L2_PIX_FMT_XRGB32:
127+
case V4L2_PIX_FMT_RGB32:
128+
case V4L2_PIX_FMT_BGR32:
127129
return IPUV3_COLORSPACE_RGB;
128130
default:
129131
return IPUV3_COLORSPACE_UNKNOWN;

0 commit comments

Comments
 (0)