rm modetest

This commit is contained in:
Adeeb Shihadeh
2026-04-30 18:35:38 -07:00
parent 0dce41bbde
commit a265050a68
5 changed files with 0 additions and 55 deletions
-1
View File
@@ -1 +0,0 @@
/libdrm/
-3
View File
@@ -1,3 +0,0 @@
The modetest binary used in AGNOS is built here.
It's patched to remove the test pattern.
-16
View File
@@ -1,16 +0,0 @@
#!/usr/bin/env bash
set -e
DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" >/dev/null && pwd)"
cd $DIR
if [ ! -d libdrm/ ]; then
git clone https://github.com/grate-driver/libdrm
fi
cd libdrm
git fetch --all
git checkout 3e3c53e
git reset --hard
git clean -xdff .
-35
View File
@@ -1,35 +0,0 @@
diff --git a/tests/modetest/modetest.c b/tests/modetest/modetest.c
index 975dcbcd..8d71f08b 100644
--- a/tests/modetest/modetest.c
+++ b/tests/modetest/modetest.c
@@ -1393,7 +1393,7 @@ static void set_mode(struct device *dev, struct pipe_arg *pipes, unsigned int co
bo = bo_create(dev->fd, pipes[0].fourcc, dev->mode.width,
dev->mode.height, handles, pitches, offsets,
- UTIL_PATTERN_SMPTE);
+ UTIL_PATTERN_PLAIN);
if (bo == NULL)
return;
@@ -2080,7 +2080,7 @@ int main(int argc, char **argv)
if (drop_master)
drmDropMaster(dev.fd);
- getchar();
+ // getchar();
if (test_cursor)
clear_cursors(&dev);
diff --git a/tests/util/pattern.c b/tests/util/pattern.c
index 9fa0a417..b8d162f2 100644
--- a/tests/util/pattern.c
+++ b/tests/util/pattern.c
@@ -823,7 +823,7 @@ static void fill_plain(void *planes[3],
unsigned int height,
unsigned int stride)
{
- memset(planes[0], 0x77, stride * height);
+ memset(planes[0], 0x00, stride * height);
}
/*
Binary file not shown.