aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_vm.h
diff options
context:
space:
mode:
authorMonk Liu <[email protected]>2017-01-09 07:23:17 +0000
committerAlex Deucher <[email protected]>2017-01-27 16:13:19 +0000
commitbd7de27d81a73c91fad9a3358f56ecf7f0dc8ede (patch)
treed68efc85e62adfdb27e35f9e4871d27da6c80564 /drivers/gpu/drm/amd/amdgpu/amdgpu_vm.h
parentdrm/amd/amdgpu: add check that shadow page tables are GPU-accessible (diff)
downloadkernel-bd7de27d81a73c91fad9a3358f56ecf7f0dc8ede.tar.gz
kernel-bd7de27d81a73c91fad9a3358f56ecf7f0dc8ede.zip
drm/amdgpu:new field members for SRIOV
and implement CSA functions in this file Signed-off-by: Monk Liu <[email protected]> Reviewed-by: Christian König <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_vm.h')
-rw-r--r--drivers/gpu/drm/amd/amdgpu/amdgpu_vm.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_vm.h b/drivers/gpu/drm/amd/amdgpu/amdgpu_vm.h
index adbc2f5e5c7f..a12cb1b9a7e1 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_vm.h
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_vm.h
@@ -111,6 +111,8 @@ struct amdgpu_vm {
/* client id */
u64 client_id;
+ /* each VM will map on CSA */
+ struct amdgpu_bo_va *csa_bo_va;
};
struct amdgpu_vm_id {