drm.h (152909) | drm.h (157617) |
---|---|
1/** 2 * \file drm.h 3 * Header for the Direct Rendering Manager 4 * 5 * \author Rickard E. (Rik) Faith <faith@valinux.com> 6 * 7 * \par Acknowledgments: 8 * Dec 1999, Richard Henderson <rth@twiddle.net>, move to generic \c cmpxchg. --- 20 unchanged lines hidden (view full) --- 29 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL 30 * VA LINUX SYSTEMS AND/OR ITS SUPPLIERS BE LIABLE FOR ANY CLAIM, DAMAGES OR 31 * OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, 32 * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR 33 * OTHER DEALINGS IN THE SOFTWARE. 34 */ 35 36#include <sys/cdefs.h> | 1/** 2 * \file drm.h 3 * Header for the Direct Rendering Manager 4 * 5 * \author Rickard E. (Rik) Faith <faith@valinux.com> 6 * 7 * \par Acknowledgments: 8 * Dec 1999, Richard Henderson <rth@twiddle.net>, move to generic \c cmpxchg. --- 20 unchanged lines hidden (view full) --- 29 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL 30 * VA LINUX SYSTEMS AND/OR ITS SUPPLIERS BE LIABLE FOR ANY CLAIM, DAMAGES OR 31 * OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, 32 * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR 33 * OTHER DEALINGS IN THE SOFTWARE. 34 */ 35 36#include <sys/cdefs.h> |
37__FBSDID("$FreeBSD: head/sys/dev/drm/drm.h 152909 2005-11-28 23:13:57Z anholt $"); | 37__FBSDID("$FreeBSD: head/sys/dev/drm/drm.h 157617 2006-04-09 20:45:45Z anholt $"); |
38 39/** 40 * \mainpage 41 * 42 * The Direct Rendering Manager (DRM) is a device-independent kernel-level 43 * device driver that provides support for the XFree86 Direct Rendering 44 * Infrastructure (DRI). 45 * --- 72 unchanged lines hidden (view full) --- 118 119#if CONFIG_XFREE86_VERSION >= XFREE86_VERSION(4,1,0,0) 120#ifdef __OpenBSD__ 121#define DRM_MAJOR 81 122#endif 123#if defined(__linux__) || defined(__NetBSD__) 124#define DRM_MAJOR 226 125#endif | 38 39/** 40 * \mainpage 41 * 42 * The Direct Rendering Manager (DRM) is a device-independent kernel-level 43 * device driver that provides support for the XFree86 Direct Rendering 44 * Infrastructure (DRI). 45 * --- 72 unchanged lines hidden (view full) --- 118 119#if CONFIG_XFREE86_VERSION >= XFREE86_VERSION(4,1,0,0) 120#ifdef __OpenBSD__ 121#define DRM_MAJOR 81 122#endif 123#if defined(__linux__) || defined(__NetBSD__) 124#define DRM_MAJOR 226 125#endif |
126#define DRM_MAX_MINOR 255 | 126#define DRM_MAX_MINOR 15 |
127#endif 128#define DRM_NAME "drm" /**< Name in kernel, /dev, and /proc */ 129#define DRM_MIN_ORDER 5 /**< At least 2^5 bytes = 32 bytes */ 130#define DRM_MAX_ORDER 22 /**< Up to 2^22 bytes = 4MB */ 131#define DRM_RAM_PERCENT 10 /**< How much system ram can we lock? */ 132 133#define _DRM_LOCK_HELD 0x80000000U /**< Hardware lock is held */ 134#define _DRM_LOCK_CONT 0x40000000U /**< Hardware lock is contended */ --- 577 unchanged lines hidden --- | 127#endif 128#define DRM_NAME "drm" /**< Name in kernel, /dev, and /proc */ 129#define DRM_MIN_ORDER 5 /**< At least 2^5 bytes = 32 bytes */ 130#define DRM_MAX_ORDER 22 /**< Up to 2^22 bytes = 4MB */ 131#define DRM_RAM_PERCENT 10 /**< How much system ram can we lock? */ 132 133#define _DRM_LOCK_HELD 0x80000000U /**< Hardware lock is held */ 134#define _DRM_LOCK_CONT 0x40000000U /**< Hardware lock is contended */ --- 577 unchanged lines hidden --- |