summaryrefslogtreecommitdiff
path: root/tests/kms_plane.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/kms_plane.c')
-rw-r--r--tests/kms_plane.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/kms_plane.c b/tests/kms_plane.c
index d7cbe892..ba419bbd 100644
--- a/tests/kms_plane.c
+++ b/tests/kms_plane.c
@@ -999,7 +999,7 @@ static bool skip_plane(data_t *data, igt_plane_t *plane)
if (plane->type == DRM_PLANE_TYPE_CURSOR)
return false;
- if (intel_gen(intel_get_drm_devid(data->drm_fd)) < 11)
+ if (intel_display_ver(intel_get_drm_devid(data->drm_fd)) < 11)
return false;
/*