diff options
author | Nitin A Kamble <nitin.a.kamble@intel.com> | 2012-09-18 12:16:07 -0700 |
---|---|---|
committer | Tom Zanussi <tom.zanussi@intel.com> | 2012-12-03 14:20:44 -0600 |
commit | 6eed0090597bfe82603be5ffa9c9f1fd141306f0 (patch) | |
tree | e4e16247f8ae3b3ad3a1426f59af2dcf5668e533 /meta-emenlow/recipes-graphics/libva/libva-0.31.0/102_attribute_visibility.patch | |
parent | b4141a6404fa7d3445d660860b6bf68acec9f114 (diff) | |
download | meta-intel-6eed0090597bfe82603be5ffa9c9f1fd141306f0.tar.gz |
emenlow: use emgd instead of psb for graphics driver
Remove all the Poulsbo graphics driver specific meta data files.
And configure the BSP to use EMGD instead of psb for graphics stack.
Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
Diffstat (limited to 'meta-emenlow/recipes-graphics/libva/libva-0.31.0/102_attribute_visibility.patch')
-rw-r--r-- | meta-emenlow/recipes-graphics/libva/libva-0.31.0/102_attribute_visibility.patch | 47 |
1 files changed, 0 insertions, 47 deletions
diff --git a/meta-emenlow/recipes-graphics/libva/libva-0.31.0/102_attribute_visibility.patch b/meta-emenlow/recipes-graphics/libva/libva-0.31.0/102_attribute_visibility.patch deleted file mode 100644 index 2885ab7b..00000000 --- a/meta-emenlow/recipes-graphics/libva/libva-0.31.0/102_attribute_visibility.patch +++ /dev/null | |||
@@ -1,47 +0,0 @@ | |||
1 | commit 8d0004cbd40305114bbe8019122319b43d25a772 | ||
2 | Author: Gwenole Beauchesne <gbeauchesne@splitted-desktop.com> | ||
3 | Date: Tue Sep 8 12:34:39 2009 +0000 | ||
4 | |||
5 | Fix ATTRIBUTE_HIDDEN definition if __attribute__((visibility("hidden"))) is not supported. | ||
6 | |||
7 | commit 7a8bf489ffd436d853364dd0d3c9a6734b8cc7eb | ||
8 | Author: Gwenole Beauchesne <gbeauchesne@splitted-desktop.com> | ||
9 | Date: Thu Sep 3 15:46:37 2009 +0000 | ||
10 | |||
11 | Check for __attribute__((visibility("hidden"))). | ||
12 | |||
13 | diff --git a/configure.ac b/configure.ac | ||
14 | index da96872..abef435 100644 | ||
15 | --- a/configure.ac | ||
16 | +++ b/configure.ac | ||
17 | @@ -132,6 +132,30 @@ if test x$enable_i965_driver = xyes && ! $PKG_CONFIG --atleast-version=2.4 libdr | ||
18 | fi | ||
19 | AM_CONDITIONAL(BUILD_I965_DRIVER, test x$enable_i965_driver = xyes) | ||
20 | |||
21 | +dnl Check for __attribute__((visibility())) | ||
22 | +AC_CACHE_CHECK([whether __attribute__((visibility())) is supported], | ||
23 | + libva_cv_visibility_attribute, | ||
24 | + [cat > conftest.c <<EOF | ||
25 | +int foo __attribute__ ((visibility ("hidden"))) = 1; | ||
26 | +int bar __attribute__ ((visibility ("protected"))) = 1; | ||
27 | +EOF | ||
28 | + libva_cv_visibility_attribute=no | ||
29 | + if ${CC-cc} -Werror -S conftest.c -o conftest.s >/dev/null 2>&1; then | ||
30 | + if grep '\.hidden.*foo' conftest.s >/dev/null; then | ||
31 | + if grep '\.protected.*bar' conftest.s >/dev/null; then | ||
32 | + libva_cv_visibility_attribute=yes | ||
33 | + fi | ||
34 | + fi | ||
35 | + fi | ||
36 | + rm -f conftest.[cs] | ||
37 | +]) | ||
38 | +ATTRIBUTE_HIDDEN="" | ||
39 | +if test $libva_cv_visibility_attribute = yes; then | ||
40 | + ATTRIBUTE_HIDDEN="__attribute__((visibility(\"hidden\")))" | ||
41 | +fi | ||
42 | +AC_DEFINE_UNQUOTED([ATTRIBUTE_HIDDEN], [$ATTRIBUTE_HIDDEN], | ||
43 | + [Defined to __attribute__((visibility("hidden"))) when available]) | ||
44 | + | ||
45 | # We only need the headers, we don't link against the DRM libraries | ||
46 | LIBVA_CFLAGS="$DRM_CFLAGS" | ||
47 | AC_SUBST(LIBVA_CFLAGS) | ||