diff options
author | Michał Winiarski <michal.winiarski@intel.com> | 2024-08-23 18:30:48 +0200 |
---|---|---|
committer | Christian König <christian.koenig@amd.com> | 2024-08-26 17:06:22 +0200 |
commit | 071d583e01c88272f6ff216d4f867f8f35e94d7d (patch) | |
tree | a45574c0d628f519ab5d9f252f4309962b84d47e /tools/perf/scripts/python/gecko.py | |
parent | 45c4d994b82b08f0ce5eb50f8da29379c92a391e (diff) |
drm: Expand max DRM device number to full MINORBITS
Having a limit of 64 DRM devices is not good enough for modern world
where we have multi-GPU servers, SR-IOV virtual functions and virtual
devices used for testing.
Let's utilize full minor range for DRM devices.
To avoid regressing the existing userspace, we're still maintaining the
numbering scheme where 0-63 is used for primary, 64-127 is reserved
(formerly for control) and 128-191 is used for render.
For minors >= 192, we're allocating minors dynamically on a first-come,
first-served basis.
Signed-off-by: Michał Winiarski <michal.winiarski@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240823163048.2676257-4-michal.winiarski@intel.com
Acked-by: James Zhu <James.Zhu@amd.com>
Acked-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Christian König <christian.koenig@amd.com>
Diffstat (limited to 'tools/perf/scripts/python/gecko.py')
0 files changed, 0 insertions, 0 deletions