summaryrefslogtreecommitdiff
path: root/tests/debugfs_test.c
diff options
context:
space:
mode:
authorVille Syrjälä <ville.syrjala@linux.intel.com>2021-10-08 17:26:16 +0300
committerVille Syrjälä <ville.syrjala@linux.intel.com>2021-10-11 15:37:24 +0300
commit6b5b8991a8f173a5ec675963e4f23416484e6655 (patch)
tree22854cef899774172ecddce52b25621d13845697 /tests/debugfs_test.c
parent426723f979380f18f9c07d36ebac3a52f760ba7e (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/debugfs_test.c')
-rw-r--r--tests/debugfs_test.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/debugfs_test.c b/tests/debugfs_test.c
index fdfa3403..e6535ccd 100644
--- a/tests/debugfs_test.c
+++ b/tests/debugfs_test.c
@@ -122,7 +122,7 @@ retry:
igt_create_pattern_fb(display.drm_fd,
mode->hdisplay, mode->vdisplay,
DRM_FORMAT_XRGB8888,
- DRM_FORMAT_MOD_NONE, &fb[pipe]);
+ DRM_FORMAT_MOD_LINEAR, &fb[pipe]);
/* Set a valid fb as some debugfs like to inspect it on a active pipe */
igt_plane_set_fb(primary, &fb[pipe]);