drm/amdgpu: Correct the condition of warning while bo release
authorxinhui pan <xinhui.pan@amd.com>
Mon, 9 Mar 2020 14:28:01 +0000 (22:28 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 10 Mar 2020 19:54:42 +0000 (15:54 -0400)
commit9fe58d0bbdb013d9712ae4455faeac72216bba0e
tree365e22077ba7cc7cdd30545d7d1a1042fa6910e3
parent1d251d90080a2721e97550973ab5efe772bc56bf
drm/amdgpu: Correct the condition of warning while bo release

Only kernel bo has kfd eviction fence.
This warning is to give a notice that kfd only remove eviction fence on
individual bos.

Tested-by: Nicholas Johnson <nicholas.johnson-opensource@outlook.com.au>
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: xinhui pan <xinhui.pan@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_object.c