summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorFrank Binns <frank.binns@imgtec.com>2015-01-14 14:07:50 +0000
committerEmil Velikov <emil.l.velikov@gmail.com>2015-01-23 23:02:06 +0000
commitad8bbfd3c74466f088be8088d2d0524bed392b71 (patch)
treed5e4cfc356ae2ae66a43eb7297550bff46127660 /tests
parentd2e0f552467ca11162fe04dfed55de4590280f23 (diff)
Rename DRM_NODE_RENDER to DRM_NODE_PRIMARY
Now that there are render nodes it doesn't seem appropriate for the type of the card nodes to be DRM_NODE_RENDER. For this reason, rename this type to DRM_NODE_PRIMARY as this name better represents the purpose of these nodes. Signed-off-by: Frank Binns <frank.binns@imgtec.com> Reviewed-by: Rob Clark <robdclark@gmail.com>
Diffstat (limited to 'tests')
-rw-r--r--tests/dristat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/dristat.c b/tests/dristat.c
index 4f2ee80a..449aa242 100644
--- a/tests/dristat.c
+++ b/tests/dristat.c
@@ -268,7 +268,7 @@ int main(int argc, char **argv)
for (i = 0; i < 16; i++) if (!minor || i == minor) {
sprintf(buf, DRM_DEV_NAME, DRM_DIR_NAME, i);
- fd = drmOpenMinor(i, 1, DRM_NODE_RENDER);
+ fd = drmOpenMinor(i, 1, DRM_NODE_PRIMARY);
if (fd >= 0) {
printf("%s\n", buf);
if (mask & DRM_BUSID) getbusid(fd);