drm/amdgpu: validate VM PTs only on eviction
authorChristian König <christian.koenig@amd.com>
Tue, 21 Jun 2016 14:28:15 +0000 (16:28 +0200)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 7 Jul 2016 18:54:49 +0000 (14:54 -0400)
commit5a712a8727200fc617072bed2ccd8ba8e1b50408
tree53d58dfb5e2bcf2b2d1232ecb192f0f8d70851d6
parentdbd5ed60ac856632609491229e6d7ad70115fb09
drm/amdgpu: validate VM PTs only on eviction

We don't need to validate them again if the eviction counter didn't changed.

Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu.h
drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c
drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c
drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c