[PATCH libdrm 0/2] Add an option to configure the plain pattern in modetest
Louis Chauvet
louis.chauvet at bootlin.com
Tue Mar 4 14:36:28 UTC 2025
modetest is a very useful tool to test displays, but to debug issues on
electrical level, it is often usefull to choose a certain bit pattern for
color.
Add an option in modetest, so you don't have to recompile for each new
color you want to use.
Signed-off-by: Louis Chauvet <louis.chauvet at bootlin.com>
---
Louis Chauvet (2):
util: Add option to change the color for plain pattern
modetest: Add color configuration for plain pattern
tests/modetest/buffers.c | 5 +++--
tests/modetest/buffers.h | 3 ++-
tests/modetest/modetest.c | 22 +++++++++++++++++-----
tests/util/pattern.c | 19 +++++++++++++------
tests/util/pattern.h | 1 +
5 files changed, 36 insertions(+), 14 deletions(-)
---
base-commit: a7eb2cfd53a70fcd9ba9dcfad80a3994642f362f
change-id: 20250304-color-option-950cccb9ead7
Best regards,
--
Louis Chauvet <louis.chauvet at bootlin.com>
More information about the dri-devel
mailing list