[PATCH v6 3/4] drm: Expand max DRM device number to full MINORBITS
Simon Ser
contact at emersion.fr
Wed Aug 23 10:58:11 UTC 2023
On Wednesday, August 23rd, 2023 at 12:53, Simon Ser <contact at emersion.fr> wrote:
> On Tuesday, August 8th, 2023 at 17:04, James Zhu jamesz at amd.com wrote:
>
> > I have a MR for libdrm to support drm nodes type up to 2^MINORBITS
> > nodes which can work with these patches,
> >
> > https://gitlab.freedesktop.org/mesa/drm/-/merge_requests/305
>
> FWIW, this MR has been merged, so in theory this kernel patch should
> work fine with latest libdrm.
Hm, we might want to adjust MAX_DRM_NODES still. It's set to 256
currently, which should be enough for 128 DRM devices, but not more.
Not bumping this value will make drmGetDevices2() print a warning and
not return all devices on systems with more than 128 DRM devices.
More information about the dri-devel
mailing list