Re: [PATCH 1/1] drm/amdgpu: Use kfd_lock_pdd_by_id helper in more places

2022-08-22 Thread Felix Kuehling
Am 2022-08-22 um 11:30 schrieb Daniel Phillips: Convert most of the "mutex_lock; kfd_process_device_data_by_id" occurrences in kfd_chardev to use the kfd_lock_pdd_by_id. These will now consistently log debug output if the lookup fails. Sites where kfd_process_device_data_by_id is used without loc

RE: [PATCH 1/1] drm/amdgpu: Use kfd_lock_pdd_by_id helper in more places

2022-08-22 Thread Deucher, Alexander
[AMD Official Use Only - General] > -Original Message- > From: amd-gfx On Behalf Of > Daniel Phillips > Sent: Monday, August 22, 2022 11:30 AM > To: amd-gfx@lists.freedesktop.org > Cc: Phillips, Daniel ; Kuehling, Felix > > Subject: [PATCH 1/1] drm/amdgpu: Use k

[PATCH 1/1] drm/amdgpu: Use kfd_lock_pdd_by_id helper in more places

2022-08-22 Thread Daniel Phillips
Convert most of the "mutex_lock; kfd_process_device_data_by_id" occurrences in kfd_chardev to use the kfd_lock_pdd_by_id. These will now consistently log debug output if the lookup fails. Sites where kfd_process_device_data_by_id is used without locking are not converted for now. Signed-off-by: Da