diff options
author | Ville Syrjälä <ville.syrjala@linux.intel.com> | 2021-10-08 17:26:16 +0300 |
---|---|---|
committer | Ville Syrjälä <ville.syrjala@linux.intel.com> | 2021-10-11 15:37:24 +0300 |
commit | 6b5b8991a8f173a5ec675963e4f23416484e6655 (patch) | |
tree | 22854cef899774172ecddce52b25621d13845697 /tests/kms_prime.c | |
parent | 426723f979380f18f9c07d36ebac3a52f760ba7e (diff) |
igt: s/DRM_FORMAT_MOD_NONE/DRM_FORMAT_MOD_LINEAR/
DRM_FORMAT_MOD_LINEAR is the more sensible name for
DRM_FORMAT_MOD_NONE. Use the better name.
Reviewed-by: Petri Latvala <petri.latvala@intel.com>
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Diffstat (limited to 'tests/kms_prime.c')
-rw-r--r-- | tests/kms_prime.c | 4 |
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); |