[PATCH libdrm] modetest: fix argument naming of MAKE_RGB_INFO define

Joonyoung Shim jy0922.shim at samsung.com
Thu Apr 16 21:13:59 PDT 2015


Arrange arguments of MAKE_RGB_INFO define in order of rgb.

Signed-off-by: Joonyoung Shim <jy0922.shim at samsung.com>
---
 tests/modetest/buffers.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/tests/modetest/buffers.c b/tests/modetest/buffers.c
index e4e8149..807819a 100644
--- 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, go, al, ao) \
-	.rgb = { { (rl), (ro) }, { (bl), (bo) }, { (gl), (go) }, { (al), (ao) } }
+#define MAKE_RGB_INFO(rl, ro, gl, go, bl, bo, al, ao) \
+	.rgb = { { (rl), (ro) }, { (gl), (go) }, { (bl), (bo) }, { (al), (ao) } }
 
 #define MAKE_YUV_INFO(order, xsub, ysub, chroma_stride) \
 	.yuv = { (order), (xsub), (ysub), (chroma_stride) }
-- 
1.9.1



More information about the dri-devel mailing list