[igt-dev] [i-g-t V2 02/16] tests/kms_cursor_edge_walk: Fix intel specific checks
Bhanuprakash Modem
bhanuprakash.modem at intel.com
Fri Aug 25 07:30:45 UTC 2023
Use the correct helper to check for the intel hardware.
s/is_i915_device/is_intel_device/
Signed-off-by: Bhanuprakash Modem <bhanuprakash.modem at intel.com>
Reviewed-by: Kunal Joshi <kunal1.joshi at intel.com>
---
tests/kms_cursor_edge_walk.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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);
--
2.40.0
More information about the igt-dev
mailing list