diff options
author | Dave Airlie <airlied@redhat.com> | 2016-10-27 21:33:52 -0400 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2016-10-27 21:33:52 -0400 |
commit | 220196b38483be6d84a295d318d48595f65da443 (patch) | |
tree | f91c2e6e64ef59afdc075d843d51f23369e9164a /drivers/gpu/drm/amd/amdgpu/amdgpu_vm.h | |
parent | a1873c62710b23e9afbd2faeed5f28649cbe4739 (diff) | |
parent | 56df51d003203f1c3a8eab05605973515aa15feb (diff) |
Merge tag 'topic/drm-misc-2016-10-27' of git://anongit.freedesktop.org/git/drm-intel into drm-next
Pull request already again to get the s/fence/dma_fence/ stuff in and
allow everyone to resync. Otherwise really just misc stuff all over, and a
new bridge driver.
* tag 'topic/drm-misc-2016-10-27' of git://anongit.freedesktop.org/git/drm-intel:
drm/bridge: fix platform_no_drv_owner.cocci warnings
drm/bridge: fix semicolon.cocci warnings
drm: Print some debug/error info during DP dual mode detect
drm: mark drm_of_component_match_add dummy inline
drm/bridge: add Silicon Image SiI8620 driver
dt-bindings: add Silicon Image SiI8620 bridge bindings
video: add header file for Mobile High-Definition Link (MHL) interface
drm: convert DT component matching to component_match_add_release()
dma-buf: Rename struct fence to dma_fence
dma-buf/fence: add an lockdep_assert_held()
drm/dp: Factor out helper to distinguish between branch and sink devices
drm/edid: Only print the bad edid when aborting
drm/msm: add missing header dependencies
drm/msm/adreno: move function declarations to header file
drm/i2c/tda998x: mark symbol static where possible
doc: add missing docbook parameter for fence-array
drm: RIP mode_config->rotation_property
drm/msm/mdp5: Advertize 180 degree rotation
drm/msm/mdp5: Use per-plane rotation property
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_vm.h')
-rw-r--r-- | drivers/gpu/drm/amd/amdgpu/amdgpu_vm.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_vm.h b/drivers/gpu/drm/amd/amdgpu/amdgpu_vm.h index 42a629b56095..adbc2f5e5c7f 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_vm.h +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_vm.h | |||
@@ -94,7 +94,7 @@ struct amdgpu_vm { | |||
94 | /* contains the page directory */ | 94 | /* contains the page directory */ |
95 | struct amdgpu_bo *page_directory; | 95 | struct amdgpu_bo *page_directory; |
96 | unsigned max_pde_used; | 96 | unsigned max_pde_used; |
97 | struct fence *page_directory_fence; | 97 | struct dma_fence *page_directory_fence; |
98 | uint64_t last_eviction_counter; | 98 | uint64_t last_eviction_counter; |
99 | 99 | ||
100 | /* array of page tables, one for each page directory entry */ | 100 | /* array of page tables, one for each page directory entry */ |
@@ -115,14 +115,14 @@ struct amdgpu_vm { | |||
115 | 115 | ||
116 | struct amdgpu_vm_id { | 116 | struct amdgpu_vm_id { |
117 | struct list_head list; | 117 | struct list_head list; |
118 | struct fence *first; | 118 | struct dma_fence *first; |
119 | struct amdgpu_sync active; | 119 | struct amdgpu_sync active; |
120 | struct fence *last_flush; | 120 | struct dma_fence *last_flush; |
121 | atomic64_t owner; | 121 | atomic64_t owner; |
122 | 122 | ||
123 | uint64_t pd_gpu_addr; | 123 | uint64_t pd_gpu_addr; |
124 | /* last flushed PD/PT update */ | 124 | /* last flushed PD/PT update */ |
125 | struct fence *flushed_updates; | 125 | struct dma_fence *flushed_updates; |
126 | 126 | ||
127 | uint32_t current_gpu_reset_count; | 127 | uint32_t current_gpu_reset_count; |
128 | 128 | ||
@@ -172,7 +172,7 @@ int amdgpu_vm_validate_pt_bos(struct amdgpu_device *adev, struct amdgpu_vm *vm, | |||
172 | void amdgpu_vm_move_pt_bos_in_lru(struct amdgpu_device *adev, | 172 | void amdgpu_vm_move_pt_bos_in_lru(struct amdgpu_device *adev, |
173 | struct amdgpu_vm *vm); | 173 | struct amdgpu_vm *vm); |
174 | int amdgpu_vm_grab_id(struct amdgpu_vm *vm, struct amdgpu_ring *ring, | 174 | int amdgpu_vm_grab_id(struct amdgpu_vm *vm, struct amdgpu_ring *ring, |
175 | struct amdgpu_sync *sync, struct fence *fence, | 175 | struct amdgpu_sync *sync, struct dma_fence *fence, |
176 | struct amdgpu_job *job); | 176 | struct amdgpu_job *job); |
177 | int amdgpu_vm_flush(struct amdgpu_ring *ring, struct amdgpu_job *job); | 177 | int amdgpu_vm_flush(struct amdgpu_ring *ring, struct amdgpu_job *job); |
178 | void amdgpu_vm_reset_id(struct amdgpu_device *adev, unsigned vm_id); | 178 | void amdgpu_vm_reset_id(struct amdgpu_device *adev, unsigned vm_id); |