summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tests/kms_prime.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/kms_prime.c b/tests/kms_prime.c
index 35f4b5b7..2e20c58b 100644
--- a/tests/kms_prime.c
+++ b/tests/kms_prime.c
@@ -101,7 +101,7 @@ static void prepare_scratch(int exporter_fd, struct dumb_bo *scratch,
scratch->bpp = 32;
scratch->handle = kmstest_dumb_create(exporter_fd,
- scratch->width,
+ ALIGN(scratch->width, 256),
scratch->height,
scratch->bpp,
&scratch->pitch,