From b1655c78d371c47a548e466bb6a9dd9e79eecd56 Mon Sep 17 00:00:00 2001 From: heitbaum Date: Mon, 30 Aug 2021 20:35:21 +1000 Subject: [PATCH] xf86-video-amdgpu: update to 21.0.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit update 19.1.0 to 21.0.0 ann: https://lists.x.org/archives/amd-gfx/2021-July/067146.html -- [ANNOUNCE] xf86-video-amdgpu 21.0.0 Adam Jackson (2): kms: Handle changes to SourceValidate call chain in xserver 19 Fix link failure with gcc 10 Alex Deucher (1): Bump version for the 21.0.0 release Emil Velikov (10): Use ODEV_ATTRIB_PATH where possible for the device node. Remove drmCheckModesettingSupported and kernel module loading, on Linux Fixup the amdgpu_bus_id() string format Remove NULL check after a "cannot fail" function Store the busid string in AMDGPUEnt Reuse the existing busid string Use the device_id straight from gpu_info Kill off drmOpen/Close/drmSetInterfaceVersion in favour of drmDevices Introduce amdgpu_device_setup helper Factor out common code to amdgpu_probe() Likun Gao (1): Fix drmmode_crtc_scanout_create logic Michel Dänzer (11): Bail from amdgpu_pixmap_get_handle with ShadowFB Handle NULL fb_ptr in pixmap_get_fb glamor: Make pixmap scanout compatible if its dimensions are Drop bo/width/height members from struct drmmode_scanout Drop struct drmmode_scanout altogether in favour of PixmapPtrs Make drmmode_crtc_scanout_create/destroy static Fix build against ABI_VIDEODRV_VERSION 25.2 Replace a few more instances of "master" Check for AMDGPU_CREATE_PIXMAP_SCANOUT in amdgpu_glamor_create_pixmap Drop dri.h includes Include xf86drm.h instead of sarea.h Niclas Zeising (1): Fix return value check of drmIoctl() Peter Hutterer (1): gitlab CI: update to use the latest CI templates --- .../x11/driver/xf86-video-amdgpu/package.mk | 6 ++--- .../xf86-video-amdgpu-fix-gcc-10.patch | 25 ------------------- 2 files changed, 3 insertions(+), 28 deletions(-) delete mode 100644 packages/x11/driver/xf86-video-amdgpu/patches/xf86-video-amdgpu-fix-gcc-10.patch diff --git a/packages/x11/driver/xf86-video-amdgpu/package.mk b/packages/x11/driver/xf86-video-amdgpu/package.mk index 2e896eb925..ba9cdc8e8d 100644 --- a/packages/x11/driver/xf86-video-amdgpu/package.mk +++ b/packages/x11/driver/xf86-video-amdgpu/package.mk @@ -3,13 +3,13 @@ # Copyright (C) 2019-present Team LibreELEC (https://libreelec.tv) PKG_NAME="xf86-video-amdgpu" -PKG_VERSION="19.1.0" -PKG_SHA256="4f0ea4e0ae61995ac2b7c72433d31deab63b60c78763020aaa1b28696124fe5d" +PKG_VERSION="21.0.0" +PKG_SHA256="607823034defba6152050e5eb1c4df94b38819ef764291abadd81b620bc2ad88" PKG_ARCH="x86_64" PKG_LICENSE="OSS" PKG_SITE="http://www.x.org/" PKG_URL="http://xorg.freedesktop.org/archive/individual/driver/${PKG_NAME}-${PKG_VERSION}.tar.bz2" -PKG_DEPENDS_TARGET="toolchain xorg-server" +PKG_DEPENDS_TARGET="toolchain libdrm xorg-server" PKG_LONGDESC="AMD Radeon video driver for the Xorg X server." PKG_TOOLCHAIN="autotools" diff --git a/packages/x11/driver/xf86-video-amdgpu/patches/xf86-video-amdgpu-fix-gcc-10.patch b/packages/x11/driver/xf86-video-amdgpu/patches/xf86-video-amdgpu-fix-gcc-10.patch deleted file mode 100644 index 3e12b5aa93..0000000000 --- a/packages/x11/driver/xf86-video-amdgpu/patches/xf86-video-amdgpu-fix-gcc-10.patch +++ /dev/null @@ -1,25 +0,0 @@ -From 1dddab35e61b9100b2cbcd3098596946c1c50b7a Mon Sep 17 00:00:00 2001 -From: MilhouseVH -Date: Sun, 21 Jun 2020 10:40:52 +0100 -Subject: [PATCH] Fix link failure with gcc 10 - ---- - src/drmmode_display.h | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/src/drmmode_display.h b/src/drmmode_display.h -index 803ac3c..9c0f25a 100644 ---- a/src/drmmode_display.h -+++ b/src/drmmode_display.h -@@ -289,7 +289,7 @@ Bool drmmode_wait_vblank(xf86CrtcPtr crtc, drmVBlankSeqType type, - uint64_t *ust, uint32_t *result_seq); - - --miPointerSpriteFuncRec drmmode_sprite_funcs; -+extern miPointerSpriteFuncRec drmmode_sprite_funcs; - - - #endif --- -2.20.1 -