From: Rob Clark <robdclark@gmail.com>
To: igt-dev@lists.freedesktop.org
Cc: Rob Clark <robdclark@chromium.org>
Subject: [PATCH] tests/dumb_buffer: Fix invalid bpp subtest
Date: Mon, 19 Aug 2024 13:26:42 -0700 [thread overview]
Message-ID: <20240819202642.111559-1-robdclark@gmail.com> (raw)
From: Rob Clark <robdclark@chromium.org>
Only zero is actually considered an invalid value by the kernel.
Signed-off-by: Rob Clark <robdclark@chromium.org>
---
tests/dumb_buffer.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tests/dumb_buffer.c b/tests/dumb_buffer.c
index 1d4bf296c53e..e1c18c70b09b 100644
--- a/tests/dumb_buffer.c
+++ b/tests/dumb_buffer.c
@@ -143,7 +143,7 @@ static void invalid_dimensions_test(int fd)
memset(&create, 0, sizeof(create));
create.width = 4032;
create.height = 2016;
- create.bpp = 24;
+ create.bpp = 0;
igt_assert_eq(__dumb_create(fd, &create), -EINVAL);
create.bpp = 32;
--
2.46.0
next reply other threads:[~2024-08-19 20:26 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-08-19 20:26 Rob Clark [this message]
2024-08-19 23:01 ` ✓ CI.xeBAT: success for tests/dumb_buffer: Fix invalid bpp subtest Patchwork
2024-08-19 23:10 ` ✓ Fi.CI.BAT: " Patchwork
2024-08-20 6:56 ` ✗ CI.xeFULL: failure " Patchwork
2024-08-20 11:42 ` ✗ Fi.CI.IGT: " Patchwork
2024-08-20 12:49 ` [PATCH] " Kamil Konieczny
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20240819202642.111559-1-robdclark@gmail.com \
--to=robdclark@gmail.com \
--cc=igt-dev@lists.freedesktop.org \
--cc=robdclark@chromium.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox