aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu.h
diff options
context:
space:
mode:
authorChristian König <[email protected]>2016-09-28 10:27:37 +0000
committerAlex Deucher <[email protected]>2016-10-25 18:38:28 +0000
commit914b4dce4fda09baa059414be01ae9484dc78120 (patch)
treeea90d1a6564c8abddfbd7e775928eb5fde15e0c8 /drivers/gpu/drm/amd/amdgpu/amdgpu.h
parentdrm/amdgpu: move PT validation back into VM code v2 (diff)
downloadkernel-914b4dce4fda09baa059414be01ae9484dc78120.tar.gz
kernel-914b4dce4fda09baa059414be01ae9484dc78120.zip
drm/amdgpu: stop using a bo list entry for the VM PTs
Saves us a bit of memory. Signed-off-by: Christian König <[email protected]> Reviewed-by: Alex Deucher <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu.h')
-rw-r--r--drivers/gpu/drm/amd/amdgpu/amdgpu.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu.h b/drivers/gpu/drm/amd/amdgpu/amdgpu.h
index 848e4ed7e32a..9d9831f2e2d0 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu.h
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu.h
@@ -820,8 +820,8 @@ struct amdgpu_ring {
#define AMDGPU_VM_FAULT_STOP_ALWAYS 2
struct amdgpu_vm_pt {
- struct amdgpu_bo_list_entry entry;
- uint64_t addr;
+ struct amdgpu_bo *bo;
+ uint64_t addr;
};
struct amdgpu_vm {