mbox series

[v2,0/2] drm: Use full allocated minor range for DRM

Message ID 20220823210612.296922-1-michal.winiarski@intel.com (mailing list archive)
Headers show
Series drm: Use full allocated minor range for DRM | expand

Message

Michał Winiarski Aug. 23, 2022, 9:06 p.m. UTC
64 DRM device nodes is not enough for everyone.
Upgrade it to ~341K (which definitely is more than enough).
Additionally - one minor tweak around minor IDR locking.

v1 -> v2:
Don't touch DRM_MINOR_CONTROL and its range (Simon Ser)

Michał Winiarski (2):
  drm: Expand max DRM device number to full MINORBITS
  drm: Use mutex for minors

 drivers/gpu/drm/drm_drv.c | 45 ++++++++++++++++++---------------------
 1 file changed, 21 insertions(+), 24 deletions(-)