Skip to content
Commit ddfe95f2 authored by Yunxiang Li's avatar Yunxiang Li Committed by Greg Kroah-Hartman
Browse files

drm/amdgpu: add lock in amdgpu_gart_invalidate_tlb



[ Upstream commit 18f2525d ]

We need to take the reset domain lock before flush hdp. We can't put the
lock inside amdgpu_device_flush_hdp itself because it is used during
reset where we already take the write side lock.

Signed-off-by: default avatarYunxiang Li <Yunxiang.Li@amd.com>
Reviewed-by: default avatarChristian König <christian.koenig@amd.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent 494b42f3
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment