diff options
| author | Chris Wilson <[email protected]> | 2016-12-16 07:46:41 +0000 |
|---|---|---|
| committer | Daniel Vetter <[email protected]> | 2016-12-16 13:31:06 +0000 |
| commit | ad579002c8ec429930721c5bb8bd763e6c0c6286 (patch) | |
| tree | 27c789dc98b2b341ea0c48336c460133a34be228 /drivers/gpu/drm/amd/amdgpu/amdgpu_object.c | |
| parent | kref: prefer atomic_inc_not_zero to atomic_add_unless (diff) | |
| download | kernel-ad579002c8ec429930721c5bb8bd763e6c0c6286.tar.gz kernel-ad579002c8ec429930721c5bb8bd763e6c0c6286.zip | |
drm: Add drm_mm_for_each_node_safe()
A complement to drm_mm_for_each_node(), wraps list_for_each_entry_safe()
for walking the list of nodes safe against removal.
Note from Joonas:
"Most of the diff is about __drm_mm_nodes(mm), which could be split into
own patch and keep the R-b's."
But I don't feel like insisting on the resend.
Signed-off-by: Chris Wilson <[email protected]>
Reviewed-by: Joonas Lahtinen <[email protected]>
[danvet: Add note.]
Signed-off-by: Daniel Vetter <[email protected]>
Link: http://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_object.c')
0 files changed, 0 insertions, 0 deletions
