]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
drm/amdgpu: fix locking in vega10_ih_prescreen_iv
authorChristian König <christian.koenig@amd.com>
Wed, 24 Jan 2018 12:37:48 +0000 (13:37 +0100)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 30 Jan 2018 04:16:20 +0000 (23:16 -0500)
commit153b9e1b75441cd51f69e88b4748c23166de0d64
tree9b90248a5a381092419bedc7fc88ea0cba40fb12
parentd3aab672de4902ce25e9858fbb5bf67e8254b23c
drm/amdgpu: fix locking in vega10_ih_prescreen_iv

The vm pointer can become invalid as soon as the lock is released.

Signed-off-by: Christian König <christian.koenig@amd.com>
Acked-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/vega10_ih.c