diff options
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu.h')
-rw-r--r-- | drivers/gpu/drm/amd/amdgpu/amdgpu.h | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu.h b/drivers/gpu/drm/amd/amdgpu/amdgpu.h index 40850afa763f..d4e9272b60e8 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu.h +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu.h | |||
@@ -917,8 +917,8 @@ struct amdgpu_ring { | |||
917 | #define AMDGPU_VM_FAULT_STOP_ALWAYS 2 | 917 | #define AMDGPU_VM_FAULT_STOP_ALWAYS 2 |
918 | 918 | ||
919 | struct amdgpu_vm_pt { | 919 | struct amdgpu_vm_pt { |
920 | struct amdgpu_bo *bo; | 920 | struct amdgpu_bo_list_entry entry; |
921 | uint64_t addr; | 921 | uint64_t addr; |
922 | }; | 922 | }; |
923 | 923 | ||
924 | struct amdgpu_vm_id { | 924 | struct amdgpu_vm_id { |
@@ -983,8 +983,7 @@ void amdgpu_vm_fini(struct amdgpu_device *adev, struct amdgpu_vm *vm); | |||
983 | void amdgpu_vm_get_pd_bo(struct amdgpu_vm *vm, | 983 | void amdgpu_vm_get_pd_bo(struct amdgpu_vm *vm, |
984 | struct list_head *validated, | 984 | struct list_head *validated, |
985 | struct amdgpu_bo_list_entry *entry); | 985 | struct amdgpu_bo_list_entry *entry); |
986 | struct amdgpu_bo_list_entry *amdgpu_vm_get_pt_bos(struct amdgpu_vm *vm, | 986 | void amdgpu_vm_get_pt_bos(struct amdgpu_vm *vm, struct list_head *duplicates); |
987 | struct list_head *duplicates); | ||
988 | int amdgpu_vm_grab_id(struct amdgpu_vm *vm, struct amdgpu_ring *ring, | 987 | int amdgpu_vm_grab_id(struct amdgpu_vm *vm, struct amdgpu_ring *ring, |
989 | struct amdgpu_sync *sync); | 988 | struct amdgpu_sync *sync); |
990 | void amdgpu_vm_flush(struct amdgpu_ring *ring, | 989 | void amdgpu_vm_flush(struct amdgpu_ring *ring, |
@@ -1255,7 +1254,6 @@ struct amdgpu_cs_parser { | |||
1255 | struct amdgpu_cs_chunk *chunks; | 1254 | struct amdgpu_cs_chunk *chunks; |
1256 | /* relocations */ | 1255 | /* relocations */ |
1257 | struct amdgpu_bo_list_entry vm_pd; | 1256 | struct amdgpu_bo_list_entry vm_pd; |
1258 | struct amdgpu_bo_list_entry *vm_bos; | ||
1259 | struct list_head validated; | 1257 | struct list_head validated; |
1260 | struct fence *fence; | 1258 | struct fence *fence; |
1261 | 1259 | ||