Re: [PATCH v5 1/3] drm: Use XArray instead of IDR for minors

From: Jeffrey Hugo
Date: Tue Oct 25 2022 - 09:57:19 EST


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@xxxxxxxxx>
Suggested-by: Matthew Wilcox <willy@xxxxxxxxxxxxx>
---

Reviewed-by: Jeffrey Hugo <quic_jhugo@xxxxxxxxxxx>