drm/amdgpu: fix logic inversion in check
authorChristian König <christian.koenig@amd.com>
Fri, 28 Jan 2022 12:21:10 +0000 (13:21 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 23 Feb 2022 11:01:00 +0000 (12:01 +0100)
commite76d0a9692c51d231d9d3a8cd0892c7c885351f8
treee94064da5095a459b01dfec5b943a5f25f446793
parent324f5bdc52ecb6a6dadb31a62823ef8c709d1439
drm/amdgpu: fix logic inversion in check

[ Upstream commit e8ae38720e1a685fd98cfa5ae118c9d07b45ca79 ]

We probably never trigger this, but the logic inside the check is
inverted.

Signed-off-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Felix Kuehling <Felix.Kuehling@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c