[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20220906160804.wvuioiya33df7jnj@nostramo>
Date: Tue, 6 Sep 2022 18:08:04 +0200
From: Michał Winiarski <michal.winiarski@...el.com>
To: Matthew Wilcox <willy@...radead.org>
CC: <dri-devel@...ts.freedesktop.org>, <linux-kernel@...r.kernel.org>,
"David Airlie" <airlied@...ux.ie>, Daniel Vetter <daniel@...ll.ch>,
"Maarten Lankhorst" <maarten.lankhorst@...ux.intel.com>,
Maxime Ripard <mripard@...nel.org>,
Thomas Zimmermann <tzimmermann@...e.de>,
Simon Ser <contact@...rsion.fr>
Subject: Re: [PATCH v3 0/4] drm: Use full allocated minor range for DRM
On Tue, Sep 06, 2022 at 03:21:25PM +0100, Matthew Wilcox wrote:
> On Tue, Sep 06, 2022 at 04:01:13PM +0200, Michał Winiarski wrote:
> > 64 DRM device nodes is not enough for everyone.
> > Upgrade it to ~512K (which definitely is more than enough).
> >
> > To allow testing userspace support for >64 devices, add additional DRM
> > modparam (skip_legacy_minors) which causes DRM to skip allocating minors
> > in 0-192 range.
> > Additionally - one minor tweak around minor DRM IDR locking and IDR lockdep
> > annotations.
>
> The IDR is deprecated; rather than making all these changes around
> the IDR, could you convert it to use the XArray instead? I did it
> once before, but those patches bounced off the submissions process.
Sure. The IDR annotation can still be useful for existing users though,
are you saying I should drop it as well?
-Michał
Powered by blists - more mailing lists