diff options
Diffstat (limited to 'tests/kms_writeback.c')
-rw-r--r-- | tests/kms_writeback.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/kms_writeback.c b/tests/kms_writeback.c index 6efc72df..cf70a28e 100644 --- a/tests/kms_writeback.c +++ b/tests/kms_writeback.c @@ -244,7 +244,7 @@ static void fill_fb(igt_fb_t *fb, uint32_t pixel) pixel_count = fb->strides[0] * fb->height / sizeof(uint32_t); for (i = 0; i < pixel_count; i++) - ptr[i] = pixel; + ptr[i] = cpu_to_le32(pixel); igt_fb_unmap_buffer(fb, ptr); } |