mirror of
https://github.com/tiagovignatti/intel-gpu-tools.git
synced 2026-08-19 04:13:01 +00:00
tests/testdisplay.c: Add a option '-r'.
With the option '-r', the testdisplay could paint a 2-D bar code(QR bar code) on the screen. The word "pass" is hiden in the bar code image. Further more, with this option, testdisplay will wait until a system signal 'SIGUSR1' coming after each mode setting. This function is for another program to control testdisplay. danvet: Fix up the missing static. Signed-off-by: Yi Sun <yi.sun@intel.com> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
This commit is contained in:
@@ -774,5 +774,6 @@ void kmstest_dump_mode(drmModeModeInfo *mode)
|
||||
mode->flags,
|
||||
mode->type,
|
||||
mode->clock);
|
||||
fflush(stdout);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user