diff options
author | Frank Binns <frank.binns@imgtec.com> | 2015-01-14 14:07:50 +0000 |
---|---|---|
committer | Emil Velikov <emil.l.velikov@gmail.com> | 2015-01-23 23:02:06 +0000 |
commit | ad8bbfd3c74466f088be8088d2d0524bed392b71 (patch) | |
tree | d5e4cfc356ae2ae66a43eb7297550bff46127660 /tests | |
parent | d2e0f552467ca11162fe04dfed55de4590280f23 (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.c | 2 |
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); |