projects
/
platform
/
upstream
/
xf86-video-intel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1eadd1d
)
uxa: Do not expose TextureVideo Xv adapters when acceleration is disabled
author
Chris Wilson
<chris@chris-wilson.co.uk>
Thu, 6 Feb 2014 09:24:17 +0000
(09:24 +0000)
committer
Chris Wilson
<chris@chris-wilson.co.uk>
Thu, 6 Feb 2014 09:24:17 +0000
(09:24 +0000)
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
src/uxa/intel_video.c
patch
|
blob
|
history
diff --git
a/src/uxa/intel_video.c
b/src/uxa/intel_video.c
index
d1b98d4
..
01919e3
100644
(file)
--- 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) {