diff options
author | Dave Airlie <airlied@redhat.com> | 2008-01-09 18:11:04 +1100 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2008-01-09 18:11:04 +1100 |
commit | 87a32efcdde124df59656e00a402ba50a0ba1e45 (patch) | |
tree | d645fc9d9645cb37c5f1a9cd06459f6b8db599d6 /libdrm/xf86drm.c | |
parent | 73bf5e867089b58b2c4baaa833d15a2b1fb268a4 (diff) |
add control node open
Diffstat (limited to 'libdrm/xf86drm.c')
-rw-r--r-- | libdrm/xf86drm.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libdrm/xf86drm.c b/libdrm/xf86drm.c index 2d7d85c1..3cc54f12 100644 --- a/libdrm/xf86drm.c +++ b/libdrm/xf86drm.c @@ -579,6 +579,10 @@ int drmOpen(const char *name, const char *busid) return -1; } +int drmOpenControl(int minor) +{ + return drmOpenMinor(minor, 0, DRM_NODE_CONTROL); +} /** * Free the version information returned by drmGetVersion(). |