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)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 2 Feb 2022 23:26:32 +0000 (18:26 -0500)
commitfcd6b0e270a9dd849981df34051ee6dcbdbb1c0d
tree2520369aa47709c5264d32898b13e90aa99d53ef
parent33413ef964b8cdbb25a23aaf0b4aa8f0a330c4cf
drm/amdgpu: fix logic inversion in check

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