diff options
| author | Arunpravin Paneer Selvam <[email protected]> | 2024-10-30 05:26:57 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2025-04-08 20:48:17 +0000 |
| commit | d8675102ba322a4ccd0dd8bc5adf799246314ddf (patch) | |
| tree | e5e4493ce46e0c8139c03e5e5eac7997c33585a4 /drivers/gpu/drm/amd/amdgpu/amdgpu_seq64.c | |
| parent | drm/amdgpu: Add the missing error handling for xa_store() call (diff) | |
| download | kernel-d8675102ba322a4ccd0dd8bc5adf799246314ddf.tar.gz kernel-d8675102ba322a4ccd0dd8bc5adf799246314ddf.zip | |
drm/amdgpu: add vm root BO lock before accessing the vm
Add a vm root BO lock before accessing the userqueue VM.
v1:(Christian)
- Keep the VM locked until you are done with the mapping.
- Grab a temporary BO reference, drop the VM lock and acquire the BO.
When you are done with everything just drop the BO lock and
then the temporary BO reference.
Signed-off-by: Arunpravin Paneer Selvam <[email protected]>
Reviewed-by: Christian König <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_seq64.c')
0 files changed, 0 insertions, 0 deletions
