diff options
author | Michał Winiarski <michal.winiarski@intel.com> | 2024-08-23 18:30:46 +0200 |
---|---|---|
committer | Christian König <christian.koenig@amd.com> | 2024-08-26 17:06:16 +0200 |
commit | 5fbca8b48b3050ae7fb611a8b09af60012ed6de1 (patch) | |
tree | 6f224836de7a9d3dcfcc719ddd99d7efb9351c96 /include/drm | |
parent | 22bc22ccf95bfa6eb6288ba4bc33d7fc0078381e (diff) |
drm: Use XArray instead of IDR for minors
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.
Suggested-by: Matthew Wilcox <willy@infradead.org>
Signed-off-by: Michał Winiarski <michal.winiarski@intel.com>
Acked-by: James Zhu <James.Zhu@amd.com>
Acked-by: Christian König <christian.koenig@amd.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240823163048.2676257-2-michal.winiarski@intel.com
Signed-off-by: Christian König <christian.koenig@amd.com>
Diffstat (limited to 'include/drm')
0 files changed, 0 insertions, 0 deletions