diff options
author | Dave Airlie <airlied@redhat.com> | 2017-10-08 21:00:16 -0400 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2017-10-08 21:00:16 -0400 |
commit | bb7a9c8d712f37385a706a594d6edf6e6d2669d0 (patch) | |
tree | 701a317ca8ecc2bedc40577b657dcdda3e7428c5 /drivers/gpu/drm/amd/amdgpu/amdgpu_vm.h | |
parent | 15438ab06515b093d61e2f35bb27d21e5e7f966e (diff) | |
parent | d3f04c98ead2b89887e1e3c09b26e4917bacdd9e (diff) |
Merge branch 'drm-next-4.15' of git://people.freedesktop.org/~agd5f/linux into drm-next
More new stuff for 4.15. Highlights:
- Add clock query interface for raven
- Add new FENCE_TO_HANDLE ioctl
- UVD video encode ring support on polaris
- transparent huge page DMA support
- deadlock fixes
- compute pipe lru tweaks
- powerplay cleanups and regression fixes
- fix duplicate symbol issue with radeon and amdgpu
- misc bug fixes
* 'drm-next-4.15' of git://people.freedesktop.org/~agd5f/linux: (72 commits)
drm/radeon/dp: make radeon_dp_get_dp_link_config static
drm/radeon: move ci_send_msg_to_smc to where it's used
drm/amd/sched: fix deadlock caused by unsignaled fences of deleted jobs
drm/amd/sched: NULL out the s_fence field after run_job
drm/amd/sched: move adding finish callback to amd_sched_job_begin
drm/amd/sched: fix an outdated comment
drm/amd/sched: rename amd_sched_entity_pop_job
drm/amdgpu: minor coding style fix
drm/ttm: add transparent huge page support for DMA allocations v2
drm/ttm: add support for different pool sizes
drm/ttm: remove unsued options from ttm_mem_global_alloc_page
drm/amdgpu: add uvd enc irq
drm/amdgpu: add uvd enc ib test
drm/amdgpu: add uvd enc ring test
drm/amdgpu: add uvd enc vm functions (v2)
drm/amdgpu: add uvd enc into run queue
drm/amdgpu: add uvd enc rings
drm/amdgpu: add new uvd enc ring methods
drm/amdgpu: add uvd enc command in header
drm/amdgpu: add uvd enc registers in header
...
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_vm.h')
-rw-r--r-- | drivers/gpu/drm/amd/amdgpu/amdgpu_vm.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_vm.h b/drivers/gpu/drm/amd/amdgpu/amdgpu_vm.h index 0af090667dfc..d68f39b4e5e7 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_vm.h +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_vm.h | |||
@@ -165,8 +165,11 @@ struct amdgpu_vm { | |||
165 | /* Flag to indicate ATS support from PTE for GFX9 */ | 165 | /* Flag to indicate ATS support from PTE for GFX9 */ |
166 | bool pte_support_ats; | 166 | bool pte_support_ats; |
167 | 167 | ||
168 | /* Up to 128 pending page faults */ | 168 | /* Up to 128 pending retry page faults */ |
169 | DECLARE_KFIFO(faults, u64, 128); | 169 | DECLARE_KFIFO(faults, u64, 128); |
170 | |||
171 | /* Limit non-retry fault storms */ | ||
172 | unsigned int fault_credit; | ||
170 | }; | 173 | }; |
171 | 174 | ||
172 | struct amdgpu_vm_id { | 175 | struct amdgpu_vm_id { |
@@ -244,6 +247,8 @@ void amdgpu_vm_manager_fini(struct amdgpu_device *adev); | |||
244 | int amdgpu_vm_init(struct amdgpu_device *adev, struct amdgpu_vm *vm, | 247 | int amdgpu_vm_init(struct amdgpu_device *adev, struct amdgpu_vm *vm, |
245 | int vm_context, unsigned int pasid); | 248 | int vm_context, unsigned int pasid); |
246 | void amdgpu_vm_fini(struct amdgpu_device *adev, struct amdgpu_vm *vm); | 249 | void amdgpu_vm_fini(struct amdgpu_device *adev, struct amdgpu_vm *vm); |
250 | bool amdgpu_vm_pasid_fault_credit(struct amdgpu_device *adev, | ||
251 | unsigned int pasid); | ||
247 | void amdgpu_vm_get_pd_bo(struct amdgpu_vm *vm, | 252 | void amdgpu_vm_get_pd_bo(struct amdgpu_vm *vm, |
248 | struct list_head *validated, | 253 | struct list_head *validated, |
249 | struct amdgpu_bo_list_entry *entry); | 254 | struct amdgpu_bo_list_entry *entry); |