From 8f5720bf45a505a259b686b4052cf636a65c51ce Mon Sep 17 00:00:00 2001 From: Damien Lespiau Date: Fri, 17 Dec 2010 00:12:50 +0800 Subject: i965_drv_video: Fix a small typo in a comment Obviousy 50 - 2 + 8 != 2, 50 - 2 + 8 - 2 seems to be 54 though. Signed-off-by: Damien Lespiau --- i965_drv_video/i965_avc_ildb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/i965_drv_video/i965_avc_ildb.c b/i965_drv_video/i965_avc_ildb.c index a053062..a6be42b 100644 --- a/i965_drv_video/i965_avc_ildb.c +++ b/i965_drv_video/i965_avc_ildb.c @@ -360,7 +360,7 @@ i965_avc_ildb_upload_constants(VADriverContextP ctx, struct decode_state *decode if (IS_IRONLAKE(i965->intel.device_id)) { root_input->max_concurrent_threads = 76; /* 72 - 2 + 8 - 2 */ } else { - root_input->max_concurrent_threads = 54; /* 50 - 2 + 8 = 2 */ + root_input->max_concurrent_threads = 54; /* 50 - 2 + 8 - 2 */ } if (pic_param->pic_fields.bits.field_pic_flag) -- cgit v1.2.1 From 1d2c38771fa787d68a83ad0dfbf014b11296b5ee Mon Sep 17 00:00:00 2001 From: Damien Lespiau Date: Fri, 17 Dec 2010 00:12:51 +0800 Subject: i965_drv_video: Bump the libdrm dependency to 2.4.23 for I915_EXEC_BLT I915_EXEC_BLT has landed recently-ish in libdrm and you need v2.4.23 to be able to compile the i965 driver. Signed-off-by: Damien Lespiau --- configure.ac | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/configure.ac b/configure.ac index ce0e8ea..7ae538d 100644 --- a/configure.ac +++ b/configure.ac @@ -104,9 +104,9 @@ PKG_CHECK_MODULES([DRM], [libdrm]) PKG_CHECK_MODULES(GEN4ASM, [intel-gen4asm >= 1.1], [gen4asm=yes], [gen4asm=no]) AM_CONDITIONAL(HAVE_GEN4ASM, test x$gen4asm = xyes) -# Check for libdrm >= 2.4.21 (needed for i965_drv_video.so) -if test x$enable_i965_driver = xyes && ! $PKG_CONFIG --atleast-version=2.4.21 libdrm; then - AC_MSG_WARN([libdrm < 2.4.21 found, disabling build of i965 video driver]) +# Check for libdrm >= 2.4.23 (needed for i965_drv_video.so) +if test x$enable_i965_driver = xyes && ! $PKG_CONFIG --atleast-version=2.4.23 libdrm; then + AC_MSG_WARN([libdrm < 2.4.23 found, disabling build of i965 video driver]) enable_i965_driver=no fi AM_CONDITIONAL(BUILD_I965_DRIVER, test x$enable_i965_driver = xyes) -- cgit v1.2.1