Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 25 Jul 2021 16:17:08 GMT
From:      Jan Beich <jbeich@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 72ee2b3b1c39 - main - graphics/mesa-devel: drop libdrm < 2.4.107 workaround after 1c02555442ed
Message-ID:  <202107251617.16PGH8W5081494@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by jbeich:

URL: https://cgit.FreeBSD.org/ports/commit/?id=72ee2b3b1c393604e7e159ba43aeba44a13df5e7

commit 72ee2b3b1c393604e7e159ba43aeba44a13df5e7
Author:     Jan Beich <jbeich@FreeBSD.org>
AuthorDate: 2021-07-25 16:07:44 +0000
Commit:     Jan Beich <jbeich@FreeBSD.org>
CommitDate: 2021-07-25 16:17:03 +0000

    graphics/mesa-devel: drop libdrm < 2.4.107 workaround after 1c02555442ed
---
 graphics/mesa-devel/files/patch-libdrm-2.4.105 | 31 --------------------------
 1 file changed, 31 deletions(-)

diff --git a/graphics/mesa-devel/files/patch-libdrm-2.4.105 b/graphics/mesa-devel/files/patch-libdrm-2.4.105
deleted file mode 100644
index a07bacf70989..000000000000
--- a/graphics/mesa-devel/files/patch-libdrm-2.4.105
+++ /dev/null
@@ -1,31 +0,0 @@
-Drop after https://reviews.freebsd.org/D31003 lands
-
-meson.build:1521:4: ERROR: Invalid version of dependency, need 'libdrm_amdgpu' ['>=2.4.107'] found '2.4.106'.
-
-../src/amd/vulkan/winsys/amdgpu/radv_amdgpu_bo.c:427:64: error: use of undeclared identifier 'AMDGPU_VA_RANGE_REPLAYABLE'
-                             (flags & RADEON_FLAG_REPLAYABLE ? AMDGPU_VA_RANGE_REPLAYABLE : 0);
-                                                               ^
-
---- meson.build.orig	2021-04-14 06:35:30 UTC
-+++ meson.build
-@@ -1452,7 +1452,7 @@ dep_libdrm_radeon = null_dep
- dep_libdrm_nouveau = null_dep
- dep_libdrm_intel = null_dep
- 
--_drm_amdgpu_ver = '2.4.107'
-+_drm_amdgpu_ver = '2.4.105'
- _drm_radeon_ver = '2.4.71'
- _drm_nouveau_ver = '2.4.102'
- _drm_intel_ver = '2.4.75'
---- src/amd/vulkan/winsys/amdgpu/radv_amdgpu_bo.c.orig	2021-07-05 19:49:32 UTC
-+++ src/amd/vulkan/winsys/amdgpu/radv_amdgpu_bo.c
-@@ -424,6 +424,9 @@ radv_amdgpu_winsys_bo_create(struct radeon_winsys *_ws
- 
-    const uint64_t va_flags = AMDGPU_VA_RANGE_HIGH |
-                              (flags & RADEON_FLAG_32BIT ? AMDGPU_VA_RANGE_32_BIT : 0) |
-+#ifndef AMDGPU_VA_RANGE_REPLAYABLE
-+#define AMDGPU_VA_RANGE_REPLAYABLE     0x4
-+#endif
-                              (flags & RADEON_FLAG_REPLAYABLE ? AMDGPU_VA_RANGE_REPLAYABLE : 0);
-    r = amdgpu_va_range_alloc(ws->dev, amdgpu_gpu_va_range_general, size, virt_alignment, replay_address,
-                              &va, &va_handle, va_flags);



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202107251617.16PGH8W5081494>