diff options
author | Michał Winiarski <[email protected]> | 2024-08-23 18:30:46 +0200 |
---|---|---|
committer | Christian König <[email protected]> | 2024-08-26 17:06:16 +0200 |
commit | 5fbca8b48b3050ae7fb611a8b09af60012ed6de1 (patch) | |
tree | 6f224836de7a9d3dcfcc719ddd99d7efb9351c96 /scripts/patch-kernel | |
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 <[email protected]>
Signed-off-by: Michał Winiarski <[email protected]>
Acked-by: James Zhu <[email protected]>
Acked-by: Christian König <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Signed-off-by: Christian König <[email protected]>
Diffstat (limited to 'scripts/patch-kernel')
0 files changed, 0 insertions, 0 deletions