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:
ea5237e
)
util: remove unused definitions of RED, GREEN, and BLUE
author
Geert Uytterhoeven
<geert@linux-m68k.org>
Thu, 30 Jun 2022 14:35:31 +0000
(16:35 +0200)
committer
Geert Uytterhoeven
<geert@linux-m68k.org>
Fri, 8 Sep 2023 18:01:43 +0000
(18:01 +0000)
These are unused since commit
edcef53685edf5fb
("modetest: Add test
pattern support for missing RGB formats").
Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
---
v2:
- Add Reviewed-by.
tests/util/pattern.c
patch
|
blob
|
history
diff --git
a/tests/util/pattern.c
b/tests/util/pattern.c
index
cf5c8e2
..
bd0989e
100644
(file)
--- a/
tests/util/pattern.c
+++ b/
tests/util/pattern.c
@@
-766,11
+766,6
@@
static void fill_smpte(const struct util_format_info *info, void *planes[3],
}
}
-/* swap these for big endian.. */
-#define RED 2
-#define GREEN 1
-#define BLUE 0
-
static void make_pwetty(void *data, unsigned int width, unsigned int height,
unsigned int stride, uint32_t format)
{