diff options
author | Michał Winiarski <[email protected]> | 2024-08-23 18:30:48 +0200 |
---|---|---|
committer | Christian König <[email protected]> | 2024-08-26 17:06:22 +0200 |
commit | 071d583e01c88272f6ff216d4f867f8f35e94d7d (patch) | |
tree | a45574c0d628f519ab5d9f252f4309962b84d47e /tools/perf/scripts/python/mem-phys-addr.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 <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Acked-by: James Zhu <[email protected]>
Acked-by: Christian König <[email protected]>
Signed-off-by: Christian König <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/mem-phys-addr.py')
0 files changed, 0 insertions, 0 deletions