summaryrefslogtreecommitdiff
path: root/tests/kms_setmode.c
diff options
context:
space:
mode:
authorDaniel Vetter <daniel.vetter@ffwll.ch>2014-08-12 11:00:37 +0200
committerDaniel Vetter <daniel.vetter@ffwll.ch>2014-08-12 19:36:53 +0200
commitdd8fba44cd1759e5cffc84d47f2c9b92c1e2ae8b (patch)
tree7733d964617cdfdeb30a0c6b662d7e343ac9af45 /tests/kms_setmode.c
parentfb38cf260ba6ed45b514b7a2c21f733c51caeb90 (diff)
lib/igt_kms: Unify pipe name helpers
And add api doc while at it. Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'tests/kms_setmode.c')
-rw-r--r--tests/kms_setmode.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/kms_setmode.c b/tests/kms_setmode.c
index 87622552..46edf54b 100644
--- a/tests/kms_setmode.c
+++ b/tests/kms_setmode.c
@@ -246,7 +246,7 @@ static void get_crtc_config_str(struct crtc_config *crtc, char *buf,
pos = snprintf(buf, buf_size,
"CRTC[%d] [Pipe %s] Mode: %s@%dHz Connectors: ",
- crtc->crtc_id, kmstest_pipe_str(crtc->pipe_id),
+ crtc->crtc_id, kmstest_pipe_name(crtc->pipe_id),
crtc->mode.name, crtc->mode.vrefresh);
if (pos > buf_size)
return;