1#ifndef INTEL_OPTIONS_H
2#define INTEL_OPTIONS_H
3
4#include <xorg-server.h>
5#include <xf86.h>
6#include <xf86Opt.h>
7
8/*
9 * Note: "ColorKey" is provided for compatibility with the i810 driver.
10 * However, the correct option name is "VideoKey".  "ColorKey" usually
11 * refers to the tranparency key for 8+24 overlays, not for video overlays.
12 */
13
14enum intel_options {
15	OPTION_ACCEL_DISABLE,
16	OPTION_ACCEL_METHOD,
17	OPTION_BACKLIGHT,
18	OPTION_DRI,
19	OPTION_PRESENT,
20	OPTION_VIDEO_KEY,
21	OPTION_COLOR_KEY,
22	OPTION_TILING_2D,
23	OPTION_TILING_FB,
24	OPTION_VSYNC,
25	OPTION_PAGEFLIP,
26	OPTION_SWAPBUFFERS_WAIT,
27	OPTION_TRIPLE_BUFFER,
28	OPTION_PREFER_OVERLAY,
29	OPTION_HOTPLUG,
30	OPTION_REPROBE,
31	OPTION_DELETE_DP12,
32#if defined(XvMCExtension) && defined(ENABLE_XVMC)
33	OPTION_XVMC,
34#define INTEL_XVMC 1
35#endif
36#ifdef USE_SNA
37	OPTION_ZAPHOD,
38	OPTION_VIRTUAL,
39	OPTION_TEAR_FREE,
40	OPTION_CRTC_PIXMAPS,
41#endif
42#ifdef USE_UXA
43	OPTION_FALLBACKDEBUG,
44	OPTION_DEBUG_FLUSH_BATCHES,
45	OPTION_DEBUG_FLUSH_CACHES,
46	OPTION_DEBUG_WAIT,
47	OPTION_BUFFER_CACHE,
48#endif
49	NUM_OPTIONS,
50};
51
52extern const OptionInfoRec intel_options[];
53OptionInfoPtr intel_options_get(ScrnInfoPtr scrn);
54
55#endif /* INTEL_OPTIONS_H */
56