Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2015-09-23 | drm/amdgpu: refine the job naming for amdgpu_job and amdgpu_sched_job | Junwei Zhang | 1 | -4/+4 | |
Use consistent naming across functions. Reviewed-by: Christian König <[email protected]> Reviewed-by: David Zhou <[email protected]> Signed-off-by: Junwei Zhang <[email protected]> | |||||
2015-09-23 | drm/amdgpu: use only one reservation object for each VM v2 | Christian König | 1 | -28/+5 | |
Reduces the locking and fencing overhead. v2: add comment why we need the duplicates list in the GEM op. Signed-off-by: Christian König <[email protected]> Reviewed-by: Alex Deucher <[email protected]> Reviewed-by: Jammy Zhou <[email protected]> | |||||
2015-09-23 | drm/amdgpu: export reservation_object from dmabuf to ttm (v2) | Christian König | 1 | -2/+2 | |
Adds an extra argument to amdgpu_bo_create, which is only used in amdgpu_prime.c. Port of radeon commit 831b6966a60fe72d85ae3576056b4e4e0775b112. v2: fix up kfd. Signed-off-by: Christian König <[email protected]> Reviewed-by: Jammy Zhou <[email protected]> Reviewed-by: Alex Deucher <[email protected]> | |||||
2015-09-23 | drm/amdgpu: fix overflow on 32bit systems | Christian König | 1 | -1/+1 | |
mem->start is a long, so this can overflow on 32bit systems. Signed-off-by: Christian König <[email protected]> Reviewed-by: Jammy Zhou <[email protected]> Cc: [email protected] | |||||
2015-09-03 | drm/amdgpu: be explicit about cpu vram access for driver BOs (v2) | Alex Deucher | 1 | -2/+5 | |
For kernel driver BOs, be explicit about whether we need vram access up front. This avoids unecessary migrations and avoids using visible vram for buffers were it's not needed. v2: line wrap fixes Reviewed-by: Christian König <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2015-09-02 | drm/amdgpu: use PT for VM sync on unmap | Christian König | 1 | -13/+6 | |
Instead of the array which is used for ID management. Signed-off-by: Christian König <[email protected]> Reviewed-by: Jammy Zhou <[email protected]> Reviewed-by: Chunming Zhou <[email protected]> | |||||
2015-08-26 | drm/amdgpu: use IB for copy buffer of eviction | Chunming Zhou | 1 | -2/+1 | |
This aids handling buffers moves with the scheduler. Signed-off-by: Chunming Zhou <[email protected]> Reviewed-by: Christian K?nig <[email protected]> | |||||
2015-08-25 | drm/amdgpu: fix last_vm_update fence is not effetive for sched fence | Chunming Zhou | 1 | -7/+17 | |
Signed-off-by: Chunming Zhou <[email protected]> Reviewed-by: Christian K?nig <[email protected]> | |||||
2015-08-20 | drm/amdgpu: abstract amdgpu_job for scheduler | Chunming Zhou | 1 | -1/+1 | |
Signed-off-by: Chunming Zhou <[email protected]> Reviewed-by: Christian K?nig <[email protected]> | |||||
2015-08-17 | drm/amdgpu: wait on page directory changes. v2 | Bas Nieuwenhuizen | 1 | -0/+6 | |
Pagetables can be moved and therefore the page directory update can be necessary for the current cs even if none of the the bo's are moved. In that scenario there is no fence between the sdma0 and gfx ring, so we add one. v2 (chk): rebased Signed-off-by: Bas Nieuwenhuizen <[email protected]> Signed-off-by: Christian König <[email protected]> Reviewed-by: Alex Deucher <[email protected]> | |||||
2015-08-17 | drm/amdgpu: fix duplicated mapping invoke bug | monk.liu | 1 | -0/+1 | |
fix the bug that there is duplicated bo_update_mapping issued Signed-off-by: monk.liu <[email protected]> Reviewed-by: Chunming Zhou <[email protected]> Reviewed-by: Christian König <[email protected]> | |||||
2015-08-17 | drm/amdgpu: add reference for **fence | Chunming Zhou | 1 | -0/+3 | |
fix fence is released when pass to **fence sometimes. add reference for it. Signed-off-by: Chunming Zhou <[email protected]> Reviewed-by: Christian K?nig <[email protected]> | |||||
2015-08-17 | drm/amdgpu: use kernel submit helper in vm | Chunming Zhou | 1 | -128/+31 | |
Signed-off-by: Chunming Zhou <[email protected]> Reviewed-by: Christian K?nig <[email protected]> | |||||
2015-08-17 | drm/amdgpu: merge amd_sched_entity and amd_context_entity v2 | Christian König | 1 | -9/+9 | |
Avoiding a couple of casts. v2: rename c_entity to entity as well Signed-off-by: Christian König <[email protected]> Reviewed-by: Chunming Zhou <[email protected]> | |||||
2015-08-17 | Revert "drm/amdgpu: return new seq_no for amd_sched_push_job" | Chunming Zhou | 1 | -6/+21 | |
This reverts commit d1d33da8eb86b8ca41dd9ed95738030df5267b95. Reviewed-by: Christian K?nig <[email protected]> Conflicts: drivers/gpu/drm/amd/amdgpu/amdgpu_sched.c drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c | |||||
2015-08-17 | drm/amdgpu: cleanup amdgpu_ctx inti/fini v2 | Christian König | 1 | -9/+9 | |
Cleanup the kernel context handling. v2: rebased Signed-off-by: Christian König <[email protected]> Reviewed-by: Chunming Zhou <[email protected]> (v1) | |||||
2015-08-17 | drm/amdgpu: return new seq_no for amd_sched_push_job | Jammy Zhou | 1 | -21/+6 | |
It is clean to update last_queued_v_seq in the scheduler module Signed-off-by: Jammy Zhou <[email protected]> Reviewed-by: Christian König <[email protected]> Reviewed-by: Alex Deucher <[email protected]> | |||||
2015-08-17 | drm/amdgpu: use kernel fence for last_pt_update | Chunming Zhou | 1 | -12/+12 | |
Signed-off-by: Chunming Zhou <[email protected]> Reviewed-by: Christian K?nig <[email protected]> Reviewed-by: Jammy Zhou <[email protected]> | |||||
2015-08-17 | drm/amdgpu: use kernel fence diretly in amdgpu_bo_fence | Chunming Zhou | 1 | -4/+4 | |
Signed-off-by: Chunming Zhou <[email protected]> Reviewed-by: Christian K?nig <[email protected]> Reviewed-by: Jammy Zhou <[email protected]> | |||||
2015-08-17 | drm/amdgpu: stop using addr to check for BO move v3 | Christian König | 1 | -28/+39 | |
It is theoretically possible that a swapped out BO gets the same GTT address, but different backing pages while being swapped in. Instead just use another VA state to note updated areas. Ported from not upstream yet radeon commit with the same name. v2: fix some bugs in the original implementation found in the radeon code. v3: squash in VCE/UVD fix Signed-off-by: Christian König <[email protected]> Reviewed-by: Alex Deucher <[email protected]> | |||||
2015-08-17 | drm/amdgpu: fix seq in ctx_add_fence | Chunming Zhou | 1 | -3/+3 | |
if enabling scheduler, then the queued seq is assigned when pushing job before emitting job. Signed-off-by: Chunming Zhou <[email protected]> Reviewed-by: Christian K?nig <[email protected]> | |||||
2015-08-17 | drm/amdgpu: wait forever for wait emit | Chunming Zhou | 1 | -3/+3 | |
the job must be emitted by scheduler, otherwise scheduler is abnormal. Signed-off-by: Chunming Zhou <[email protected]> Reviewed-by: Christian K?nig <[email protected]> | |||||
2015-08-17 | drm/amdgpu: dispatch job for vm | Chunming Zhou | 1 | -48/+197 | |
use kernel context to submit command for vm Signed-off-by: Chunming Zhou <[email protected]> Acked-by: Christian K?nig <[email protected]> Reviewed-by: Jammy Zhou <[email protected]> | |||||
2015-08-17 | drm/amdgpu: rework vm_grab_id interface | Christian König | 1 | -10/+14 | |
This makes assigning VM IDs independent from the use of VM IDs. Signed-off-by: Christian König <[email protected]> Reviewed-by: Jammy Zhou <[email protected]> | |||||
2015-08-17 | drm/amdgpu: no updates shouldn't cause vm flush v2 | Christian König | 1 | -4/+6 | |
v2 (chk): split fix from original patch Signed-off-by: monk.liu <[email protected]> Signed-off-by: Christian König <[email protected]> Reviewed-by: Jammy Zhou <[email protected]> | |||||
2015-08-17 | drm/amdgpu: deal with foreign fences in amdgpu_sync | Christian König | 1 | -4/+7 | |
This also requires some error handling from the callers of that function. Signed-off-by: Christian König <[email protected]> Reviewed-by: Jammy Zhou <[email protected]> Reviewed-by: Chunming Zhou <[email protected]> | |||||
2015-06-29 | drm/amdgpu: add BO map/unmap trace point | Christian König | 1 | -0/+4 | |
Signed-off-by: Christian König <[email protected]> Acked-by: Alex Deucher <[email protected]> | |||||
2015-06-08 | drm/amdgpu: fix saddr handling in amdgpu_vm_bo_unmap | Christian König | 1 | -0/+2 | |
Signed-off-by: Christian König <[email protected]> Reviewed-by: Alex Deucher <[email protected]> | |||||
2015-06-08 | drm/amdgpu: fix amdgpu_vm_bo_map | Christian König | 1 | -0/+2 | |
We need to reset the bo_va address, otherwise new mappings wouldn't be updated in the page table. Signed-off-by: Christian König <[email protected]> Reviewed-by: Alex Deucher <[email protected]> | |||||
2015-06-03 | drm/amdgpu: fence should be added to shared slot | monk.liu | 1 | -2/+2 | |
Signed-off-by: monk.liu <[email protected]> Reviewed-by: Christian König <[email protected]> Reviewed-by: jammy zhou <[email protected]> | |||||
2015-06-03 | drm/amdgpu: sync fence of clear_invalids (v2) | monk.liu | 1 | -2/+4 | |
bo_va may un-initialized, fix it. Signed-off-by: monk.liu <[email protected]> Reviewed-by: Christian König <[email protected]> Reviewed-by: Jammy Zhou <[email protected]> | |||||
2015-06-03 | drm/amdgpu: max_pde_used usage should be under protect | monk.liu | 1 | -1/+5 | |
Need to take the lock when accessing this. Signed-off-by: monk.liu <[email protected]> Reviewed-by: Christian König <[email protected]> Reviewed-by: Jammy Zhou <[email protected]> | |||||
2015-06-03 | drm/amdgpu: fix bug of vm_bo_map (v2) | monk.liu | 1 | -0/+4 | |
call reservation_object_reserve_shared before amdgpu_bo_fence Signed-off-by: monk.liu <[email protected]> Reviewed-by: Christian König <[email protected]> Reviewed-by: Jammy Zhou <[email protected]> | |||||
2015-06-03 | drm/amdgpu: validate amdgpu_vm_bo_map parameters | Christian König | 1 | -0/+7 | |
Signed-off-by: Christian König <[email protected]> Reviewed-by: Jammy Zhou <[email protected]> Reviewed-by: Alex Deucher <[email protected]> | |||||
2015-06-03 | drm/amdgpu: add core driver (v4) | Alex Deucher | 1 | -0/+1248 | |
This adds the non-asic specific core driver code. v2: remove extra kconfig option v3: implement minor fixes from Fengguang Wu v4: fix cast in amdgpu_ucode.c Acked-by: Christian König <[email protected]> Acked-by: Jammy Zhou <[email protected]> Signed-off-by: Alex Deucher <[email protected]> |