Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F157534319
D35269.id106721.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
4 KB
Referenced Files
None
Subscribers
None
D35269.id106721.diff
View Options
Index: x11-drivers/xf86-video-amdgpu/Makefile
===================================================================
--- x11-drivers/xf86-video-amdgpu/Makefile
+++ x11-drivers/xf86-video-amdgpu/Makefile
@@ -1,22 +1,22 @@
# this port is for future amdgpu kernel support testing.
PORTNAME= xf86-video-amdgpu
-PORTVERSION= 19.1.0
-PORTREVISION= 2
+PORTVERSION= 22.0.0
CATEGORIES= x11-drivers
+PATCH_SITES= https://gitlab.freedesktop.org/xorg/driver/${PORTNAME}/-/commit/
+PATCHFILES+= 77b13493.patch:-p1 # https://gitlab.freedesktop.org/xorg/driver/xf86-video-amdgpu/-/merge_requests/77
+
MAINTAINER= x11@FreeBSD.org
COMMENT= X.Org amdgpu display driver
-PATCH_SITES= https://gitlab.freedesktop.org/xorg/driver/${PORTNAME}/-/commit/
-PATCHFILES+= edcbe5f52ddfceee3d66d69bbcebbceac06b6d0d.patch:-p1
-
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/COPYING
LIB_DEPENDS= libdrm_amdgpu.so:graphics/libdrm
-USES= gl xorg-cat:driver
+USES= gl xorg-cat:driver tar:xz
+EXTRACT_SUFX= .tar.xz
USE_GL= gbm
# No amdgpu kernel driver on non-x86 and PC98.
ONLY_FOR_ARCHS= aarch64 i386 amd64 powerpc64le
Index: x11-drivers/xf86-video-amdgpu/distinfo
===================================================================
--- x11-drivers/xf86-video-amdgpu/distinfo
+++ x11-drivers/xf86-video-amdgpu/distinfo
@@ -1,5 +1,5 @@
-TIMESTAMP = 1597786182
-SHA256 (xorg/driver/xf86-video-amdgpu-19.1.0.tar.bz2) = 4f0ea4e0ae61995ac2b7c72433d31deab63b60c78763020aaa1b28696124fe5d
-SIZE (xorg/driver/xf86-video-amdgpu-19.1.0.tar.bz2) = 441746
-SHA256 (xorg/driver/edcbe5f52ddfceee3d66d69bbcebbceac06b6d0d.patch) = 6a0c855a3c6d1a747055ee5c616c2a155b0e798485b3de4028ccfef420835084
-SIZE (xorg/driver/edcbe5f52ddfceee3d66d69bbcebbceac06b6d0d.patch) = 848
+TIMESTAMP = 1654594086
+SHA256 (xorg/driver/xf86-video-amdgpu-22.0.0.tar.xz) = 9d23fb602915dc3ccde92aa4d1e9485e7e54eaae2f41f485e55eb20761778266
+SIZE (xorg/driver/xf86-video-amdgpu-22.0.0.tar.xz) = 376956
+SHA256 (xorg/driver/77b13493.patch) = 1e76bb36f7fd69e0556ae6b5a7d2331a711367b6a7421adc221f2fcae1aff82b
+SIZE (xorg/driver/77b13493.patch) = 1269
Index: x11-drivers/xf86-video-amdgpu/files/patch-src_amdgpu__drm__queue.c
===================================================================
--- x11-drivers/xf86-video-amdgpu/files/patch-src_amdgpu__drm__queue.c
+++ /dev/null
@@ -1,47 +0,0 @@
---- src/amdgpu_drm_queue.c.orig 2016-09-20 08:19:15 UTC
-+++ src/amdgpu_drm_queue.c
-@@ -61,7 +61,7 @@ amdgpu_drm_queue_handler(int fd, unsigne
- unsigned int usec, void *user_ptr)
- {
- uintptr_t seq = (uintptr_t)user_ptr;
-- struct amdgpu_drm_queue_entry *e, *tmp;
-+ struct amdgpu_drm_queue_entry *e = NULL, *tmp;
-
- xorg_list_for_each_entry_safe(e, tmp, &amdgpu_drm_queue, list) {
- if (e->seq == seq) {
-@@ -133,7 +133,7 @@ amdgpu_drm_abort_one(struct amdgpu_drm_q
- void
- amdgpu_drm_abort_client(ClientPtr client)
- {
-- struct amdgpu_drm_queue_entry *e;
-+ struct amdgpu_drm_queue_entry *e = NULL;
-
- xorg_list_for_each_entry(e, &amdgpu_drm_queue, list) {
- if (e->client == client)
-@@ -147,7 +147,7 @@ amdgpu_drm_abort_client(ClientPtr client
- void
- amdgpu_drm_abort_entry(uintptr_t seq)
- {
-- struct amdgpu_drm_queue_entry *e, *tmp;
-+ struct amdgpu_drm_queue_entry *e = NULL, *tmp;
-
- xorg_list_for_each_entry_safe(e, tmp, &amdgpu_drm_queue, list) {
- if (e->seq == seq) {
-@@ -163,7 +163,7 @@ amdgpu_drm_abort_entry(uintptr_t seq)
- void
- amdgpu_drm_abort_id(uint64_t id)
- {
-- struct amdgpu_drm_queue_entry *e, *tmp;
-+ struct amdgpu_drm_queue_entry *e = NULL, *tmp;
-
- xorg_list_for_each_entry_safe(e, tmp, &amdgpu_drm_queue, list) {
- if (e->id == id) {
-@@ -191,7 +191,7 @@ amdgpu_drm_queue_init()
- void
- amdgpu_drm_queue_close(ScrnInfoPtr scrn)
- {
-- struct amdgpu_drm_queue_entry *e, *tmp;
-+ struct amdgpu_drm_queue_entry *e = NULL, *tmp;
-
- xorg_list_for_each_entry_safe(e, tmp, &amdgpu_drm_queue, list) {
- if (e->crtc->scrn == scrn)
Index: x11-drivers/xf86-video-amdgpu/files/patch-src_amdgpu__kms.c
===================================================================
--- x11-drivers/xf86-video-amdgpu/files/patch-src_amdgpu__kms.c
+++ /dev/null
@@ -1,11 +0,0 @@
---- src/amdgpu_kms.c.orig 2016-11-17 06:07:48 UTC
-+++ src/amdgpu_kms.c
-@@ -723,7 +723,7 @@ amdgpu_dirty_update(ScrnInfoPtr scrn)
- {
- AMDGPUInfoPtr info = AMDGPUPTR(scrn);
- ScreenPtr screen = scrn->pScreen;
-- PixmapDirtyUpdatePtr ent;
-+ PixmapDirtyUpdatePtr ent = NULL;
- RegionPtr region;
-
- xorg_list_for_each_entry(ent, &screen->pixmap_dirty_list, ent) {
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, May 23, 12:57 PM (10 h, 52 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
33446922
Default Alt Text
D35269.id106721.diff (4 KB)
Attached To
Mode
D35269: x11-drivers/xf86-video-amdgpu: Update to 22.0.0
Attached
Detach File
Event Timeline
Log In to Comment