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)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 27 Jan 2020 21:46:36 +0000 (16:46 -0500)
commit37c58ddf57364d1a636850bb8ba6acbe1e16195e
tree732fdb7f2e467e406f0cc8e8dccec88372d74746
parentd478667253f988dbd6215734a11e35f6953b540d
drm/amdgpu: Fix TLB invalidation request when using semaphore

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>
drivers/gpu/drm/amd/amdgpu/gmc_v10_0.c
drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c