--- - branch: MAIN date: Sun Apr 21 03:02:51 UTC 2024 files: - new: '1.25' old: '1.24' path: src/sys/external/bsd/drm2/dist/drm/drm_ioctl.c pathrev: src/sys/external/bsd/drm2/dist/drm/drm_ioctl.c@1.25 type: modified id: 20240421T030251Z.07ac230839e5c040e91d9a0efa153558e20c9e62 log: | 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 module: src subject: 'CVS commit: src/sys/external/bsd/drm2/dist/drm' unixtime: '1713668571' user: riastradh