diff options
author | Matthieu Herrb <matthieu@cvs.openbsd.org> | 2008-07-29 20:04:58 +0000 |
---|---|---|
committer | Matthieu Herrb <matthieu@cvs.openbsd.org> | 2008-07-29 20:04:58 +0000 |
commit | faf27f7615abeed4786c9ad962edbe0d8f9af09e (patch) | |
tree | 06958fde6cfe7608c2927d5aaf890f34c76c193a /driver/xf86-video-nv/compat/modes/xf86Crtc.h | |
parent | 6e5332d8a437b02c3bf4f4d8304340a787a32126 (diff) |
update xf86-video-nv to 2.1.10
Diffstat (limited to 'driver/xf86-video-nv/compat/modes/xf86Crtc.h')
-rw-r--r-- | driver/xf86-video-nv/compat/modes/xf86Crtc.h | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/driver/xf86-video-nv/compat/modes/xf86Crtc.h b/driver/xf86-video-nv/compat/modes/xf86Crtc.h index 9693e12bb..cc045b229 100644 --- a/driver/xf86-video-nv/compat/modes/xf86Crtc.h +++ b/driver/xf86-video-nv/compat/modes/xf86Crtc.h @@ -29,6 +29,7 @@ #endif #include "xf86Modes.h" #include "xf86Cursor.h" +#include "xf86i2c.h" #include "damage.h" #include "picturestr.h" @@ -39,6 +40,9 @@ #ifndef M_T_DRIVER #define M_T_DRIVER 0x40 #endif +#ifndef M_T_USERPREF +#define M_T_USERPREF 0x80 +#endif #ifndef HARDWARE_CURSOR_ARGB #define HARDWARE_CURSOR_ARGB 0x00004000 #endif @@ -58,12 +62,14 @@ typedef enum _xf86ConnectorType { XF86ConnectorComponent, XF86ConnectorLFP, XF86ConnectorProprietary, + XF86ConnectorHDMI, + XF86ConnectorDisplayPort, } xf86ConnectorType; typedef enum _xf86OutputStatus { XF86OutputStatusConnected, XF86OutputStatusDisconnected, - XF86OutputStatusUnknown, + XF86OutputStatusUnknown } xf86OutputStatus; typedef struct _xf86CrtcFuncs { @@ -200,6 +206,13 @@ typedef struct _xf86CrtcFuncs { */ void (*destroy) (xf86CrtcPtr crtc); + + /** + * Less fine-grained mode setting entry point for kernel modesetting + */ + Bool + (*set_mode_major)(xf86CrtcPtr crtc, DisplayModePtr mode, + Rotation rotation, int x, int y); } xf86CrtcFuncsRec, *xf86CrtcFuncsPtr; struct _xf86Crtc { |