diff --git a/packages/x11/driver/xf86-video-amdgpu/package.mk b/packages/x11/driver/xf86-video-amdgpu/package.mk index 1716046e1d..b8cda8908c 100644 --- a/packages/x11/driver/xf86-video-amdgpu/package.mk +++ b/packages/x11/driver/xf86-video-amdgpu/package.mk @@ -1,9 +1,10 @@ # SPDX-License-Identifier: GPL-2.0-or-later # Copyright (C) 2009-2016 Stephan Raue (stephan@openelec.tv) +# Copyright (C) 2019-present Team LibreELEC (https://libreelec.tv) PKG_NAME="xf86-video-amdgpu" -PKG_VERSION="18.1.0" -PKG_SHA256="e11f25bb51d718b8ea938ad2b8095323c0ab16f4ddffd92091d80f9a445a9672" +PKG_VERSION="19.0.1" +PKG_SHA256="aaa197196aadcb12e93e10a2aa03c9aedc9ba7b27c2643a8ef620d41e2d1c6d5" PKG_ARCH="x86_64" PKG_LICENSE="OSS" PKG_SITE="http://www.x.org/" diff --git a/packages/x11/driver/xf86-video-amdgpu/patches/xf86-video-amdgpu-01-screen_resize.patch b/packages/x11/driver/xf86-video-amdgpu/patches/xf86-video-amdgpu-01-screen_resize.patch deleted file mode 100644 index b8b3f66a9f..0000000000 --- a/packages/x11/driver/xf86-video-amdgpu/patches/xf86-video-amdgpu-01-screen_resize.patch +++ /dev/null @@ -1,33 +0,0 @@ -From aa572683d86174be2bfc09d4e173ae2a9907d40e Mon Sep 17 00:00:00 2001 -From: =?UTF-8?q?Michel=20D=C3=A4nzer?= -Date: Wed, 10 Oct 2018 17:28:35 +0200 -Subject: Fix condition for calling set_pixmap_bo in drmmode_xf86crtc_resize - -This matches CreateScreenResources_KMS. - -Fixes crash when resizing the screen (e.g. using xrandr) with depth < -24. - -Bugzilla: https://bugs.freedesktop.org/104914 -Acked-by: Alex Deucher ---- - src/drmmode_display.c | 3 +-- - 1 file changed, 1 insertion(+), 2 deletions(-) - -diff --git a/src/drmmode_display.c b/src/drmmode_display.c -index 5315747..9065e0f 100644 ---- a/src/drmmode_display.c -+++ b/src/drmmode_display.c -@@ -2881,8 +2881,7 @@ static Bool drmmode_xf86crtc_resize(ScrnInfoPtr scrn, int width, int height) - if (!amdgpu_glamor_create_screen_resources(scrn->pScreen)) - goto fail; - -- if (info->use_glamor || -- (info->front_buffer->flags & AMDGPU_BO_FLAGS_GBM)) { -+ if (info->use_glamor || info->dri2.enabled) { - if (!amdgpu_set_pixmap_bo(ppix, info->front_buffer)) - goto fail; - } --- -cgit v1.1 -