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

Jeffrey Hugo quic_jhugo at quicinc.com
Tue Oct 25 13:56:55 UTC 2022


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 at intel.com>
> Suggested-by: Matthew Wilcox <willy at infradead.org>
> ---

Reviewed-by: Jeffrey Hugo <quic_jhugo at quicinc.com>


More information about the Intel-gfx mailing list