Skip to content

Commit bd05221

Browse files
Pan, Xinhuialexdeucher
authored andcommitted
drm/amdgpu: add the lost mutex_init back
Initialize notifier_lock. Bug: https://gitlab.freedesktop.org/drm/amd/issues/1016 Reviewed-by: Feifei Xu <[email protected]> Reviewed-by: Christian König <[email protected]> Signed-off-by: xinhui pan <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
1 parent 3163588 commit bd05221

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

drivers/gpu/drm/amd/amdgpu/amdgpu_device.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2848,6 +2848,7 @@ int amdgpu_device_init(struct amdgpu_device *adev,
28482848
hash_init(adev->mn_hash);
28492849
mutex_init(&adev->lock_reset);
28502850
mutex_init(&adev->psp.mutex);
2851+
mutex_init(&adev->notifier_lock);
28512852

28522853
r = amdgpu_device_check_arguments(adev);
28532854
if (r)

0 commit comments

Comments
 (0)