From 6fc46adb18a8410074c12d6e8979ef01813ebdf2 Mon Sep 17 00:00:00 2001 From: Chris Wilson Date: Thu, 6 Feb 2014 09:24:17 +0000 Subject: uxa: Do not expose TextureVideo Xv adapters when acceleration is disabled Signed-off-by: Chris Wilson --- src/uxa/intel_video.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/uxa/intel_video.c') diff --git a/src/uxa/intel_video.c b/src/uxa/intel_video.c index d1b98d47..01919e37 100644 --- a/src/uxa/intel_video.c +++ b/src/uxa/intel_video.c @@ -354,7 +354,8 @@ void I830InitVideo(ScreenPtr screen) /* Set up textured video if we can do it at this depth and we are on * supported hardware. */ - if (scrn->bitsPerPixel >= 16 && + if (!intel->force_fallback && + scrn->bitsPerPixel >= 16 && INTEL_INFO(intel)->gen >= 030) { texturedAdaptor = I830SetupImageVideoTextured(screen); if (texturedAdaptor != NULL) { -- cgit v1.2.3