diff options
Diffstat (limited to 'src/i830.h')
-rw-r--r-- | src/i830.h | 12 |
1 files changed, 12 insertions, 0 deletions
@@ -58,6 +58,8 @@ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. #include "xf86Crtc.h" #include "xf86RandR12.h" +#include "xf86int10.h" + #include "xorg-server.h" #include <pciaccess.h> @@ -328,6 +330,7 @@ typedef struct _I830CrtcPrivateRec { uint64_t cursor_addr; unsigned long cursor_argb_addr; Bool cursor_is_argb; + int bpc; } I830CrtcPrivateRec, *I830CrtcPrivatePtr; #define I830CrtcPrivate(c) ((I830CrtcPrivatePtr) (c)->driver_private) @@ -398,6 +401,10 @@ enum last_3d { * BCM_KERNEL: use kernel methods for controlling the backlight * This is only available on some platforms, but where present this can * provide the best user experience. + * + * And, if you're in EL5, a fifth! + * BCM_IRONLAKE_NULL: just don't do anything and be quiet about it. This is + * a workaround for an RHGB interaction; you won't hit this at runtime. */ enum backlight_control { @@ -405,6 +412,7 @@ enum backlight_control { BCM_LEGACY, BCM_COMBO, BCM_KERNEL, + BCM_IRONLAKE_NULL }; enum dri_type { @@ -720,6 +728,10 @@ typedef struct intel_screen_private { Bool fallback_debug; struct sdvo_device_mapping sdvo_mappings[2]; unsigned debug_flush; + + /* ironlake vt restore hack */ + xf86Int10InfoPtr int10; + int int10Mode; } intel_screen_private; enum { |