-
Notifications
You must be signed in to change notification settings - Fork 111
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
drm, bpf: User drm_mm in bpf #8003
base: bpf-next_base
Are you sure you want to change the base?
Conversation
Upstream branch: 77017b9 |
Upstream branch: 77017b9 |
0bba160
to
15516e0
Compare
0e4003e
to
5e2942e
Compare
Upstream branch: f2daa5a |
15516e0
to
96eb26c
Compare
5e2942e
to
3e790e1
Compare
Upstream branch: 9a78313 |
96eb26c
to
ca61fea
Compare
3e790e1
to
2f0c8a7
Compare
Move drm_mm.c to lib. The next commit will use drm_mm to manage memory regions in bpf arena. Move drm_mm_print to drivers/gpu/drm/drm_print.c, since it's not a core functionality of drm_mm and it depeneds on drm_printer while drm_mm is generic and usuable as-is by other subsystems. Also add __maybe_unused to suppress compiler warnings. Update MAINTAINERS file as well. Signed-off-by: Alexei Starovoitov <[email protected]> Acked-by: Kumar Kartikeya Dwivedi <[email protected]>
bpf arena is moving towards non-sleepable allocations in tracing context while maple_tree does kmalloc/kfree deep inside. Hence switch bpf arena to drm_mm algorithm that works with externally provided drm_mm_node-s. This patch kmalloc/kfree-s drm_mm_node-s, but the next patch will switch to bpf_mem_alloc and preallocated drm_mm_node-s. Signed-off-by: Alexei Starovoitov <[email protected]> Acked-by: Kumar Kartikeya Dwivedi <[email protected]>
Upstream branch: 1850ce1 |
ca61fea
to
3766007
Compare
Pull request for series with
subject: drm, bpf: User drm_mm in bpf
version: 1
url: https://patchwork.kernel.org/project/netdevbpf/list/?series=905590