summaryrefslogtreecommitdiff
path: root/tests/kms_prime.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/kms_prime.c')
-rw-r--r--tests/kms_prime.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/kms_prime.c b/tests/kms_prime.c
index 5cdb5597..1ad4b3a6 100644
--- a/tests/kms_prime.c
+++ b/tests/kms_prime.c
@@ -134,7 +134,7 @@ static void prepare_fb(int importer_fd, struct dumb_bo *scratch, struct igt_fb *
enum igt_color_range color_range = IGT_COLOR_YCBCR_LIMITED_RANGE;
igt_init_fb(fb, importer_fd, scratch->width, scratch->height,
- DRM_FORMAT_XRGB8888, DRM_FORMAT_MOD_NONE,
+ DRM_FORMAT_XRGB8888, DRM_FORMAT_MOD_LINEAR,
color_encoding, color_range);
}
@@ -224,7 +224,7 @@ static void test_crc(int exporter_fd, int importer_fd)
igt_create_color_fb(importer_fd,
mode->hdisplay, mode->vdisplay,
- DRM_FORMAT_XRGB8888, DRM_FORMAT_MOD_NONE,
+ DRM_FORMAT_XRGB8888, DRM_FORMAT_MOD_LINEAR,
colors[i].r, colors[i].g, colors[i].b,
&fb);