From ad8bbfd3c74466f088be8088d2d0524bed392b71 Mon Sep 17 00:00:00 2001 From: Frank Binns Date: Wed, 14 Jan 2015 14:07:50 +0000 Subject: 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 Reviewed-by: Rob Clark --- tests/dristat.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests') 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); -- cgit v1.2.3