drm: add a check for if modesetting is supported.
authorDave Airlie <airlied@redhat.com>
Thu, 28 Feb 2008 02:59:39 +0000 (12:59 +1000)
committerDave Airlie <airlied@redhat.com>
Thu, 28 Feb 2008 02:59:39 +0000 (12:59 +1000)
commit132ba667f4a88bb182e2d2abc7c4e60699398380
tree2753bca779454fb3e489f391819e9ad03b33f80e
parent75c9e0d3462f04766d490fac5cc93569957a8365
drm: add a check for if modesetting is supported.

This is Linux only code, it just uses sysfs to see if a control
device has been registered on the requested PCI ID
libdrm/xf86drmMode.c
libdrm/xf86drmMode.h