xf86-video-intel: src/uxa/intel_video.c

Chris Wilson ickle at kemper.freedesktop.org
Thu Feb 6 01:25:12 PST 2014


 src/uxa/intel_video.c |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

New commits:
commit 6fc46adb18a8410074c12d6e8979ef01813ebdf2
Author: Chris Wilson <chris at chris-wilson.co.uk>
Date:   Thu Feb 6 09:24:17 2014 +0000

    uxa: Do not expose TextureVideo Xv adapters when acceleration is disabled
    
    Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>

diff --git a/src/uxa/intel_video.c b/src/uxa/intel_video.c
index d1b98d4..01919e3 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) {


More information about the xorg-commit mailing list