mbox series

[libdrm,0/2] Add an option to configure the plain pattern in modetest

Message ID 20250304-color-option-v1-0-be521604fbff@bootlin.com (mailing list archive)
Headers show
Series Add an option to configure the plain pattern in modetest | expand

Message

Louis Chauvet March 4, 2025, 2:36 p.m. UTC
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@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,