diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/igt_kms.c | 2 | ||||
-rw-r--r-- | lib/igt_kms.h | 5 |
2 files changed, 4 insertions, 3 deletions
diff --git a/lib/igt_kms.c b/lib/igt_kms.c index 6c3a536c..91d228cf 100644 --- a/lib/igt_kms.c +++ b/lib/igt_kms.c @@ -324,7 +324,7 @@ const char *kmstest_pipe_name(enum pipe pipe) if (pipe == PIPE_NONE) return "None"; - if (pipe >= I915_MAX_PIPES) + if (pipe >= IGT_MAX_PIPES) return "invalid"; return str[pipe]; diff --git a/lib/igt_kms.h b/lib/igt_kms.h index 8d33cdd1..35428f3e 100644 --- a/lib/igt_kms.h +++ b/lib/igt_kms.h @@ -46,7 +46,8 @@ * @PIPE_A: First crtc. * @PIPE_B: Second crtc. * @PIPE_C: Third crtc. - * @I915_MAX_PIPES: Max number of pipes allowed. + * ... and so on. + * @IGT_MAX_PIPES: Max number of pipes allowed. */ enum pipe { PIPE_NONE = -1, @@ -57,7 +58,7 @@ enum pipe { PIPE_D, PIPE_E, PIPE_F, - I915_MAX_PIPES + IGT_MAX_PIPES }; const char *kmstest_pipe_name(enum pipe pipe); int kmstest_pipe_to_index(char pipe); |