summaryrefslogtreecommitdiff
path: root/tests/kms_flip.c
diff options
context:
space:
mode:
authorLucas De Marchi <lucas.demarchi@intel.com>2021-07-10 23:12:04 -0700
committerLucas De Marchi <lucas.demarchi@intel.com>2021-07-15 12:01:56 -0700
commitd491d3c7bc8ab45b4c03ed287a176d404c34c38e (patch)
tree29dea33ea36f5e1a047fd71b212c2669ac1bcbf5 /tests/kms_flip.c
parentac539412cc51238e229337aa4febe6de93050f91 (diff)
Remove local copies of I915 macros
Just use the one from the kernel headers. Updated with: git grep -l LOCAL_I915 | \ xargs sed -i -e '/^#define LOCAL_I915/d' -e 's/LOCAL_\(I915[[:alnum:]_]*\)/\1/g' Signed-off-by: Lucas De Marchi <lucas.demarchi@intel.com> Acked-by: Daniel Vetter <daniel.vetter@ffwll.ch> Reviewed-by: Ashutosh Dixit <ashutosh.dixit@intel.com>
Diffstat (limited to 'tests/kms_flip.c')
-rwxr-xr-xtests/kms_flip.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/kms_flip.c b/tests/kms_flip.c
index 8f736652b..03c785bd5 100755
--- a/tests/kms_flip.c
+++ b/tests/kms_flip.c
@@ -1278,7 +1278,7 @@ static void __run_test_on_crtc_set(struct test_output *o, int *crtc_idxs,
tiling = LOCAL_DRM_FORMAT_MOD_NONE;
if (o->flags & TEST_FENCE_STRESS)
- tiling = LOCAL_I915_FORMAT_MOD_X_TILED;
+ tiling = I915_FORMAT_MOD_X_TILED;
/* 256 MB is usually the maximum mappable aperture,
* (make it 4x times that to ensure failure) */