dri-devel.lists.freedesktop.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/2] drm: Use full allocated minor range for DRM
@ 2022-08-23 21:06 Michał Winiarski
  2022-08-23 21:06 ` [PATCH v2 1/2] drm: Expand max DRM device number to full MINORBITS Michał Winiarski
  2022-08-23 21:06 ` [PATCH v2 2/2] drm: Use mutex for minors Michał Winiarski
  0 siblings, 2 replies; 4+ messages in thread
From: Michał Winiarski @ 2022-08-23 21:06 UTC (permalink / raw)
  To: dri-devel; +Cc: Michał Winiarski, David Airlie, Thomas Zimmermann

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(-)

-- 
2.37.2


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2022-08-24  8:03 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-08-23 21:06 [PATCH v2 0/2] drm: Use full allocated minor range for DRM Michał Winiarski
2022-08-23 21:06 ` [PATCH v2 1/2] drm: Expand max DRM device number to full MINORBITS Michał Winiarski
2022-08-24  8:02   ` Simon Ser
2022-08-23 21:06 ` [PATCH v2 2/2] drm: Use mutex for minors Michał Winiarski

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).