OSDN Git Service

drm/amdgpu: move PT validation back into VM code v2
authorChristian König <christian.koenig@amd.com>
Wed, 28 Sep 2016 10:03:04 +0000 (12:03 +0200)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 25 Oct 2016 18:38:27 +0000 (14:38 -0400)
commitf7da30d979d4c6af4b7f4fe3094e581d8c5812d7
tree146e1d60ebd94ec4be945449a6a399b4f5543b01
parenta7d64de659946e852cd8f2a9691a21ddbb4ebc86
drm/amdgpu: move PT validation back into VM code v2

Saves a bunch of CPU cycles when swapping things back in and
allows us to split the VM headers into a separate file.

v2: rename parameters

Signed-off-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@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