summaryrefslogtreecommitdiff
path: root/tests/kms_cursor_edge_walk.c
diff options
context:
space:
mode:
authorBhanuprakash Modem <bhanuprakash.modem@intel.com>2023-08-25 13:00:45 +0530
committerBhanuprakash Modem <bhanuprakash.modem@intel.com>2023-08-29 14:47:56 +0530
commitc12cdbf50ff489e29216541964337627b8e71a4c (patch)
treee0dc482f5cb876e44be83c055a099a6bb83d50d7 /tests/kms_cursor_edge_walk.c
parent464bac57532a0262a801e302bc1bb8fd136c6838 (diff)
tests/kms_cursor_edge_walk: Fix intel specific checks
Use the correct helper to check for the intel hardware. s/is_i915_device/is_intel_device/ Signed-off-by: Bhanuprakash Modem <bhanuprakash.modem@intel.com> Reviewed-by: Kunal Joshi <kunal1.joshi@intel.com>
Diffstat (limited to 'tests/kms_cursor_edge_walk.c')
-rw-r--r--tests/kms_cursor_edge_walk.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/kms_cursor_edge_walk.c b/tests/kms_cursor_edge_walk.c
index 8cc986fc8..2b4b43282 100644
--- a/tests/kms_cursor_edge_walk.c
+++ b/tests/kms_cursor_edge_walk.c
@@ -362,7 +362,7 @@ igt_main_args("", long_opts, help_str, opt_handler, &data)
data.drm_fd = drm_open_driver_master(DRIVER_ANY);
- if (is_i915_device(data.drm_fd))
+ if (is_intel_device(data.drm_fd))
data.devid = intel_get_drm_devid(data.drm_fd);
ret = drmGetCap(data.drm_fd, DRM_CAP_CURSOR_WIDTH, &max_curw);