Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2015-11-16 | drm/amdgpu: remove the unnecessary parameter adev for amdgpu_sa_bo_new() | Junwei Zhang | 1 | -1/+1 | |
Signed-off-by: Junwei Zhang <[email protected]> Reviewed-by: Christian König <[email protected]> | |||||
2015-11-16 | drm/amdgpu: use common fence for amdgpu_vm_fence | Christian König | 1 | -1/+1 | |
Just cleanup the function parameters. Signed-off-by: Christian König <[email protected]> Reviewed-by: Chunming Zhou <[email protected]> Reviewed-by: Alex Deucher <[email protected]> | |||||
2015-10-30 | drm/amdgpu: remove amdgpu_fence_ref/unref | Christian König | 1 | -1/+2 | |
Just move the remaining users to fence_put/get. Signed-off-by: Christian König <[email protected]> Reviewed-by: Alex Deucher <[email protected]> | |||||
2015-10-21 | drm/amdgpu: remove old lockup detection infrastructure | Christian König | 1 | -1/+0 | |
It didn't worked to well anyway. Signed-off-by: Christian König <[email protected]> Reviewed-by: Chunming Zhou <[email protected]> Reviewed-by: Junwei Zhang <[email protected]> | |||||
2015-08-25 | drm/amdgpu: fix fence wait in sync_fence, instead should be in sync_rings | Christian König | 1 | -1/+5 | |
Signed-off-by: Christian König <[email protected]> Signed-off-by: Chunming Zhou <[email protected]> Reviewed-by: Christian K?nig <[email protected]> | |||||
2015-08-25 | drm/amdgpu: remove v_seq handling from the scheduler v2 | Christian König | 1 | -5/+1 | |
Simply not used any more. Only keep 32bit atomic for fence sequence numbering. v2: trivial rebase Signed-off-by: Christian König <[email protected]> Reviewed-by: Alex Deucher <[email protected]> (v1) Reviewed-by: Jammy Zhou <[email protected]> (v1) Reviewed-by: Chunming Zhou <[email protected]> (v1) | |||||
2015-08-25 | drm/amdgpu: improve sa_bo->fence by kernel fence | Chunming Zhou | 1 | -2/+2 | |
Signed-off-by: Chunming Zhou <[email protected]> Reviewed-by: Christian K?nig <[email protected]> | |||||
2015-08-20 | drm/amdgpu: fix zeroing all IB fields manually v2 | Christian König | 1 | -17/+0 | |
The problem now is that we don't necessarily call amdgpu_ib_get() in some error paths and so work with uninitialized data. Better require that the memory is already zeroed. v2: better commit message Signed-off-by: Christian König <[email protected]> Reviewed-by: Chunming Zhou <[email protected]> (v1) Reviewed-by: Alex Deucher <[email protected]> | |||||
2015-08-17 | drm/amd: add scheduler fence implementation (v2) | Chunming Zhou | 1 | -1/+1 | |
scheduler fence is based on kernel fence framework. v2: squash in Christian's build fix Signed-off-by: Chunming Zhou <[email protected]> Reviewed-by: Christian K?nig <[email protected]> | |||||
2015-08-17 | drm/amdgpu: fix seq in ctx_add_fence | Chunming Zhou | 1 | -1/+5 | |
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: fix UVD/VCE fence handling | Christian König | 1 | -3/+6 | |
We need to return the sequence number to userspace even when we don't use user fences. Signed-off-by: Christian König <[email protected]> Reviewed-by: Alex Deucher <[email protected]> | |||||
2015-08-17 | drm/amdgpu: rework vm_grab_id interface | Christian König | 1 | -3/+1 | |
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: add user fence context map v2 | Christian König | 1 | -1/+3 | |
This is a prerequisite for the GPU scheduler to make the order of submission independent from the order of execution. v2: properly implement the locking Signed-off-by: Christian König <[email protected]> Reviewed-by: Jammy Zhou <[email protected]> Reviewed-by: Chunming Zhou <[email protected]> | |||||
2015-08-17 | drm/amdgpu: deal with foreign fences in amdgpu_sync | Christian König | 1 | -1/+5 | |
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-07-29 | drm/amdgpu: hdp_flush is not needed for inside IB | monk.liu | 1 | -8/+8 | |
hdp flush is not needed for IBs that dispatched from kernel inside because there is no video memory host access Signed-off-by: monk.liu <[email protected]> Reviewed-by: Christian König <[email protected]> | |||||
2015-06-05 | drm/amdgpu: disable user fence interrupt (v2) | Chunming Zhou | 1 | -1/+2 | |
amdgpu submits both kernel and user fences, but just need one interrupt, disable user fence interrupt and don't effect user fence. v2: fix merge error Signed-off-by: Chunming Zhou <[email protected]> Reviewed-by: Alex Deucher <[email protected]> | |||||
2015-06-03 | drm/amdgpu: fix context switch | Christian König | 1 | -1/+7 | |
Properly protect the state and also handle submission failures. Signed-off-by: Christian König <[email protected]> Reviewed-by: Alex Deucher <[email protected]> Reviewed-by: Jammy Zhou <[email protected]> Reviewed-by: Monk Liu <[email protected]> | |||||
2015-06-03 | drm/amdgpu: fix dereference before check | Christian König | 1 | -2/+4 | |
Signed-off-by: Christian König <[email protected]> Reviewed-by: Alex Deucher <[email protected]> Reviewed-by: Jammy Zhou <[email protected]> Reviewed-by: Monk Liu <[email protected]> | |||||
2015-06-03 | drm/amdgpu: cleanup HDP flush handling | Christian König | 1 | -3/+3 | |
Signed-off-by: Christian König <[email protected]> Reviewed-by: Alex Deucher <[email protected]> Reviewed-by: Jammy Zhou <[email protected]> Reviewed-by: Monk Liu <[email protected]> | |||||
2015-06-03 | drm/amdgpu: always emit GDS switch | Christian König | 1 | -1/+1 | |
Otherwise a process can access the GDS data of another process. Signed-off-by: Christian König <[email protected]> Reviewed-by: Alex Deucher <[email protected]> Reviewed-by: Jammy Zhou <[email protected]> Reviewed-by: Monk Liu <[email protected]> | |||||
2015-06-03 | drm/amdgpu: add flags for amdgpu_ib structure | Jammy Zhou | 1 | -2/+2 | |
Signed-off-by: Jammy Zhou <[email protected]> Reviewed-by: Christian König <[email protected]> | |||||
2015-06-03 | drm/amdgpu: add core driver (v4) | Alex Deucher | 1 | -0/+345 | |
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]> |