[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <ae0077cf-2fdc-fd0c-9b51-a8da5d677d52@quicinc.com>
Date: Tue, 25 Oct 2022 07:56:55 -0600
From: Jeffrey Hugo <quic_jhugo@...cinc.com>
To: Michał Winiarski <michal.winiarski@...el.com>,
<dri-devel@...ts.freedesktop.org>, <linux-kernel@...r.kernel.org>,
<intel-gfx@...ts.freedesktop.org>
CC: David Airlie <airlied@...ux.ie>,
Matthew Wilcox <willy@...radead.org>,
Thomas Zimmermann <tzimmermann@...e.de>
Subject: Re: [PATCH v5 1/3] drm: Use XArray instead of IDR for minors
On 9/11/2022 3:14 PM, Michał Winiarski wrote:
> IDR is deprecated, and since XArray manages its own state with internal
> locking, it simplifies the locking on DRM side.
> Additionally, don't use the IRQ-safe variant, since operating on drm
> minor is not done in IRQ context.
>
> Signed-off-by: Michał Winiarski <michal.winiarski@...el.com>
> Suggested-by: Matthew Wilcox <willy@...radead.org>
> ---
Reviewed-by: Jeffrey Hugo <quic_jhugo@...cinc.com>
Powered by blists - more mailing lists