From nobody Tue Aug 01 00:48:09 2023 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4RFH7J4Q8vz4pdh4; Tue, 1 Aug 2023 01:08:48 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4RFGgG3Y5xz410p; Tue, 1 Aug 2023 00:48:10 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1690850890; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=P39v80ALtK1skfC7Y10bHg/B2UsHc0zwzpTpPD2bpp8=; b=hewg8HmSlnOHBdSHkFa6mbGELykLTTgAqCeZWgbNeFo34uM3naUXc6pOVYOw4AMfIoAmyl KL/k28MAttPZsO/H5hIG4wL0NsycQy/d7KSFsXJF/yfW+wr9H5X83uQTxRloNd5Ki/92cj 81SX6o2/Xc1EN5RifvL3miTk6mtZ5XWiPzMO1SVjJ4/nZ4Nyy06NO+UoK4jseQir1PmSN9 0zFzd2WUKVS3dN7rvyjhWMmfw4v/5yqQOt0aTC69T9vJ3Qs4XpHGo93NcAs4vHO+DX6UyV Kwe9pfjx7+2WXuJILCxg6k+XOx6P7upzsBiJEq1Xlq+A+U2IM5pbM8+rOGV9Nw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1690850890; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=P39v80ALtK1skfC7Y10bHg/B2UsHc0zwzpTpPD2bpp8=; b=QC9vnc69lzch5nXRSiq3iy5nSD67+q7K8tmy1HfObYJH6Yy946A2sZjbpFYMF6pHRrsooi wc7RyVHyX2cueljgu9S2bMxFrVD2NKe7V/y1QteweQULeFk4p+0cq+2hPUY+VSTmxadyLj n2nkMdL59j9xnrYciZ/AcrXrW+NOXqDwaVlg9s4Gd1NMwcKGZhDQTn3Wczz0nzfYsJBPIO pN26nnj7NkVb3Otp4TJub7ZRRXyqScPusaRGZw3azPsaspTgN84TLpRHVwmpQWlunK/43z uNEcNr3V+manEe7rED6G+VtGY7WbSy/jF24ThTD/NDiw9jjCG2FNBy9PGyDjdA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1690850890; a=rsa-sha256; cv=none; b=TlRwHKarmg2srnv36QCBS8pBpfYCKFPZBcy72YV/9xNH5gezu93cgcvRn9wXRvGHXgC35i w58Cy18KaZ1a5HH3zdRUAZcedwy5I7obCqx5wEJ85FzdvM1DvHKN9DFCjmLM/tL5cLvlgH ivx8HSPARu61U8NQNgpo96Q1lINSz2qBlcOUntuEZuL9eu3h+pAQwLO8lC4SHidmM3B2iY abGDApNPhgEr1qONZ0bqB9q1ut41hl/Z7VRimmK6p8s3WOlhfSBkQTVrD4T45Uc++oyCJ5 +ZH/X/HJ8vFuF5AzQKtp3mIA8AanwgvKJqYDzsuWyGO5oB0GOpAxy0elZcnEYw== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4RFGgG1F2VzHV8; Tue, 1 Aug 2023 00:48:10 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 3710m9KT090548; Tue, 1 Aug 2023 00:48:09 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 3710m9v7090547; Tue, 1 Aug 2023 00:48:09 GMT (envelope-from git) Date: Tue, 1 Aug 2023 00:48:09 GMT Message-Id: <202308010048.3710m9v7090547@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Jan Beich Subject: git: f6493e8ca127 - main - graphics/mesa-devel: update to 23.2.0.b.806 List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: jbeich X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: f6493e8ca12705b1f9a3cacd11aeb5734a8f5994 Auto-Submitted: auto-generated The branch main has been updated by jbeich: URL: https://cgit.FreeBSD.org/ports/commit/?id=f6493e8ca12705b1f9a3cacd11aeb5734a8f5994 commit f6493e8ca12705b1f9a3cacd11aeb5734a8f5994 Author: Jan Beich AuthorDate: 2023-07-31 18:56:34 +0000 Commit: Jan Beich CommitDate: 2023-08-01 00:47:26 +0000 graphics/mesa-devel: update to 23.2.0.b.806 Changes: https://gitlab.freedesktop.org/mesa/mesa/-/compare/5df97c27dc8...c9b2f83a2fb --- graphics/mesa-devel/Makefile | 4 ++-- graphics/mesa-devel/distinfo | 6 +++--- graphics/mesa-devel/files/patch-userptr | 18 +++++++++--------- 3 files changed, 14 insertions(+), 14 deletions(-) diff --git a/graphics/mesa-devel/Makefile b/graphics/mesa-devel/Makefile index c89279c4c825..d7e04315a330 100644 --- a/graphics/mesa-devel/Makefile +++ b/graphics/mesa-devel/Makefile @@ -1,6 +1,6 @@ PORTNAME= mesa -DISTVERSION= 23.2.0-branchpoint-786 -DISTVERSIONSUFFIX= -g5df97c27dc8 +DISTVERSION= 23.2.0-branchpoint-806 +DISTVERSIONSUFFIX= -gc9b2f83a2fb CATEGORIES= graphics PKGNAMESUFFIX= -devel diff --git a/graphics/mesa-devel/distinfo b/graphics/mesa-devel/distinfo index 845583f8820a..6ac733b2bdd3 100644 --- a/graphics/mesa-devel/distinfo +++ b/graphics/mesa-devel/distinfo @@ -1,6 +1,6 @@ -TIMESTAMP = 1690584899 -SHA256 (mesa3d-mesa-23.2.0-branchpoint-786-g5df97c27dc8_GH0.tar.gz) = 2e6fec583145ceaa93f575fab1e4b6069ec4a2f3f51ec8f5c027c1e3213cf35e -SIZE (mesa3d-mesa-23.2.0-branchpoint-786-g5df97c27dc8_GH0.tar.gz) = 29591653 +TIMESTAMP = 1690829794 +SHA256 (mesa3d-mesa-23.2.0-branchpoint-806-gc9b2f83a2fb_GH0.tar.gz) = 0375e48dcdee65400acee9e313d2d5077e0c44fa1b2c0475d5663a50d0fe84a0 +SIZE (mesa3d-mesa-23.2.0-branchpoint-806-gc9b2f83a2fb_GH0.tar.gz) = 29595092 SHA256 (700efacda59c.patch) = 0d567fe737ad1404e1f12d7cd018826d9095c23835f1ed5aaa1c81cb58d3d008 SIZE (700efacda59c.patch) = 983 SHA256 (3043f16d66bf.patch) = 7afdba18fc3041dc6e30bdb1409f5214e451e7e5ceaa3b21991d6b2f793d9c85 diff --git a/graphics/mesa-devel/files/patch-userptr b/graphics/mesa-devel/files/patch-userptr index eb4193ce8674..7c94dba02122 100644 --- a/graphics/mesa-devel/files/patch-userptr +++ b/graphics/mesa-devel/files/patch-userptr @@ -26,17 +26,17 @@ https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13162 bo->gem_handle = arg.handle; /* Check the buffer for validity before we try and use it in a batch */ ---- src/gallium/drivers/iris/iris_bufmgr.c.orig 2023-07-19 23:28:31 UTC -+++ src/gallium/drivers/iris/iris_bufmgr.c -@@ -1314,8 +1314,20 @@ iris_bo_create_userptr(struct iris_bufmgr *bufmgr, con +--- src/gallium/drivers/iris/i915/iris_kmd_backend.c.orig 2023-07-31 18:56:34 UTC ++++ src/gallium/drivers/iris/i915/iris_kmd_backend.c +@@ -430,8 +430,20 @@ i915_gem_create_userptr(struct iris_bufmgr *bufmgr, vo .user_size = size, - .flags = bufmgr->devinfo.has_userptr_probe ? I915_USERPTR_PROBE : 0, + .flags = devinfo->has_userptr_probe ? I915_USERPTR_PROBE : 0, }; -- if (intel_ioctl(bufmgr->fd, DRM_IOCTL_I915_GEM_USERPTR, &arg)) +- if (intel_ioctl(iris_bufmgr_get_fd(bufmgr), DRM_IOCTL_I915_GEM_USERPTR, &arg)) + + int ret; +retry: -+ ret = intel_ioctl(bufmgr->fd, DRM_IOCTL_I915_GEM_USERPTR, &arg); ++ ret = intel_ioctl(iris_bufmgr_get_fd(bufmgr), DRM_IOCTL_I915_GEM_USERPTR, &arg); + if (ret) { + if (errno == ENODEV && arg.flags == 0) { + arg.flags = I915_USERPTR_UNSYNCHRONIZED; @@ -45,11 +45,11 @@ https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13162 + if (geteuid() != 0) { + fprintf(stderr, "%s", "ioctl(I915_GEM_USERPTR) failed. Try running as root but expect poor stability.\n"); + } - goto err_free; + return 0; + } - bo->gem_handle = arg.handle; - if (!bufmgr->devinfo.has_userptr_probe) { + if (!devinfo->has_userptr_probe) { + /* Check the buffer for validity before we try and use it in a batch */ --- src/intel/vulkan_hasvk/anv_gem.c.orig 2023-07-19 23:28:31 UTC +++ src/intel/vulkan_hasvk/anv_gem.c @@ -150,9 +150,19 @@ anv_gem_userptr(struct anv_device *device, void *mem,