| Age | Commit message (Collapse) | Author | Files | Lines | |
|---|---|---|---|---|---|
| 2015-08-17 | drm/amdgpu: fix seq in ctx_add_fence | Chunming Zhou | 1 | -3/+2 | |
| 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: add check for callback | Chunming Zhou | 1 | -1/+2 | |
| it is possible that the callback isn't defined sometimes. Signed-off-by: Chunming Zhou <[email protected]> Reviewed-by: Christian K?nig <[email protected]> | |||||
| 2015-08-17 | drm/amdgpu: prepare job before push to sw queue for pte ring | Chunming Zhou | 1 | -1/+1 | |
| user mode will still use pte ring as a normal ring. if the prepare job generates another command(update pte) on its ring in scheduler, then will kill scheduler which is going to waiting later job but pending running job. 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: make sure the fence is emitted before ring to get it. | Chunming Zhou | 1 | -17/+9 | |
| 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: dispatch jobs in cs | Chunming Zhou | 1 | -57/+199 | |
| BO validation is moved to scheduler except usrptr which must be validated in user process 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: optimize amdgpu_parser_init | monk.liu | 1 | -9/+8 | |
| use kmalloc_array instead of kcalloc where appropriate and other cleanups. Signed-off-by: monk.liu <[email protected]> Reviewed-by: Christian König <[email protected]> | |||||
| 2015-08-17 | drm/amdgpu: fix UVD/VCE fence handling | Christian König | 1 | -1/+1 | |
| 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: add user fence context map v2 | Christian König | 1 | -28/+32 | |
| 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 | -2/+10 | |
| 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-16 | drm/amdgpu: stop context leak in the error path | Christian König | 1 | -2/+6 | |
| Signed-off-by: Christian König <[email protected]> Reviewed-by: Alex Deucher <[email protected]> Reviewed-by: Jammy Zhou <[email protected]> | |||||
| 2015-07-16 | drm/amdgpu: validate the context id in the dependencies | Christian König | 1 | -1/+10 | |
| Just to make sure userspace don't send nonsense to the kernel. Signed-off-by: Christian König <[email protected]> Reviewed-by: Alex Deucher <[email protected]> Reviewed-by: Jammy Zhou <[email protected]> | |||||
| 2015-06-29 | drm/amdgpu: add optional dependencies to the CS IOCTL v2 | Christian König | 1 | -1/+58 | |
| v2: remove unrelated whitespace change, fix C comment Signed-off-by: Christian König <[email protected]> Reviewed-by: Alex Deucher <[email protected]> | |||||
| 2015-06-29 | drm/amdgpu: recreate fence from user seq | Christian König | 1 | -4/+7 | |
| And use common fence infrastructure for the wait. Signed-off-by: Christian König <[email protected]> Reviewed-by: Alex Deucher <[email protected]> Reviewed-by: Chunming Zhou <[email protected]> | |||||
| 2015-06-29 | drm/amdgpu: add chunk id validity check | Christian König | 1 | -3/+11 | |
| Signed-off-by: Christian König <[email protected]> Reviewed-by: Alex Deucher <[email protected]> | |||||
| 2015-06-29 | drm/amdgpu: fix crash on invalid CS IOCTL | Christian König | 1 | -2/+3 | |
| Signed-off-by: Christian König <[email protected]> Reviewed-by: Alex Deucher <[email protected]> | |||||
| 2015-06-10 | drm/amdgpu: fix UVD/VCE VM emulation | Christian König | 1 | -3/+15 | |
| Signed-off-by: Christian König <[email protected]> Reviewed-by: Alex Deucher <[email protected]> | |||||
| 2015-06-03 | drm/amdgpu: only support IBs in the buffer list (v2) | Marek Olšák | 1 | -71/+24 | |
| amdgpu_cs_find_mapping doesn't work without all buffers being validated, so the TTM validation must be done first. v2: only use amdgpu_cs_find_mapping for UVD/VCE VM emulation Signed-off-by: Marek Olšák <[email protected]> Reviewed-by: Christian König <[email protected]> | |||||
| 2015-06-03 | drm/amdgpu: sync fence of clear_invalids (v2) | monk.liu | 1 | -1/+1 | |
| 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: fix context switch | Christian König | 1 | -8/+8 | |
| 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: add flags for amdgpu_ib structure | Jammy Zhou | 1 | -4/+2 | |
| Signed-off-by: Jammy Zhou <[email protected]> Reviewed-by: Christian König <[email protected]> | |||||
| 2015-06-03 | drm/amdgpu: check context id for context switching (v2) | Jammy Zhou | 1 | -1/+3 | |
| check the filp is not robust, and sometimes different contexts may have same filp value. v2: check both filp and ctx_id Signed-off-by: Jammy Zhou <[email protected]> Reviewed-by: Christian König <[email protected]> | |||||
| 2015-06-03 | drm/amdgpu: add ctx_id to the WAIT_CS IOCTL (v4) | Jammy Zhou | 1 | -0/+6 | |
| It is required to support fence per context. v2: add amdgpu_ctx_get/put v3: improve get/put v4: squash hlock fix Signed-off-by: Jammy Zhou <[email protected]> Reviewed-by: Christian König <[email protected]> | |||||
| 2015-06-03 | drm/amdgpu: fix bug occurs when bo_list is NULL | monk.liu | 1 | -9/+9 | |
| Still need to handle ibs BO and validate them even bo_list is NULL Signed-off-by: Monk.Liu <[email protected]> Reviewed-by: Christian König <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
| 2015-06-03 | drm/amdgpu: add core driver (v4) | Alex Deucher | 1 | -0/+825 | |
| 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]> | |||||