summaryrefslogtreecommitdiff
path: root/vmwgfx/vmwgfx_driver.c
diff options
context:
space:
mode:
authorThomas Hellstrom <thellstrom@vmware.com>2011-12-07 14:17:45 +0100
committerThomas Hellstrom <thellstrom@vmware.com>2011-12-08 09:55:42 +0100
commit8bdc6004d34e274d815bb3f3e0aa223085ea848c (patch)
tree18573f242f4d8f56ae8e8268747cf476e9c833aa /vmwgfx/vmwgfx_driver.c
parentdba7b865d36ebe06b54987176b1a83cdbc2f846a (diff)
vmwgfx: Adapt to new interface of xa_yuv_planar_blit
Also make it easier to modify the color conversion matrix based on yuv encoding properties. Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com> Reviewed-by: Jakob Bornecrantz <jakob@vmware.com>
Diffstat (limited to 'vmwgfx/vmwgfx_driver.c')
-rw-r--r--vmwgfx/vmwgfx_driver.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/vmwgfx/vmwgfx_driver.c b/vmwgfx/vmwgfx_driver.c
index 088ac3d..dcb6c83 100644
--- a/vmwgfx/vmwgfx_driver.c
+++ b/vmwgfx/vmwgfx_driver.c
@@ -78,7 +78,7 @@ typedef int8_t int8;
typedef uint8_t uint8;
#include "./src/svga_reg.h"
-#define XA_VERSION_MINOR_REQUIRED 0
+#define XA_VERSION_MINOR_REQUIRED 6
#define DRM_VERSION_MAJOR_REQUIRED 2
#define DRM_VERSION_MINOR_REQUIRED 3
@@ -984,8 +984,9 @@ drv_screen_init(int scrnIndex, ScreenPtr pScreen, int argc, char **argv)
ms->xat = NULL;
ms->from_render = X_PROBED;
}
- } else if (major != XA_TRACKER_VERSION_MAJOR ||
- minor < XA_VERSION_MINOR_REQUIRED) {
+ }
+ if (major != XA_TRACKER_VERSION_MAJOR ||
+ minor < XA_VERSION_MINOR_REQUIRED) {
xf86DrvMsg(pScrn->scrnIndex, X_WARNING,
"Expecting %d.%d.x >= XA version < %d.0.0.\n",
XA_TRACKER_VERSION_MAJOR,