head 1.9; access; symbols pkgsrc-2018Q3:1.8.0.28 pkgsrc-2018Q3-base:1.8 pkgsrc-2018Q2:1.8.0.26 pkgsrc-2018Q2-base:1.8 pkgsrc-2018Q1:1.8.0.24 pkgsrc-2018Q1-base:1.8 pkgsrc-2017Q4:1.8.0.22 pkgsrc-2017Q4-base:1.8 pkgsrc-2017Q3:1.8.0.20 pkgsrc-2017Q3-base:1.8 pkgsrc-2017Q2:1.8.0.16 pkgsrc-2017Q2-base:1.8 pkgsrc-2017Q1:1.8.0.14 pkgsrc-2017Q1-base:1.8 pkgsrc-2016Q4:1.8.0.12 pkgsrc-2016Q4-base:1.8 pkgsrc-2016Q3:1.8.0.10 pkgsrc-2016Q3-base:1.8 pkgsrc-2016Q2:1.8.0.8 pkgsrc-2016Q2-base:1.8 pkgsrc-2016Q1:1.8.0.6 pkgsrc-2016Q1-base:1.8 pkgsrc-2015Q4:1.8.0.4 pkgsrc-2015Q4-base:1.8 pkgsrc-2015Q3:1.8.0.2 pkgsrc-2015Q3-base:1.8 pkgsrc-2015Q2:1.7.0.4 pkgsrc-2015Q2-base:1.7 pkgsrc-2015Q1:1.7.0.2 pkgsrc-2015Q1-base:1.7 pkgsrc-2014Q4:1.6.0.2 pkgsrc-2014Q4-base:1.6 pkgsrc-2014Q3:1.5.0.36 pkgsrc-2014Q3-base:1.5 pkgsrc-2014Q2:1.5.0.34 pkgsrc-2014Q2-base:1.5 pkgsrc-2014Q1:1.5.0.32 pkgsrc-2014Q1-base:1.5 pkgsrc-2013Q4:1.5.0.30 pkgsrc-2013Q4-base:1.5 pkgsrc-2013Q3:1.5.0.28 pkgsrc-2013Q3-base:1.5 pkgsrc-2013Q2:1.5.0.26 pkgsrc-2013Q2-base:1.5 pkgsrc-2013Q1:1.5.0.24 pkgsrc-2013Q1-base:1.5 pkgsrc-2012Q4:1.5.0.22 pkgsrc-2012Q4-base:1.5 pkgsrc-2012Q3:1.5.0.20 pkgsrc-2012Q3-base:1.5 pkgsrc-2012Q2:1.5.0.18 pkgsrc-2012Q2-base:1.5 pkgsrc-2012Q1:1.5.0.16 pkgsrc-2012Q1-base:1.5 pkgsrc-2011Q4:1.5.0.14 pkgsrc-2011Q4-base:1.5 pkgsrc-2011Q3:1.5.0.12 pkgsrc-2011Q3-base:1.5 pkgsrc-2011Q2:1.5.0.10 pkgsrc-2011Q2-base:1.5 pkgsrc-2011Q1:1.5.0.8 pkgsrc-2011Q1-base:1.5 pkgsrc-2010Q4:1.5.0.6 pkgsrc-2010Q4-base:1.5 pkgsrc-2010Q3:1.5.0.4 pkgsrc-2010Q3-base:1.5 pkgsrc-2010Q2:1.5.0.2 pkgsrc-2010Q2-base:1.5 pkgsrc-2010Q1:1.4.0.16 pkgsrc-2010Q1-base:1.4 pkgsrc-2009Q4:1.4.0.14 pkgsrc-2009Q4-base:1.4 pkgsrc-2009Q3:1.4.0.12 pkgsrc-2009Q3-base:1.4 pkgsrc-2009Q2:1.4.0.10 pkgsrc-2009Q2-base:1.4 pkgsrc-2009Q1:1.4.0.8 pkgsrc-2009Q1-base:1.4 pkgsrc-2008Q4:1.4.0.6 pkgsrc-2008Q4-base:1.4 pkgsrc-2008Q3:1.4.0.4 pkgsrc-2008Q3-base:1.4 cube-native-xorg:1.4.0.2 cube-native-xorg-base:1.4 pkgsrc-2008Q2:1.3.0.4 pkgsrc-2008Q2-base:1.3 cwrapper:1.3.0.2 pkgsrc-2008Q1:1.1.0.10 pkgsrc-2008Q1-base:1.1 pkgsrc-2007Q4:1.1.0.8 pkgsrc-2007Q4-base:1.1 pkgsrc-2007Q3:1.1.0.6 pkgsrc-2007Q3-base:1.1 pkgsrc-2007Q2:1.1.0.4 pkgsrc-2007Q2-base:1.1 pkgsrc-2007Q1:1.1.0.2 pkgsrc-2007Q1-base:1.1; locks; strict; comment @# @; 1.9 date 2018.10.05.12.57.20; author wiz; state dead; branches; next 1.8; commitid DArUYCYTBpQ1RLUA; 1.8 date 2015.08.14.17.12.35; author wiz; state Exp; branches; next 1.7; commitid F7Mn6Gazlq6wagxy; 1.7 date 2015.01.03.10.01.40; author wiz; state Exp; branches; next 1.6; commitid WIsfPDEuir6PWy4y; 1.6 date 2014.10.26.10.20.10; author wiz; state Exp; branches; next 1.5; commitid 9EmIqNHPl6wHgHVx; 1.5 date 2010.04.16.13.43.36; author tnn; state Exp; branches; next 1.4; 1.4 date 2008.07.16.06.41.17; author bjs; state Exp; branches; next 1.3; 1.3 date 2008.06.03.10.47.04; author wiz; state Exp; branches; next 1.2; 1.2 date 2008.05.30.14.29.19; author tnn; state Exp; branches; next 1.1; 1.1 date 2007.03.23.16.28.30; author drochner; state Exp; branches; next ; desc @@ 1.9 log @libdrm: update to 2.4.95. Merge two patches for the same file. Changes: This release adds a fallback for realpath() which was blocked by the web-browser sand-boxing. While the browsers are fixed-up they seem to have little incentive to roll bugfix releases :-\ Ayan Kumar Halder (1): libdrm: headers: Sync with drm-next Christian König (4): tests/amdgpu: add unaligned VM test amdgpu: remove invalid check in amdgpu_bo_alloc test/amdgpu: add proper error handling v2 test/amdgpu: add GDS, GWS and OA tests Daniel Stone (1): CI: Capture test logs as GitLab artifacts Daniel Vetter (1): Add basic CONTRIBUTING file Emil Velikov (9): xf86drm: fallback to normal path when realpath fails intel: annotate the intel genx helpers as private automake: set NM before running the tests *-symbols-check: error out when using unset variables gitlab-ci: pass the correct toggles to configure Bump to version 2.4.95 Revert "Bump to version 2.4.95" intel: include i915_pciids.h in the tarball Bump to version 2.4.95 Eric Engestrom (10): add gitlab-ci builds of libdrm xf86drm: merge get_normal_pci_path() into get_real_pci_path() xf86drm: rename "real_path" to "pci_path" gitlab-ci: use templates to deduplicate the build commands headers/README: fix/add link to drm-next intel: add missing drm_public exports nouveau: add missing drm_public exports radeon: add missing drm_public exports omap: fix symbol annotations freedreno: add missing drm_public Ezequiel Garcia (1): tests/util: Add support for sun4i-drm driver Junwei Zhang (1): amdgpu: add error return value for finding bo by cpu mapping (v2) Lucas De Marchi (19): intel: add generic functions to check PCI ID intel: make gen11 use generic gen macro intel: make gen10 use generic gen macro intel: make gen9 use generic gen macro intel: get gen once for gen >= 9 intel: annotate public functions libkms: annotate public functions nouveau: annotate public functions amdgpu: annotate public functions libdrm: annotate public functions etnaviv: annotate public functions freedreno: annotate public functions omap: annotate public functions radeon: annotate public functions tegra: annotate public functions exynos: annotate public functions meson: make symbols hidden by default autotools: make symbols hidden by default android: make symbols hidden by default Michel Dänzer (1): amdgpu-symbol-check: Add amdgpu_find_bo_by_cpu_mapping Qiang Yu (2): amdgpu: add amdgpu_bo_inc_ref() function. amdgpu: amdgpu_bo_inc_ref don't return dummy int Rob Clark (2): freedreno: fix spelling typo freedreno: move ring_cache behind fd_bo_del() Stefan Agner (2): modeprint: use libutil to lookup strings modeprint: print encoder type Tom Anderson (1): Fix build with -std=c11 @ text @$NetBSD: patch-ab,v 1.8 2015/08/14 17:12:35 wiz Exp $ --- xf86drm.c.orig 2015-08-13 22:27:03.000000000 +0000 +++ xf86drm.c @@@@ -79,7 +79,7 @@@@ #endif #ifdef __NetBSD__ -#define DRM_MAJOR 34 +#define DRM_MAJOR 180 #endif #ifdef __OpenBSD__ @ 1.8 log @Update to 2.4.63: Libdrm 2.4.63 has been released. It contains the new libdrm_amdgpu library. Alan Coopersmith (1): include & directly for major() and minor() Alex Deucher (10): drm: consolidate common list implementations (v2) drm: add util_math.h drm: add libdrm_amdgpu (v7) drm: add tests/amdgpu (v3) amdgpu: update to the latest kernel header fix configuration when amdgpu is disabled fix amdgpu cunit configure test harder move up cunit workaround for ubuntu/debian add a note about which version of cunit is fixed for debian/ubuntu radeon: add new OLAND pci id Alexandr Akulich (1): libdrm/amdgpu: Fixed drm.h include. Anuj Phogat (2): i965/gen9: Pass alignment as function parameter in drm_intel_gem_bo_alloc_internal() Set alignment value in drm_intel_add_validate_buffer() Chris Wilson (1): drm: Detect no-op drmModeAtomicRequest and return early Christian König (16): amdgpu: cleanup public interface v2 amdgpu: add public bo list interface v3 amdgpu: compare the primary device names instead amdgpu: remove bo_vas hash table v2 amdgpu: add helper for VM mapping v2 amdgpu: stop checking flag masks amdgpu: explicitly unmap GPU mapping on BO destruction amdgpu: remove flink export workaround v2 amdgpu: cleanup VA IOCTL handling amdgpu: remove pointer arithmetic from command submission amdgpu: add CS dependencies v2 gitignore: add some generated amdgpu files amdgpu: cleanup public interface style amdgpu: remove reference to AMD specific error codes amdgpu: use common fence structure for dependencies as well. amdgpu: fix bs buffer size for vce test Emil Velikov (15): configure: default --enable-valgrind to auto freedreno: zero is a valid fd number, treat it as such omap: zero is a valid fd number, treat it as such xf86drm: fix incorrect fd comparison in drmOpenOnce{,WithType} Consistently check the fd value man: remove .man_fixup workaround Force enable amdgpu for the dist build/check. amdgpu/util_hash: hide private symbols from global namespace amdgpu/util_hash_table: hide private symbols from global namespace amdgpu: add a bunch of missing config.h includes amdgpu: cosmetic chances in license boilerplate amdgpu: squash trivial documentation typo amdgpu/amdgpu_vamgr: hide private symbols from global namespace amdgpu: hide the final internal functions from global namespace amdgpu: add symbols check test Jack Xiao (2): amdgpu: fix round down/up page size error amdgpu: add zero timeout check in amdgpu_cs_query_fence_status Jammy Zhou (24): amdgpu: remove active_rb_pipes from amdgpu_gpu_info amdgpu: remove AMDGPU_GEM_CREATE_CPU_GTT_UC amdgpu: fix 32-on-64 support (v2) amdgpu: add ctx_id for wait_cs amdgpu: reuse the kernel IB flags v2 amdgpu: validate the upper limit of virtual address v2 amdgpu: fix the number of IB size enums amdgpu: remove unused AMDGPU_IB_RESOURCE_PRIORITY amdgpu: replace alloca with calloc v2 amdgpu: add amdgpu_bo_list_update interface v2 amdgpu: add IB sharing support v2 tests/amdgpu: add shared IB submission test v2 amdgpu: get rid of IB pool management v3 tests/amdgpu: manage IB in client side amdgpu: add amdgpu_query_gds_info amdgpu: cleanup gds specific alloc/free functions amdgpu: merge amdgpu_drm.h from kernel amdgpu: do NULL check for bo handle in amdgpu_bo_query_info amdgpu: improve the amdgpu_cs_query_fence_status interface drm: fix the ALIGN macro to avoid value clamp tests/amdgpu: remove the duplicate IB allocation for VCE test amdgpu: add flags parameter for amdgpu_va_range_alloc amdgpu: add amdgpu_bo_va_op for va map/unmap support v3 amdgpu: expose the PCI revision ID Jonathan Gray (3): xf86drmMode: Implement drmCheckModesettingSupported() for OpenBSD xf86drm: correct the OpenBSD DRM_MAJOR define xf86drm: use the correct device minor names on OpenBSD Joonyoung Shim (1): Build vbltest irrespective of the presence of libudev. Julien Cristau (1): Fix headers inclusion in xf86drmMode.c Ken Wang (8): amdgpu: make vamgr global amdgpu: add max_memory_clock for interface query amdgpu: add vram_type and vram_bit_width for interface query amdgpu: add ce_ram_size for interface query amdgpu: add ib_start_alignment and ib_size_alignment for interface query amdgpu: add base_preferred parameter to amdgpu_vamgr_find_va amdgpu : move management of user fence from libdrm to UMD test/amdgpu : fix a bug in VCE/UVD test introduced by previous change Kristian Høgsberg Kristensen (1): intel: Drop aub dumping functionality Leo Liu (2): tests/amdgpu: implement VCE unit tests amdgpu: add VCE harvesting instance query Marek Olšák (15): amdgpu: implement amdgpu_cs_query_reset_state amdgpu: fix a valgrind warning amdgpu: add new AMDGPU_TILING flags amdgpu: rename GEM_OP_SET_INITIAL_DOMAIN -> GEM_OP_SET_PLACEMENT amdgpu: don't use amdgpu_cs_create_ib for allocation of the fence BO amdgpu: remove amdgpu_ib amdgpu: remove amdgpu_ib helpers amdgpu: remove bo_handle from amdgpu_cs_ib_info, IBs should be in buffer list amdgpu: allow exporting KMS handles with render nodes amdgpu: use alloca and malloc in critical codepaths (v2) amdgpu: fix valgrind warnings amdgpu: fix double mutex_unlock in amdgpu_bo_import drm/amdgpu: allow passing absolute timeouts to amdgpu_cs_query_fence_status amdgpu: check the user fence only if the IP supports user fences Bump version for release Mario Kleiner (1): libdrm/amdgpu: Use private fd for amdgpu_device and winsys hash table to fix ZaphodHeads. (v2) Michel Dänzer (4): amdgpu: Use drmIoctl in amdgpu_ioctl_wait_cs amdgpu/tests: Use buf_handle in amdgpu_bo_alloc_and_map() error paths amdgpu/tests: Cast CPU map argument of amdgpu_bo_alloc_and_map to void** amdgpu: Remove unused local variables bo_size/offset from amdgpu_cs_submit Sabre Shao (2): amdgpu: add va allocation intefaces amdgpu: add va range query interface Tapani Pälli (3): remove usage of 'c_plusplus' preprocessor macro intel: wrap intel_bufmgr.h C code for C++ compilation/linking modeprint: cleanup, remove compile warnings monk.liu (7): amdgpu: support non-page-aligned userptr amdgpu: add missing mutex lock/unlock pair amdgpu: fix an error of bo_list handler amdgpu: do not call BO_LIST ioctl when no resource referred amdgpu: fix segfault when resources are NULL amdgpu: fix code alignment amdgpu: fix vamgr_free_va logic @ text @d1 1 a1 1 $NetBSD: patch-ab,v 1.7 2015/01/03 10:01:40 wiz Exp $ @ 1.7 log @Remove code for DRM_IOCTL_MMAP hack. Never needed on NetBSD-5 and -6; and chuq improved mmap in NetBSD-7 and -current, so it's not needed there any longer either. Confirmed by mrg. Bump PKGREVISION. @ text @d1 1 a1 1 $NetBSD: patch-ab,v 1.6 2014/10/26 10:20:10 wiz Exp $ d3 1 a3 1 --- xf86drm.c.orig 2014-09-28 16:19:54.000000000 +0000 d5 1 a5 1 @@@@ -64,7 +64,7 @@@@ d13 1 a13 1 # ifdef __OpenBSD__ @ 1.6 log @Merge all xsrc patches for better KMS support on NetBSD, requested and tested by chs. Bump PKGREVISION. @ text @d1 1 a1 1 $NetBSD: patch-ab,v 1.5 2010/04/16 13:43:36 tnn Exp $ a13 30 @@@@ -1128,6 +1128,9 @@@@ int drmClose(int fd) int drmMap(int fd, drm_handle_t handle, drmSize size, drmAddressPtr address) { static unsigned long pagesize_mask = 0; +#ifdef DRM_IOCTL_MMAP + struct drm_mmap mmap_req = {0}; +#endif if (fd < 0) return -EINVAL; @@@@ -1137,7 +1140,18 @@@@ int drmMap(int fd, drm_handle_t handle, size = (size + pagesize_mask) & ~pagesize_mask; - *address = drm_mmap(0, size, PROT_READ|PROT_WRITE, MAP_SHARED, fd, handle); +#ifdef DRM_IOCTL_MMAP + mmap_req.dnm_addr = NULL; + mmap_req.dnm_size = size; + mmap_req.dnm_prot = (PROT_READ | PROT_WRITE); + mmap_req.dnm_flags = MAP_SHARED; + mmap_req.dnm_offset = handle; + if (drmIoctl(fd, DRM_IOCTL_MMAP, &mmap_req) == 0) { + *address = mmap_req.dnm_addr; + return 0; + } +#endif + *address = drm_mmap(0, size, PROT_READ|PROT_WRITE, MAP_SHARED, fd, handle); if (*address == MAP_FAILED) return -errno; return 0; @ 1.5 log @Update to libdrm-2.4.20. Many changes since 2.4.13, I won't pretend to understand them all. This update is a prerequisite for eventually moving forward with MesaLib and xorg-server updates. @ text @d1 1 a1 1 $NetBSD$ d3 1 a3 1 --- xf86drm.c.orig 2010-03-05 23:21:13.000000000 +0000 d14 30 @ 1.4 log @ Update to libdrm-2.3.1. There is no up-to-date ChangeLog in the package whatsoever, so I cannot include a list here (see GIT history if you're curious). NOTE: This version of libdrm no longer includes the TTM interface. If any [xorg/mesa] packages are updated to versions explicitly requiring libdrm-2.3.1, then BUILDLINK_API_DEPENDS for this package will need to be changed. Also, the i915tex dri driver found in graphics/MesaLib will not build with this version--but nor was it supported on any platform except Linux. I have remove i915tex from the MesaLib driver build; this should be enough to avoid problems. @ text @d1 1 a1 1 $NetBSD: patch-ab,v 1.3 2008/06/03 10:47:04 wiz Exp $ d3 3 a5 3 --- libdrm/xf86drm.c.orig 2008-07-01 03:51:40.000000000 -0400 +++ libdrm/xf86drm.c @@@@ -62,7 +62,7 @@@@ @ 1.3 log @Add RCS Id to patch-ab. @ text @d1 1 a1 1 $NetBSD$ d3 3 a5 9 --- ./libdrm/xf86drm.c.orig 2006-11-08 23:54:38 +0200 +++ ./libdrm/xf86drm.c 2008-02-14 10:14:55 +0200 @@@@ -62,12 +62,12 @@@@ #include "xf86drm.h" -#if defined(__FreeBSD__) || defined(__FreeBSD_kernel__) +#if defined(__FreeBSD__) || defined(__FreeBSD_kernel__) || defined(__DragonFly__) #define DRM_MAJOR 145 @ 1.2 log @PR pkg/38796: Hasso Tepper: Use correct DRM major# for DragonFly Bump PKGREVISION. @ text @d1 2 @ 1.1 log @use major number 180 for drm on NetBSD, bump PKGREVISION @ text @d1 9 a9 5 $NetBSD$ --- ./libdrm/xf86drm.c.orig 2007-03-19 23:07:15.000000000 +0100 +++ ./libdrm/xf86drm.c @@@@ -67,7 +67,7 @@@@ @