projects
/
platform
/
upstream
/
libdrm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3092148
)
modetest: fix the arguments of the MAKE_RGB_INFO define
author
Joonyoung Shim
<jy0922.shim@samsung.com>
Fri, 17 Apr 2015 04:13:59 +0000
(13:13 +0900)
committer
Emil Velikov
<emil.l.velikov@gmail.com>
Wed, 29 Apr 2015 17:28:32 +0000
(17:28 +0000)
The current order (rbg) seems wrong.
Signed-off-by: Joonyoung Shim <jy0922.shim@samsung.com>
[Emil Velikov: Tweak the commit message.]
Reviewed-by: Emil Velikov <emil.l.velikov@gmail.com>
tests/modetest/buffers.c
patch
|
blob
|
history
diff --git
a/tests/modetest/buffers.c
b/tests/modetest/buffers.c
index
878b64e
..
6f5feab
100644
(file)
--- a/
tests/modetest/buffers.c
+++ b/
tests/modetest/buffers.c
@@
-98,8
+98,8
@@
struct format_info {
const struct yuv_info yuv;
};
-#define MAKE_RGB_INFO(rl, ro,
bl, bo, gl, g
o, al, ao) \
- .rgb = { { (rl), (ro) }, { (
bl), (bo) }, { (gl), (g
o) }, { (al), (ao) } }
+#define MAKE_RGB_INFO(rl, ro,
gl, go, bl, b
o, al, ao) \
+ .rgb = { { (rl), (ro) }, { (
gl), (go) }, { (bl), (b
o) }, { (al), (ao) } }
#define MAKE_YUV_INFO(order, xsub, ysub, chroma_stride) \
.yuv = { (order), (xsub), (ysub), (chroma_stride) }