Patch 1 adds kfd_lock_pdd_by_id and patch 2 adds kfd_unlock_pdd helpers, broken out this way to reduce noise in the first patch, which is a bit tricky because of modifying a lot of error paths. Patch 2 is trivial. Daniel Phillips (2): drm/amdgpu: Use kfd_lock_pdd_by_id helper in more places drm/amdgpu: Use kfd_unlock_pdd helper drivers/gpu/drm/amd/amdkfd/kfd_chardev.c | 130 +++++++++-------------- 1 file changed, 48 insertions(+), 82 deletions(-) -- 2.35.1