From b68c39158d97609885425c0934996158c9cef987 Mon Sep 17 00:00:00 2001 From: Wang Mingyu Date: Fri, 13 Oct 2023 17:01:25 +0800 Subject: libva: upgrade 2.19.0 -> 2.20.0 Changelog: ============ * va: drop no longer applicable vaGetDriverNames check * va: remove unreachable "DRIVER BUG" * x11/dri2: limit the array handling to avoid out of range access * va/backend: document the vaGetDriver* APIs * va/backend: annotate vafool as deprecated * win32: remove duplicate adapter_luid entry * va: Added Q416 fourcc (three-plane 16-bit YUV 4:4:4) * trace: fix minor issue about printf data type and value range * jpeg: add support for crop and partial decode * trace: Unlock mutex before return * trace: Add trace for vaExportSurfaceHandle * av1: Revise offsets comments for av1 encode * va: Add new VADecodeErrorType to indicate the reset happended in the driver. * drm: limit the array size to avoid out of range * va: fix:set driver number to be zero if vaGetDriverNames failed * va: fix:don't leak driver names, when override is set * win32: Only print win32 driver messages in DEBUG builds * va: Add vendor string on va_TraceInitialize * va: remove legacy code paths * drm: remove no longer used helpers * x11: remove legacy code paths * x11: allow disabling DRI3 via LIBVA_DRI3_DISABLE env var * x11: implement vaGetDriverNames * va/x11/va_nvctrl: remove some dead code * va/x11/va_fglrx: remove some dead code * va: optimize code of getting driver name for all protocols/os(wayland,x11,drm,win32,android) (From OE-Core rev: 89ef2922394e916c85478cca61a122c511b517f2) Signed-off-by: Wang Mingyu Signed-off-by: Luca Ceresoli Signed-off-by: Richard Purdie --- meta/recipes-graphics/libva/libva-initial_2.19.0.bb | 8 -------- meta/recipes-graphics/libva/libva-initial_2.20.0.bb | 8 ++++++++ meta/recipes-graphics/libva/libva.inc | 2 +- meta/recipes-graphics/libva/libva_2.19.0.bb | 15 --------------- meta/recipes-graphics/libva/libva_2.20.0.bb | 15 +++++++++++++++ 5 files changed, 24 insertions(+), 24 deletions(-) delete mode 100644 meta/recipes-graphics/libva/libva-initial_2.19.0.bb create mode 100644 meta/recipes-graphics/libva/libva-initial_2.20.0.bb delete mode 100644 meta/recipes-graphics/libva/libva_2.19.0.bb create mode 100644 meta/recipes-graphics/libva/libva_2.20.0.bb (limited to 'meta/recipes-graphics/libva') diff --git a/meta/recipes-graphics/libva/libva-initial_2.19.0.bb b/meta/recipes-graphics/libva/libva-initial_2.19.0.bb deleted file mode 100644 index 453096822f..0000000000 --- a/meta/recipes-graphics/libva/libva-initial_2.19.0.bb +++ /dev/null @@ -1,8 +0,0 @@ -require libva.inc - -PACKAGECONFIG ?= "" - -do_install:append () { - rm -f ${D}${libdir}/*.so* -} - diff --git a/meta/recipes-graphics/libva/libva-initial_2.20.0.bb b/meta/recipes-graphics/libva/libva-initial_2.20.0.bb new file mode 100644 index 0000000000..453096822f --- /dev/null +++ b/meta/recipes-graphics/libva/libva-initial_2.20.0.bb @@ -0,0 +1,8 @@ +require libva.inc + +PACKAGECONFIG ?= "" + +do_install:append () { + rm -f ${D}${libdir}/*.so* +} + diff --git a/meta/recipes-graphics/libva/libva.inc b/meta/recipes-graphics/libva/libva.inc index 3388fea32b..486291bced 100644 --- a/meta/recipes-graphics/libva/libva.inc +++ b/meta/recipes-graphics/libva/libva.inc @@ -18,7 +18,7 @@ LICENSE = "MIT" SRC_URI = "${GITHUB_BASE_URI}/download/${PV}/libva-${PV}.tar.bz2" LIC_FILES_CHKSUM = "file://COPYING;md5=2e48940f94acb0af582e5ef03537800f" -SRC_URI[sha256sum] = "963be798d559df7feebda6fa81aa0dae6f9409c633a37909c44c6aa8af1e2174" +SRC_URI[sha256sum] = "f72bdb4f48dfe71ad01f1cbefe069672a2c949a6abd51cf3c4d4784210badc49" S = "${WORKDIR}/libva-${PV}" diff --git a/meta/recipes-graphics/libva/libva_2.19.0.bb b/meta/recipes-graphics/libva/libva_2.19.0.bb deleted file mode 100644 index 63dc5af8f2..0000000000 --- a/meta/recipes-graphics/libva/libva_2.19.0.bb +++ /dev/null @@ -1,15 +0,0 @@ -require libva.inc - -PACKAGECONFIG ??= " \ - ${@bb.utils.contains('DISTRO_FEATURES', 'x11 opengl', 'glx', '', d)} \ - ${@bb.utils.filter('DISTRO_FEATURES', 'x11 wayland', d)} \ -" - -PACKAGES =+ "${PN}-x11 ${PN}-glx ${PN}-wayland" - -RDEPENDS:${PN}-x11 =+ "${PN}" -RDEPENDS:${PN}-glx =+ "${PN}-x11" - -FILES:${PN}-x11 =+ "${libdir}/libva-x11*${SOLIBS}" -FILES:${PN}-glx =+ "${libdir}/libva-glx*${SOLIBS}" -FILES:${PN}-wayland =+ "${libdir}/libva-wayland*${SOLIBS}" diff --git a/meta/recipes-graphics/libva/libva_2.20.0.bb b/meta/recipes-graphics/libva/libva_2.20.0.bb new file mode 100644 index 0000000000..63dc5af8f2 --- /dev/null +++ b/meta/recipes-graphics/libva/libva_2.20.0.bb @@ -0,0 +1,15 @@ +require libva.inc + +PACKAGECONFIG ??= " \ + ${@bb.utils.contains('DISTRO_FEATURES', 'x11 opengl', 'glx', '', d)} \ + ${@bb.utils.filter('DISTRO_FEATURES', 'x11 wayland', d)} \ +" + +PACKAGES =+ "${PN}-x11 ${PN}-glx ${PN}-wayland" + +RDEPENDS:${PN}-x11 =+ "${PN}" +RDEPENDS:${PN}-glx =+ "${PN}-x11" + +FILES:${PN}-x11 =+ "${libdir}/libva-x11*${SOLIBS}" +FILES:${PN}-glx =+ "${libdir}/libva-glx*${SOLIBS}" +FILES:${PN}-wayland =+ "${libdir}/libva-wayland*${SOLIBS}" -- cgit v1.2.3-54-g00ecf