diff options
author | Frank Binns | 2015-01-14 08:07:50 -0600 |
---|---|---|
committer | Emil Velikov | 2015-01-23 17:02:06 -0600 |
commit | ad8bbfd3c74466f088be8088d2d0524bed392b71 (patch) | |
tree | d5e4cfc356ae2ae66a43eb7297550bff46127660 /tests/dristat.c | |
parent | d2e0f552467ca11162fe04dfed55de4590280f23 (diff) | |
download | external-libdrm-ad8bbfd3c74466f088be8088d2d0524bed392b71.tar.gz external-libdrm-ad8bbfd3c74466f088be8088d2d0524bed392b71.tar.xz external-libdrm-ad8bbfd3c74466f088be8088d2d0524bed392b71.zip |
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/dristat.c')
-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) | |||
268 | 268 | ||
269 | for (i = 0; i < 16; i++) if (!minor || i == minor) { | 269 | for (i = 0; i < 16; i++) if (!minor || i == minor) { |
270 | sprintf(buf, DRM_DEV_NAME, DRM_DIR_NAME, i); | 270 | sprintf(buf, DRM_DEV_NAME, DRM_DIR_NAME, i); |
271 | fd = drmOpenMinor(i, 1, DRM_NODE_RENDER); | 271 | fd = drmOpenMinor(i, 1, DRM_NODE_PRIMARY); |
272 | if (fd >= 0) { | 272 | if (fd >= 0) { |
273 | printf("%s\n", buf); | 273 | printf("%s\n", buf); |
274 | if (mask & DRM_BUSID) getbusid(fd); | 274 | if (mask & DRM_BUSID) getbusid(fd); |