drm/amdgpu: Fix TLB invalidation request when using semaphore
authorFelix Kuehling <Felix.Kuehling@amd.com>
Sat, 18 Jan 2020 00:54:45 +0000 (19:54 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 21 Mar 2020 07:11:47 +0000 (08:11 +0100)
commitf3c478104a9a47ee13864f0b2c16912ec6f126ea
treebebf0b258c36993fecc4041a6931a7300943461b
parentf6fccb0a0e59d6e34fab80f5684764d689f27ca7
drm/amdgpu: Fix TLB invalidation request when using semaphore

[ Upstream commit 37c58ddf57364d1a636850bb8ba6acbe1e16195e ]

Use a more meaningful variable name for the invalidation request
that is distinct from the tmp variable that gets overwritten when
acquiring the invalidation semaphore.

Fixes: 4ed8a03740d0 ("drm/amdgpu: invalidate mmhub semaphore workaround in gmc9/gmc10")
Signed-off-by: Felix Kuehling <Felix.Kuehling@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Yong Zhao <Yong.Zhao@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/gpu/drm/amd/amdgpu/gmc_v10_0.c
drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c