Authentication-Results: name.execsw.org; dkim=pass (1024-bit key) header.d=netbsd.org header.i=@netbsd.org header.b=PN231QGK; dkim=fail reason="signature verification failed" (1024-bit key) header.d=netbsd.org header.i=@netbsd.org header.b=Hc2KI26K Received: by mail.netbsd.org (Postfix, from userid 605) id 7797284D26; Sun, 21 Apr 2024 03:02:53 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=netbsd.org; s=20240131; t=1713668573; bh=HFc3DPXo6doe9l3Gku9rPoUYobxgVKenqqUYXKvO3dQ=; h=Date:From:Subject:To:List-Id:Reply-To:List-Unsubscribe; b=PN231QGK+fvti4sMsA/vgYQabK/CBAjjFqfgRcagRIEo7yg6m9gb5Mfobck1gGSa7 j6PCcJ3RXQllqZr5x9SD9k7GCp3nnE6dSs4gigUQsk9nUALTTc57d/baGEoMILwqjw o8XB9HcpbrCobn2dq1LvvvDXVwrkYEYt7s9D+L2M= Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id 5415184D3A for ; Sun, 21 Apr 2024 03:02:52 +0000 (UTC) X-Virus-Scanned: amavisd-new at netbsd.org Authentication-Results: mail.netbsd.org (amavisd-new); dkim=pass (1024-bit key) header.d=netbsd.org Received: from mail.netbsd.org ([IPv6:::1]) by localhost (mail.netbsd.org [IPv6:::1]) (amavisd-new, port 10025) with ESMTP id fYUAF-cHH1f2 for ; Sun, 21 Apr 2024 03:02:51 +0000 (UTC) Received: from cvs.NetBSD.org (ivanova.netbsd.org [199.233.217.197]) by mail.netbsd.org (Postfix) with ESMTP id DB66E84CCC for ; Sun, 21 Apr 2024 03:02:51 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=netbsd.org; s=20240131; t=1713668571; bh=HFc3DPXo6doe9l3Gku9rPoUYobxgVKenqqUYXKvO3dQ=; h=Date:From:Subject:To:Reply-To; b=Hc2KI26KFZBxVQOg+ED8fP2G84xd9lPmXOzznKPSO7hu5ir7spdNWSbaU/Qnpl8qN OD0XdRE8h83WUNES3EDDVt6KViII5hKU7+wfLyqyEalIm+yHWLRm8NI+FTQqus9sbN tzCi1Fyfv6Pu15Bn0kh6gHeDY/In4UaP5fjMu1DE= Received: by cvs.NetBSD.org (Postfix, from userid 500) id D6A8CFA2C; Sun, 21 Apr 2024 03:02:51 +0000 (UTC) Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" MIME-Version: 1.0 Date: Sun, 21 Apr 2024 03:02:51 +0000 From: "Taylor R Campbell" Subject: CVS commit: src/sys/external/bsd/drm2/dist/drm To: source-changes@NetBSD.org X-Mailer: log_accum Message-Id: <20240421030251.D6A8CFA2C@cvs.NetBSD.org> Sender: source-changes-owner@NetBSD.org List-Id: Precedence: bulk Reply-To: source-changes-d@NetBSD.org Mail-Reply-To: "Taylor R Campbell" Mail-Followup-To: source-changes-d@NetBSD.org List-Unsubscribe: Module Name: src Committed By: riastradh Date: Sun Apr 21 03:02:51 UTC 2024 Modified Files: src/sys/external/bsd/drm2/dist/drm: drm_ioctl.c Log Message: drm: Allow DRM_IOCTL_GET_UNIQUE on render nodes. On NetBSD, libdrm uses this to discover what kind of bus the device is on, without which it refuses to expose the render node at all, rendering it useless. With this change, libdrm is able to use render nodes on NetBSD. Since this is just reading out information about the bus type and bus/dev/func numbers, I don't think it's problematic to expose to render nodes. This requires tweaking the access path to the master. PR kern/58180 To generate a diff of this commit: cvs rdiff -u -r1.24 -r1.25 src/sys/external/bsd/drm2/dist/drm/drm_ioctl.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.