summaryrefslogtreecommitdiff
path: root/src/intel_options.h
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2012-09-23 08:56:50 +0100
committerChris Wilson <chris@chris-wilson.co.uk>2012-09-23 08:56:50 +0100
commitc2ca1c5abca687adb08d6e137bc3b70bdecb083d (patch)
treee1afe51977ad5cb30d842b640e2131a1cf388a89 /src/intel_options.h
parent92dbedc6138b923aa473935013ecb0346280c4d3 (diff)
downloadxorg-driver-xf86-video-intel-c2ca1c5abca687adb08d6e137bc3b70bdecb083d.tar.gz
Reorder INTEL_XVMC define so that we pick up Option "XvMC"
Otherwise it will remain disabled. Reported-by: Giacomo Comes <comes@naic.edu> Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'src/intel_options.h')
-rw-r--r--src/intel_options.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/intel_options.h b/src/intel_options.h
index 39c0b73f..3b5262a5 100644
--- a/src/intel_options.h
+++ b/src/intel_options.h
@@ -23,8 +23,9 @@ enum intel_options {
OPTION_PREFER_OVERLAY,
OPTION_HOTPLUG,
OPTION_RELAXED_FENCING,
-#ifdef INTEL_XVMC
+#if defined(XvMCExtension) && defined(ENABLE_XVMC)
OPTION_XVMC,
+#define INTEL_XVMC 1
#endif
#ifdef USE_SNA
OPTION_THROTTLE,