summaryrefslogtreecommitdiff
path: root/tests/testdisplay.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/testdisplay.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/testdisplay.c')
-rw-r--r--tests/testdisplay.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/testdisplay.c b/tests/testdisplay.c
index e2560eaf5..937a48f4d 100644
--- a/tests/testdisplay.c
+++ b/tests/testdisplay.c
@@ -671,14 +671,14 @@ static int opt_handler(int opt, int opt_index, void *data)
test_preferred_mode = 1;
break;
case 't':
- tiling = LOCAL_I915_FORMAT_MOD_X_TILED;
+ tiling = I915_FORMAT_MOD_X_TILED;
break;
case 'y':
case OPT_YB:
- tiling = LOCAL_I915_FORMAT_MOD_Y_TILED;
+ tiling = I915_FORMAT_MOD_Y_TILED;
break;
case OPT_YF:
- tiling = LOCAL_I915_FORMAT_MOD_Yf_TILED;
+ tiling = I915_FORMAT_MOD_Yf_TILED;
break;
case 'r':
qr_code = 1;