diff options
author | Lucas De Marchi <lucas.demarchi@intel.com> | 2021-07-10 23:12:04 -0700 |
---|---|---|
committer | Lucas De Marchi <lucas.demarchi@intel.com> | 2021-07-15 12:01:56 -0700 |
commit | d491d3c7bc8ab45b4c03ed287a176d404c34c38e (patch) | |
tree | 29dea33ea36f5e1a047fd71b212c2669ac1bcbf5 /tests/kms_cursor_legacy.c | |
parent | ac539412cc51238e229337aa4febe6de93050f91 (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_cursor_legacy.c')
-rw-r--r-- | tests/kms_cursor_legacy.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/kms_cursor_legacy.c b/tests/kms_cursor_legacy.c index 571ea59cf..75a822c4e 100644 --- a/tests/kms_cursor_legacy.c +++ b/tests/kms_cursor_legacy.c @@ -1325,7 +1325,7 @@ static void flip_vs_cursor_busy_crc(igt_display_t *display, bool atomic) igt_require(set_fb_on_crtc(display, pipe, &fb_info[0])); igt_create_color_pattern_fb(display->drm_fd, fb_info[0].width, fb_info[0].height, - DRM_FORMAT_XRGB8888, LOCAL_I915_FORMAT_MOD_X_TILED, .1, .1, .1, &fb_info[1]); + DRM_FORMAT_XRGB8888, I915_FORMAT_MOD_X_TILED, .1, .1, .1, &fb_info[1]); igt_create_color_fb(display->drm_fd, 64, 64, DRM_FORMAT_ARGB8888, 0, 1., 1., 1., &cursor_fb); populate_cursor_args(display, pipe, arg, &cursor_fb); |