profile/ivi/libva.git
15 years agoMerge branch 'master-fd.o' 62/462/1
Austin Yuan [Fri, 28 Aug 2009 09:33:21 +0000 (17:33 +0800)]
Merge branch 'master-fd.o'

Conflicts:
Makefile.am
configure.ac
dummy_drv_video/dummy_drv_video.c
i965_drv_video/Makefile.am
i965_drv_video/i965_drv_video.c
src/Makefile.am
src/va.c
src/va.h
src/va_backend.h
src/x11/va_x11.c
test/test_12.c

Signed-off-by: Austin Yuan <shengquan.yuan@intel.com>
15 years agoRemove context from vaSyncSurface 61/461/1
Austin Yuan [Fri, 28 Aug 2009 09:25:21 +0000 (17:25 +0800)]
Remove context from vaSyncSurface

Signed-off-by: Austin Yuan <shengquan.yuan@intel.com>
15 years agoSplit libva DSO into core (libva.so) and display-dependent parts (libva-x11.so). 60/460/1
Gwenole Beauchesne [Wed, 8 Jul 2009 07:54:44 +0000 (07:54 +0000)]
Split libva DSO into core (libva.so) and display-dependent parts (libva-x11.so).

Signed-off-by: Austin Yuan <shengquan.yuan@intel.com>
15 years agoAssgin VASurfaceRendering a non-zero value instead of 0 59/459/1
Austin Yuan [Thu, 27 Aug 2009 09:50:18 +0000 (17:50 +0800)]
Assgin VASurfaceRendering a non-zero value instead of 0

Signed-off-by: Austin Yuan <shengquan.yuan@intel.com>
15 years agoCombine vaPutImage/vaPutImage2, vaAssociateSubpicture/vaAssociateSubpicture2 58/458/1
Austin Yuan [Thu, 27 Aug 2009 09:45:40 +0000 (17:45 +0800)]
Combine vaPutImage/vaPutImage2, vaAssociateSubpicture/vaAssociateSubpicture2

Signed-off-by: Austin Yuan <shengquan.yuan@intel.com>
15 years agoUpdate VAAPI to 0.31, libva.so SONAME to libva.so.1 57/457/1
Austin Yuan [Thu, 27 Aug 2009 08:54:29 +0000 (16:54 +0800)]
Update VAAPI to 0.31, libva.so SONAME to libva.so.1

Signed-off-by: Austin Yuan <shengquan.yuan@intel.com>
15 years agoAdd VA_STATUS_ERROR_UNIMPLEMENTED. 56/456/1
Gwenole Beauchesne [Wed, 26 Aug 2009 16:01:10 +0000 (16:01 +0000)]
Add VA_STATUS_ERROR_UNIMPLEMENTED.

15 years agoFix bit-fields types. 55/455/1
Gwenole Beauchesne [Wed, 8 Jul 2009 07:45:28 +0000 (07:45 +0000)]
Fix bit-fields types.

Signed-off-by: Austin Yuan <shengquan.yuan@intel.com>
15 years agoAdd new bit to signal VC-1 skipped P-frames. 54/454/1
Gwenole Beauchesne [Wed, 8 Jul 2009 07:58:11 +0000 (07:58 +0000)]
Add new bit to signal VC-1 skipped P-frames.

Signed-off-by: Austin Yuan <shengquan.yuan@intel.com>
15 years agoAdd new H.264 fields for XvBA backend. 53/453/1
Gwenole Beauchesne [Wed, 8 Jul 2009 07:57:54 +0000 (07:57 +0000)]
Add new H.264 fields for XvBA backend.

Signed-off-by: Austin Yuan <shengquan.yuan@intel.com>
15 years agoAdd new VC-1 fields for VDPAU backend. 52/452/1
Gwenole Beauchesne [Wed, 8 Jul 2009 07:57:32 +0000 (07:57 +0000)]
Add new VC-1 fields for VDPAU backend.

Signed-off-by: Austin Yuan <shengquan.yuan@intel.com>
15 years agoAdd new H.264 fields for VDPAU backend. 51/451/1
Gwenole Beauchesne [Wed, 8 Jul 2009 07:57:17 +0000 (07:57 +0000)]
Add new H.264 fields for VDPAU backend.

Signed-off-by: Austin Yuan <shengquan.yuan@intel.com>
15 years agoSync latest fd.o libva:master 50/450/1 20090820_5.1.0.0121
Austin Yuan [Mon, 24 Aug 2009 19:32:22 +0000 (03:32 +0800)]
Sync latest fd.o libva:master

Signed-off-by: Austin Yuan <shengquan.yuan@intel.com>
15 years agoMerge branch 'test' 49/449/1
Austin Yuan [Mon, 24 Aug 2009 16:35:05 +0000 (00:35 +0800)]
Merge branch 'test'

15 years agoDon't include VAAPI version to SONAME 48/448/1
Austin Yuan [Fri, 14 Aug 2009 14:30:02 +0000 (22:30 +0800)]
Don't include VAAPI version to SONAME

VAAPI version upgrade doesn't mean it will break binary compatibility

Signed-off-by: Austin Yuan <shengquan.yuan@intel.com>
15 years agoExplicit API extensions versioning from SDS. 47/447/1
Gwenole Beauchesne [Wed, 8 Jul 2009 07:56:57 +0000 (07:56 +0000)]
Explicit API extensions versioning from SDS.

Signed-off-by: Austin Yuan <shengquan.yuan@intel.com>
15 years agoFix NVIDIA driver detection. 46/446/1
Gwenole Beauchesne [Wed, 8 Jul 2009 07:56:05 +0000 (07:56 +0000)]
Fix NVIDIA driver detection.

Signed-off-by: Austin Yuan <shengquan.yuan@intel.com>
15 years agoAdd <va_version.h> for versioning helpers. 45/445/1
Gwenole Beauchesne [Wed, 8 Jul 2009 07:55:42 +0000 (07:55 +0000)]
Add <va_version.h> for versioning helpers.

Signed-off-by: Austin Yuan <shengquan.yuan@intel.com>
15 years agoi965_drv_video: clear draw buffer before rendering. 44/444/1
Xiang, Haihao [Tue, 11 Aug 2009 05:49:28 +0000 (13:49 +0800)]
i965_drv_video: clear draw buffer before rendering.

15 years agoi965_drv_video: fix rendering issue 43/443/1
Zou Nan hai [Fri, 7 Aug 2009 02:42:13 +0000 (10:42 +0800)]
i965_drv_video: fix rendering issue

15 years agoi965_drv_driver: fix assertion failure 42/442/1
Xiang, Haihao [Wed, 5 Aug 2009 03:48:18 +0000 (11:48 +0800)]
i965_drv_driver: fix assertion failure

15 years agoi965_drv_video: Eanble VAAPI on IGDNG 41/441/1
Xiang, Haihao [Mon, 27 Jul 2009 09:11:25 +0000 (17:11 +0800)]
i965_drv_video: Eanble VAAPI on IGDNG

15 years agoi965_drv_video: add new compiled shader programs for IGDNG 40/440/1
Xiang, Haihao [Mon, 27 Jul 2009 08:39:53 +0000 (16:39 +0800)]
i965_drv_video: add new compiled shader programs for IGDNG

15 years agoCheck the version of intel-gen4asm in configure.ac 39/439/1
Xiang, Haihao [Mon, 27 Jul 2009 08:35:56 +0000 (16:35 +0800)]
Check the version of intel-gen4asm in configure.ac

15 years agoput drivers into /usr/lib/dri by default 38/438/1
Austin Yuan [Wed, 8 Jul 2009 09:50:16 +0000 (17:50 +0800)]
put drivers into /usr/lib/dri by default

Signed-off-by: Austin Yuan <shengquan.yuan@intel.com>
15 years agodon't build i965 driver by default 37/437/1
Austin Yuan [Wed, 8 Jul 2009 09:48:06 +0000 (17:48 +0800)]
don't build i965 driver by default

Signed-off-by: Austin Yuan <shengquan.yuan@intel.com>
15 years agoAdd VASliceParameterBufferBase. 36/436/1
Gwenole Beauchesne [Wed, 8 Jul 2009 07:58:29 +0000 (07:58 +0000)]
Add VASliceParameterBufferBase.

Signed-off-by: Austin Yuan <shengquan.yuan@intel.com>
15 years agoRemove obsolete fields. 35/435/1
Gwenole Beauchesne [Wed, 8 Jul 2009 07:56:26 +0000 (07:56 +0000)]
Remove obsolete fields.

Signed-off-by: Austin Yuan <shengquan.yuan@intel.com>
15 years agoAdd new DSO versioning (SONAME changed to libva-VERSION.so.CURRENT.REVISION.AGE). 34/434/1
Gwenole Beauchesne [Wed, 8 Jul 2009 07:54:02 +0000 (07:54 +0000)]
Add new DSO versioning (SONAME changed to libva-VERSION.so.CURRENT.REVISION.AGE).

Signed-off-by: Austin Yuan <shengquan.yuan@intel.com>
15 years agoFix memory leak (VADriverContext.dri_state). 33/433/1
Gwenole Beauchesne [Wed, 8 Jul 2009 07:53:37 +0000 (07:53 +0000)]
Fix memory leak (VADriverContext.dri_state).

Signed-off-by: Austin Yuan <shengquan.yuan@intel.com>
15 years agoAdd VA_INVALID_ID helper macro. 32/432/1
Gwenole Beauchesne [Wed, 8 Jul 2009 07:53:08 +0000 (07:53 +0000)]
Add VA_INVALID_ID helper macro.

Signed-off-by: Austin Yuan <shengquan.yuan@intel.com>
15 years agoFix make install (<va/va_x11.h>). Actually drop extraneous space. ;-) 31/431/1
Gwenole Beauchesne [Wed, 8 Jul 2009 07:52:49 +0000 (07:52 +0000)]
Fix make install (<va/va_x11.h>). Actually drop extraneous space. ;-)

Signed-off-by: Austin Yuan <shengquan.yuan@intel.com>
15 years agoAdd check for libXfixes. 30/430/1
Gwenole Beauchesne [Wed, 8 Jul 2009 07:51:58 +0000 (07:51 +0000)]
Add check for libXfixes.

Signed-off-by: Austin Yuan <shengquan.yuan@intel.com>
15 years agoDrop duplicate LIBDRM_DEPS pkg-config check. 29/429/1
Gwenole Beauchesne [Wed, 8 Jul 2009 07:51:42 +0000 (07:51 +0000)]
Drop duplicate LIBDRM_DEPS pkg-config check.

Signed-off-by: Austin Yuan <shengquan.yuan@intel.com>
15 years agoFix driver name retrieval for dri1 and dri2. 28/428/1
Gwenole Beauchesne [Wed, 8 Jul 2009 07:51:21 +0000 (07:51 +0000)]
Fix driver name retrieval for dri1 and dri2.

Signed-off-by: Austin Yuan <shengquan.yuan@intel.com>
15 years agoFix va_DisplayContextGetDriverName() to check for LIBVA_DRIVER_NAME first. 27/427/1
Gwenole Beauchesne [Wed, 8 Jul 2009 07:50:40 +0000 (07:50 +0000)]
Fix va_DisplayContextGetDriverName() to check for LIBVA_DRIVER_NAME first.

Signed-off-by: Austin Yuan <shengquan.yuan@intel.com>
15 years agoAllow conditional build of video drivers (dummy, i965). 26/426/1
Gwenole Beauchesne [Wed, 8 Jul 2009 07:50:01 +0000 (07:50 +0000)]
Allow conditional build of video drivers (dummy, i965).

Signed-off-by: Austin Yuan <shengquan.yuan@intel.com>
15 years agoFix tests. 25/425/1
Gwenole Beauchesne [Wed, 8 Jul 2009 07:49:23 +0000 (07:49 +0000)]
Fix tests.

Signed-off-by: Austin Yuan <shengquan.yuan@intel.com>
15 years agoInstall drivers into pkglibdir/va/. 24/424/1
Gwenole Beauchesne [Wed, 8 Jul 2009 07:48:10 +0000 (07:48 +0000)]
Install drivers into pkglibdir/va/.

Signed-off-by: Austin Yuan <shengquan.yuan@intel.com>
15 years agoFix dummy_drv_video.so init function name. 23/423/1
Gwenole Beauchesne [Wed, 8 Jul 2009 07:47:15 +0000 (07:47 +0000)]
Fix dummy_drv_video.so init function name.

Signed-off-by: Austin Yuan <shengquan.yuan@intel.com>
15 years agoFix includes. 22/422/1
Gwenole Beauchesne [Wed, 8 Jul 2009 07:46:31 +0000 (07:46 +0000)]
Fix includes.

Signed-off-by: Austin Yuan <shengquan.yuan@intel.com>
15 years agotest: Use IN_LIBVA, so that they can be built out of libva 21/421/1
Austin Yuan [Wed, 8 Jul 2009 06:46:49 +0000 (14:46 +0800)]
test: Use IN_LIBVA, so that they can be built out of libva

Signed-off-by: Austin Yuan <shengquan.yuan@intel.com>
15 years agoFix test build issue 20/420/1
Austin Yuan [Wed, 8 Jul 2009 06:27:44 +0000 (14:27 +0800)]
Fix test build issue

Signed-off-by: Austin Yuan <shengquan.yuan@intel.com>
15 years agoFix build of vainfo. 19/419/1
Gwenole Beauchesne [Thu, 2 Jul 2009 09:15:58 +0000 (09:15 +0000)]
Fix build of vainfo.

commit f8aebf54e0d6b2411cb495f9fab71dc8a05c245c
Author: Gwenole Beauchesne <gbeauchesne@splitted-desktop.com>
Date:   Thu Jun 25 14:06:38 2009 +0000

    Further fixes to vainfo: use strrchr() instead of rindex(), make
    profile_string() and entrypoint_string() always return a value.

commit 4e6d19d5588998b5a9da30500ce727410b5787ef
Author: Gwenole Beauchesne <gbeauchesne@splitted-desktop.com>
Date:   Wed Jun 24 12:43:55 2009 +0000

    Fix vainfo error messages.

Signed-off-by: Austin Yuan <shengquan.yuan@intel.com>
15 years agoDrop explicit CFLAGS override. 18/418/1
Gwenole Beauchesne [Wed, 24 Jun 2009 07:52:36 +0000 (07:52 +0000)]
Drop explicit CFLAGS override.

Signed-off-by: Austin Yuan <shengquan.yuan@intel.com>
15 years agoFix make dist (i965_drv_video missing files, Paul Bender). 17/417/1
Gwenole Beauchesne [Fri, 3 Jul 2009 15:40:54 +0000 (15:40 +0000)]
Fix make dist (i965_drv_video missing files, Paul Bender).

commit a02c6205509411b9e444b5546023dd8c5672fd99
Author: Gwenole Beauchesne <gbeauchesne@splitted-desktop.com>
Date:   Thu Jul 2 09:28:02 2009 +0000

    Fix make dist (tests).

commit 93db0794456910eb4b1daf2e1c1a7f45448897c1
Author: Gwenole Beauchesne <gbeauchesne@splitted-desktop.com>
Date:   Wed Jun 24 07:49:02 2009 +0000

    Fix make dist.

Signed-off-by: Austin Yuan <shengquan.yuan@intel.com>
15 years agoFix build after X11 -> x11 move 16/416/1
Gwenole Beauchesne [Mon, 6 Jul 2009 10:41:05 +0000 (10:41 +0000)]
Fix build after X11 -> x11 move

Signed-off-by: Austin Yuan <shengquan.yuan@intel.com>
15 years agoX11->x11 per the suggestion from Gwenole 15/415/1
Austin Yuan [Mon, 6 Jul 2009 09:18:37 +0000 (17:18 +0800)]
X11->x11 per the suggestion from Gwenole

Signed-off-by: Austin Yuan <shengquan.yuan@intel.com>
15 years agoMove back dri --> src/X11 14/414/1
Austin Yuan [Fri, 3 Jul 2009 03:04:34 +0000 (11:04 +0800)]
Move back dri --> src/X11

Signed-off-by: Austin Yuan <shengquan.yuan@intel.com>
15 years agoAdded the patch from Zou Naihai to correct DRI2XXX --> VA_DRI2XXX 13/413/1
Austin Yuan [Wed, 1 Jul 2009 03:33:58 +0000 (11:33 +0800)]
Added the patch from  Zou Naihai to correct DRI2XXX --> VA_DRI2XXX

Signed-off-by: Austin Yuan <shengquan.yuan@intel.com>
15 years agova_backend.h: X11/va_x11.h --> dri/va_x11.h 12/412/1
Austin Yuan [Wed, 1 Jul 2009 01:27:47 +0000 (09:27 +0800)]
va_backend.h: X11/va_x11.h --> dri/va_x11.h

Signed-off-by: Austin Yuan <shengquan.yuan@intel.com>
15 years agoRemove vaSetSubpicturePalette, please use vaSetImagePalette 11/411/1
Austin Yuan [Tue, 30 Jun 2009 16:08:42 +0000 (00:08 +0800)]
Remove vaSetSubpicturePalette, please use vaSetImagePalette

Signed-off-by: Austin Yuan <shengquan.yuan@intel.com>
15 years agoRefine the directory, move src/X11 to dri/ 10/410/1
Austin Yuan [Thu, 2 Jul 2009 09:51:41 +0000 (17:51 +0800)]
Refine the directory, move src/X11 to dri/

Signed-off-by: Austin Yuan <shengquan.yuan@intel.com>
15 years agoApply the patch from Nanhai to support MPEG2 VLD on Intel integrated G45 graphics 09/409/1
Austin Yuan [Thu, 2 Jul 2009 09:02:12 +0000 (17:02 +0800)]
Apply the patch from Nanhai to support MPEG2 VLD on Intel integrated G45 graphics

Signed-off-by: Austin Yuan <shengquan.yuan@intel.com>
15 years agoAdded missing file test/mpeg2-I.jpg, mpeg2-i.mpg 08/408/1
Austin Yuan [Thu, 25 Jun 2009 21:41:02 +0000 (05:41 +0800)]
Added missing file test/mpeg2-I.jpg, mpeg2-i.mpg

Signed-off-by: Austin Yuan <shengquan.yuan@intel.com>
15 years agoAdded version number for libVA. Current version is 0.30.4 07/407/1 20090625_5.1.0.0111 20090702_5.1.0.0112 20090707_5.1.0.0113 20090710_5.1.0.0114 20090716_5.1.0.0115 20090723_5.1.0.0116 20090724_5.1.0.0117 20090727_5.1.0.0118 20090731_5.1.0.0119 20090806_5.1.0.0120 20090820_5.1.0.0120.1 20090821_5.1.0.0120.1 20090821_5.1.0.0122 20090909_5.1.0.0124 20091002_PreAlpha_Int 20091015_5.1.0.0125 20091021_5.1.0.0126 20091103_PreAlpha5 menlow-beta video-img1.5-poc ww30.1-rar-video ww30.3-video ww30.5-video ww31.2-pm-video ww31.2-video ww32.1-video
Austin Yuan [Wed, 24 Jun 2009 01:01:05 +0000 (09:01 +0800)]
Added version number for libVA. Current version is 0.30.4

Signed-off-by: Austin Yuan <shengquan.yuan@intel.com>
15 years agoProposed new vaCreateSurfaceFromV4L2Buffer to replace origin vaCreateSurfaceFromMrstV... 06/406/1
Austin Yuan [Fri, 19 Jun 2009 18:20:52 +0000 (02:20 +0800)]
Proposed new vaCreateSurfaceFromV4L2Buffer to replace origin vaCreateSurfaceFromMrstV4L2 buffer to make it more generic

Signed-off-by: Austin Yuan <shengquan.yuan@intel.com>
15 years agoAdded more comments for vaCreateBufferFromV4L2Buffer 05/405/1
Austin Yuan [Fri, 19 Jun 2009 18:17:40 +0000 (02:17 +0800)]
Added more comments for vaCreateBufferFromV4L2Buffer

Signed-off-by: Austin Yuan <shengquan.yuan@intel.com>
15 years agoFixed dummy driver compile issue 04/404/1 20090618_Alpha2.3
Austin Yuan [Thu, 18 Jun 2009 20:14:12 +0000 (04:14 +0800)]
Fixed dummy driver compile issue

Signed-off-by: Austin Yuan <shengquan.yuan@intel.com>
15 years agorefine vaCreateSurfaceFromMrstV4L2Buf to vaCreateSurfaceFromV4L2Buf to make it more... 03/403/1
Austin Yuan [Thu, 18 Jun 2009 19:30:16 +0000 (03:30 +0800)]
refine vaCreateSurfaceFromMrstV4L2Buf to vaCreateSurfaceFromV4L2Buf to make it  more generic

Signed-off-by: Austin Yuan <shengquan.yuan@intel.com>
15 years agoRename vaDbgCopySurfaceToBuffer ->vaCopySurfaceToBuffer, vaDbgCreateSurfaceFromMrstVL... 02/402/1
Austin Yuan [Thu, 18 Jun 2009 18:59:00 +0000 (02:59 +0800)]
Rename vaDbgCopySurfaceToBuffer ->vaCopySurfaceToBuffer, vaDbgCreateSurfaceFromMrstVL42Buffer->vaCreateSurfaceFromMrstVL42Buffer

Signed-off-by: Austin Yuan <shengquan.yuan@intel.com>
15 years agorename vaDbgCopySurfaceToBuffer ->vaCopySurfaceToBuffer, vaDbgCreateSurfaceFromMRSTVL... 01/401/1
Austin Yuan [Thu, 18 Jun 2009 18:45:53 +0000 (02:45 +0800)]
rename vaDbgCopySurfaceToBuffer ->vaCopySurfaceToBuffer, vaDbgCreateSurfaceFromMRSTVL42Buffer->vaCreateSurfaceFromMRSTVL42Buffer

Signed-off-by: Austin Yuan <shengquan.yuan@intel.com>
15 years agoFix the issue that all files are moved into a sub-directory libva. 00/400/1
Austin Yuan [Sat, 13 Jun 2009 01:17:46 +0000 (09:17 +0800)]
Fix the issue that all files are moved into a sub-directory libva.

Signed-off-by: Austin Yuan <shengquan.yuan@intel.com>
15 years agoUpload latest libVA library 99/399/1
Austin Yuan [Fri, 12 Jun 2009 23:18:20 +0000 (07:18 +0800)]
Upload latest libVA library

    1. Upgrade VAAPI to version 0.30 which has encode support
    2. Incorporate Gwenole Beauchesne's patches 102, 103, 104. 105, 106, 107, 109 and part of 202
       (see http://www.splitted-desktop.com/~gbeauchesne/libva/patches/)
    3. DRI2 support

Signed-off-by: Austin Yuan <shengquan.yuan@intel.com>
15 years agoFix vaSetSubpicturePalette compile issue 98/398/1 20090616_Alpha2.2.1
Austin Yuan [Fri, 12 Jun 2009 23:16:42 +0000 (07:16 +0800)]
Fix vaSetSubpicturePalette compile issue

Signed-off-by: Austin Yuan <shengquan.yuan@intel.com>
15 years agoremove vaSetSubpicturePalette 97/397/1
Austin Yuan [Fri, 12 Jun 2009 22:57:30 +0000 (06:57 +0800)]
remove vaSetSubpicturePalette

Signed-off-by: Austin Yuan <shengquan.yuan@intel.com>
15 years agoChage VASurfaceSkipped from 3 to 4 96/396/1 20090608_Alpha2.2
Austin Yuan [Fri, 5 Jun 2009 02:49:11 +0000 (10:49 +0800)]
Chage VASurfaceSkipped from 3 to 4

Signed-off-by: Austin Yuan <shengquan.yuan@intel.com>
15 years agoremove Xv checkouk in config 95/395/1
Austin Yuan [Wed, 3 Jun 2009 18:21:56 +0000 (14:21 -0400)]
remove Xv checkouk in config

Signed-off-by: Austin Yuan <shengquan.yuan@intel.com>
15 years agoAdded va_dri2tokens.h for DRI2 tokens definition 94/394/1
Austin Yuan [Wed, 3 Jun 2009 18:03:57 +0000 (14:03 -0400)]
Added va_dri2tokens.h for DRI2 tokens definition

Signed-off-by: Austin Yuan <shengquan.yuan@intel.com>
15 years agoRemove uncessary link form libva.so by adding flag RTLD_NODELETE into 93/393/1
Austin Yuan [Wed, 3 Jun 2009 15:14:46 +0000 (11:14 -0400)]
Remove uncessary link form libva.so by adding flag RTLD_NODELETE into
dlopen

Here is the background of this fix
Investigation indicates MRST Moblin Alpha1 0529 and 0520 uses the same libva source package
(which is from graphics Alpha1.4 pakcage
\\mid-depot.amr.corp.intel.com\Exchange\Moblin2\PackageSubmit\1.0.7_05142009-4_Alpha1.4),
and the rootcause is that the linkage of libva dependence libraries is
chaned in 0529 build. I am not sure why 0529 build has this change, and this
change indeed causes libva application segment fault issue.

See the detailed investigation and explanation in the attached
libva-0520-vs-0529.PNG picture.

Reproduce Steps(steps,current result, reproduce possibility)
===========================================================
(1) boot 0529 build
(2) Install libva testsuits into 0529 build
(3) run "mpeg4vld -x -i /var/clips/demo.m4v"

Expected result:
===========================================================
libVA application should exit cleanly

Possible root cause:
================================
There was a global change which helps reduce unnecessary linking
utilizing a
feature in binutils. We could opt liva out of this easily, however I
would
recommend fixing the package to do the right linking instead of relying
on the
tools to do so, Arjan, any suggestions?

Anas
=============================
summary of the picture:

the "new" libva does no longer link to

* libXv

* libdrm

* librt

* libpthread

HOWEVER; libva doesn't USE any of these! I don't see how not linking to
these could lead to a crash, since they truely are not used.

================================
Basically it is a known issue. If we remove these library link from
libVA, we will always get a segment fault when XCloseDisplay is called in
application.
Libva doesn't use these liXv/libdrm libraries, but libVA will dlopen HW
specific driver, and the driver links with these libXv/libdrm libraries.
We found the issue can be worked around by adding the link into libVA.
Using binutil to remove unnecessary link makes sense for most of libraries,
but for libva, it disables our workaround.

Austin

Signed-off-by: Austin Yuan <shengquan.yuan@intel.com>
15 years agoMerge branch 'master' of ssh://git@moblin-mdi.jf.intel.com/umg-moorestown-libva 92/392/1 05282009_Alpha2.1 menlow-port_05282009_Alpha2.1
Austin Yuan [Mon, 25 May 2009 05:55:52 +0000 (13:55 +0800)]
Merge branch 'master' of ssh://git@moblin-mdi.jf.intel.com/umg-moorestown-libva

15 years agoAdded "intra_period" into VAEncSequenceParameterBufferH263 91/391/1
Austin Yuan [Mon, 25 May 2009 05:53:44 +0000 (13:53 +0800)]
Added "intra_period" into VAEncSequenceParameterBufferH263

Signed-off-by: Austin Yuan <shengquan.yuan@intel.com>
15 years agoMake libva pass compilation with old and new dri2proto 90/390/1 05212009_Alpha1.5
Jeff Rous [Wed, 20 May 2009 17:39:05 +0000 (10:39 -0700)]
Make libva pass compilation with old and new dri2proto

15 years agoTest write permission 89/389/1
Austin Yuan [Tue, 19 May 2009 03:03:44 +0000 (11:03 +0800)]
Test write permission

Signed-off-by: Austin Yuan <shengquan.yuan@intel.com>
15 years agoMake libva pass compilation with old DRI2 proto which dri2tokens.h hasn't DRI2DriverD... 88/388/1
root [Fri, 15 May 2009 03:51:32 +0000 (11:51 +0800)]
Make libva pass compilation with old DRI2 proto which dri2tokens.h hasn't DRI2DriverDRI definition

Signed-off-by: root <root@Austin-Develop.localdomain>
15 years agoAdded build information (build date/time, git commit point) into the library 87/387/1 05142009_Alpha1.4 menlow-port-05142009_Alpha1.4
Austin Yuan [Tue, 12 May 2009 11:12:30 +0000 (07:12 -0400)]
Added build information (build date/time, git commit point) into the library

Signed-off-by: Austin Yuan <shengquan.yuan@intel.com>
15 years agoFix binary compatibility issue caused by VAAPI ISO-C conformance fix 86/386/1 04282009_ww18 04302009_Alpha1.2 05082009_Alpha1.3 menlow-port-05082009-Alpha1.3
Austin Yuan [Wed, 29 Apr 2009 18:26:11 +0000 (14:26 -0400)]
Fix binary compatibility issue caused by VAAPI ISO-C conformance fix

Signed-off-by: Austin Yuan <shengquan.yuan@intel.com>
15 years agoAdded va_dri2str.h so that don't relay on dri2proto 85/385/1
Austin Yuan [Thu, 23 Apr 2009 15:44:22 +0000 (11:44 -0400)]
Added va_dri2str.h so that don't relay on dri2proto

Signed-off-by: Austin Yuan <shengquan.yuan@intel.com>
15 years agoMerge branch 'DRI2' 84/384/1 04212009_Alpha1.1-DRI2 local-branch-testing-rework-drm-04232009 menlow-port-rework-drm-04232009
Austin Yuan [Wed, 22 Apr 2009 20:03:45 +0000 (16:03 -0400)]
Merge branch 'DRI2'

15 years agoMust link with Xv, orelse segment fault when XCloseDisplay 83/383/1
Austin Yuan [Wed, 22 Apr 2009 20:03:05 +0000 (16:03 -0400)]
Must link with Xv, orelse segment fault when XCloseDisplay

Signed-off-by: Austin Yuan <shengquan.yuan@intel.com>
15 years agoMore update for DRI2 support 82/382/1
Austin Yuan [Wed, 22 Apr 2009 19:54:26 +0000 (15:54 -0400)]
More update for DRI2 support

Signed-off-by: Austin Yuan <shengquan.yuan@intel.com>
15 years agoMerge branch 'DRI2' of ssh://git@moblin-mdi.jf.intel.com/umg-moorestown-libva into... 81/381/1
root [Wed, 22 Apr 2009 16:38:56 +0000 (12:38 -0400)]
Merge branch 'DRI2' of ssh://git@moblin-mdi.jf.intel.com/umg-moorestown-libva into DRI2

15 years agoAdded DRI2 files 80/380/1
root [Wed, 22 Apr 2009 16:37:59 +0000 (12:37 -0400)]
Added DRI2 files

15 years agoInitial support for DRI2 79/379/1
Austin Yuan [Wed, 22 Apr 2009 16:36:20 +0000 (12:36 -0400)]
Initial support for DRI2

Signed-off-by: Austin Yuan <shengquan.yuan@intel.com>
15 years agoFix vainfo unsupported_profile vastatus issue 78/378/1 04082009 04132009 04142009 04212009_Alpha1.1
Austin Yuan [Fri, 3 Apr 2009 22:03:17 +0000 (18:03 -0400)]
Fix vainfo unsupported_profile vastatus issue

Signed-off-by: Austin Yuan <shengquan.yuan@intel.com>
15 years agovainfo: print more information about supported profile:entrypoints 77/377/1
Austin Yuan [Fri, 3 Apr 2009 17:15:10 +0000 (13:15 -0400)]
vainfo: print more information about supported profile:entrypoints

Signed-off-by: Austin Yuan <shengquan.yuan@intel.com>
15 years agoRevert "patch 108_drivers_path.patch" 76/376/1 04032009
Austin Yuan [Thu, 26 Mar 2009 23:17:03 +0000 (19:17 -0400)]
Revert "patch 108_drivers_path.patch"

This reverts commit adac1a519de44803b0cdfff29829508cdd419a01.

15 years agoAdd 'bits' field for structure VAEncSliceParameterBuffer 75/375/1
Ren, Zhaohan [Thu, 26 Mar 2009 21:09:55 +0000 (05:09 +0800)]
Add 'bits' field for structure VAEncSliceParameterBuffer

15 years agoAdd -DIN_LIBVA 74/374/1
Ren, Zhaohan [Wed, 25 Mar 2009 22:03:10 +0000 (06:03 +0800)]
Add -DIN_LIBVA

15 years agoMerge branch 'master' of ssh://git@moblin-mdi.jf.intel.com/umg-moorestown-libva 73/373/1
Ren, Zhaohan [Wed, 25 Mar 2009 21:45:59 +0000 (05:45 +0800)]
Merge branch 'master' of ssh://git@moblin-mdi.jf.intel.com/umg-moorestown-libva

15 years agoMove files from X11 to va 72/372/1
Ren, Zhaohan [Wed, 25 Mar 2009 21:44:33 +0000 (05:44 +0800)]
Move files from X11 to va

15 years agorepatch 106_libva_includedir.patch, modify #include <va/va_x11.h> to #include <X11... 71/371/1
Ren, Zhaohan [Wed, 25 Mar 2009 20:12:51 +0000 (04:12 +0800)]
repatch 106_libva_includedir.patch, modify #include <va/va_x11.h> to #include <X11/va_x11.h>

15 years agopatch 107_cosmetics.patch 70/370/1
Ren, Zhaohan [Wed, 25 Mar 2009 19:50:48 +0000 (03:50 +0800)]
patch 107_cosmetics.patch

15 years agopatch 109_VA_FOURCC.patch 69/369/1
Ren, Zhaohan [Wed, 25 Mar 2009 19:37:51 +0000 (03:37 +0800)]
patch 109_VA_FOURCC.patch

15 years agopatch 108_drivers_path.patch 68/368/1
Ren, Zhaohan [Wed, 25 Mar 2009 19:20:31 +0000 (03:20 +0800)]
patch 108_drivers_path.patch

15 years agopatch 106_libva_includedir.patch 67/367/1
Ren, Zhaohan [Wed, 25 Mar 2009 18:55:43 +0000 (02:55 +0800)]
patch 106_libva_includedir.patch

15 years agopatch 105_libdrm_headers_check.patch 66/366/1
Ren, Zhaohan [Wed, 25 Mar 2009 18:45:35 +0000 (02:45 +0800)]
patch 105_libdrm_headers_check.patch

15 years agopatch 103_fix_includes.patch 65/365/1
Ren, Zhaohan [Wed, 25 Mar 2009 18:27:15 +0000 (02:27 +0800)]
patch 103_fix_includes.patch

15 years agopatch 102_fix_make_dist.patch 64/364/1
Ren, Zhaohan [Wed, 25 Mar 2009 18:25:03 +0000 (02:25 +0800)]
patch 102_fix_make_dist.patch

15 years agoMerge branch VA-ISOC-conformance 63/363/1
Ren, Zhaohan [Wed, 25 Mar 2009 15:38:28 +0000 (23:38 +0800)]
Merge branch VA-ISOC-conformance