| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | drm/amdgpu: use a sync object for VMID fences v2 | Christian König | 2016-05-05 | 1 | -6/+99 |
| | | | | | | | | | | | | v2: rebase & cleanup This way we can store more than one fence as user for each VMID. Signed-off-by: Christian König <[email protected]> Acked-by: Alex Deucher <[email protected]> (v1) Reviewed-by: Chunming Zhou <[email protected]> (v1) Signed-off-by: Alex Deucher <[email protected]> | ||||
| * | drm/amdgpu: add slap cache for sync objects as well | Christian König | 2016-03-08 | 1 | -4/+32 |
| | | | | | | | | | We need them all the time. Signed-off-by: Christian König <[email protected]> Reviewed-by: Alex Deucher <[email protected]> Reviewed-by: Chunming Zhou <[email protected]> | ||||
| * | drm/amdgpu: remove HW fence owner | Christian König | 2016-03-08 | 1 | -7/+1 |
| | | | | | | | | | Not used any more since we now always use the sheduler. Signed-off-by: Christian König <[email protected]> Reviewed-by: Alex Deucher <[email protected]> Reviewed-by: Chunming Zhou <[email protected]> | ||||
| * | drm/amdgpu: cleanup the sync code | Christian König | 2016-03-08 | 1 | -18/+30 |
| | | | | | | | | | | No need for two functions doing the same, remove one and add comments what those functions actually do. Signed-off-by: Christian König <[email protected]> Reviewed-by: Alex Deucher <[email protected]> Reviewed-by: Chunming Zhou <[email protected]> | ||||
| * | drm/amdgpu: remove adev and fence from amdgpu_sync_free | Christian König | 2016-02-10 | 1 | -5/+1 |
| | | | | | | | | | Just leftovers from the semaphores. Signed-off-by: Christian König <[email protected]> Reviewed-by: Alex Deucher <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | ||||
| * | drm/amdgpu: remove sync_to from sync obj v2 | Christian König | 2016-02-10 | 1 | -35/+9 |
| | | | | | | | | | | | Not needed any more without semaphores. v2: remove unused variables as well Signed-off-by: Christian König <[email protected]> Reviewed-by: Chunming Zhou <[email protected]> Acked-by: Alex Deucher <[email protected]> | ||||
| * | drm/amdgpu: cleanup amdgpu_sync_rings V2 | Chunming Zhou | 2016-02-10 | 1 | -42/+0 |
| | | | | | | | | | | | | No longer needed now that semaphores are gone. V2: remove the first amdgpu_sync_wait in amdgpu_ib_schedule Signed-off-by: Chunming Zhou <[email protected]> Reviewed-by: Ken Wang <[email protected]> (V1) Reviewed-by: Monk Liu <[email protected]> (V2) Signed-off-by: Alex Deucher <[email protected]> | ||||
| * | drm/amdgpu: clean up hw semaphore support in driver | Chunming Zhou | 2016-02-10 | 1 | -60/+4 |
| | | | | | | | | | | No longer used. Signed-off-by: Chunming Zhou <[email protected]> Reviewed-by: Ken Wang <[email protected]> Reviewed-by: Monk Liu <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | ||||
| * | drm/amdgpu: fix lost sync_to if scheduler is enabled. | Chunming Zhou | 2016-01-13 | 1 | -2/+3 |
| | | | | | | | | | when scheduler is enabled, the semaphore isn't used at all. Signed-off-by: Chunming Zhou <[email protected]> Reviewed-by: Christian König <[email protected]> Cc: [email protected] | ||||
| * | drm/amdgpu: wait interruptible when semaphores are disabled v2 | Christian König | 2015-11-16 | 1 | -2/+8 |
| | | | | | | | | | | Otherwise debugging locked up processes isn't possible. v2: rebased Signed-off-by: Christian König <[email protected]> Reviewed-by: Alex Deucher <[email protected]> (v1) | ||||
| * | drm/amdgpu: remove AMDGPU_FENCE_OWNER_MOVE | Christian König | 2015-11-04 | 1 | -2/+2 |
| | | | | | | | | | Moves are exclusive operations anyway, just use the undefined owner for those. Signed-off-by: Christian König <[email protected]> Reviewed-by: Chunming Zhou <[email protected]> Reviewed-by: Alex Deucher <[email protected]> | ||||
| * | drm/amdgpu: use common fence for sync | Christian König | 2015-10-30 | 1 | -10/+11 |
| | | | | | | | | Stop using the driver internal functions. Signed-off-by: Christian König <[email protected]> Reviewed-by: Alex Deucher <[email protected]> | ||||
| * | drm/amdgpu: use the new fence_is_later | Christian König | 2015-10-30 | 1 | -17/+13 |
| | | | | | | | | Instead of coding the check ourself. Signed-off-by: Christian König <[email protected]> Reviewed-by: Alex Deucher <[email protected]> | ||||
| * | drm/amdgpu: more scheduler cleanups v2 | Christian König | 2015-09-23 | 1 | -2/+8 |
| | | | | | | | | | | | | Embed the scheduler into the ring structure instead of allocating it. Use the ring name directly instead of the id. v2: rebased, whitespace cleanup Signed-off-by: Christian König <[email protected]> Reviewed-by: Junwei Zhang <[email protected]> Reviewed-by: Chunming Zhou<[email protected]> | ||||
| * | drm/amdgpu: rename fence->scheduler to sched v2 | Christian König | 2015-09-23 | 1 | -1/+1 |
| | | | | | | | | | | | Just to be consistent with the other members. v2: rename the ring member as well. Signed-off-by: Christian König <[email protected]> Reviewed-by: Junwei Zhang <[email protected]> (v1) Reviewed-by: Chunming Zhou<[email protected]> | ||||
| * | drm/amdgpu: add option to disable semaphores | Christian König | 2015-09-23 | 1 | -1/+16 |
| | | | | | | | | | Provide module parameter to enable/disable them. Still enabled by default. Signed-off-by: Christian König <[email protected]> Reviewed-by: Alex Deucher <[email protected]> | ||||
| * | drm/amdgpu: re-work sync_resv | Chunming Zhou | 2015-09-02 | 1 | -6/+18 |
| | | | | | | | | | sync_resv is to handle both amdgpu_fence and sched_fence. Signed-off-by: Chunming Zhou <[email protected]> Reviewed-by: Jammy Zhou <[email protected]> Reviewed-by: Christian K?nig <[email protected]> | ||||
| * | drm/amdgpu: add scheduler dependency callback v2 | Christian König | 2015-08-28 | 1 | -0/+22 |
| | | | | | | | | | | | This way the scheduler doesn't wait in it's work thread any more. v2: fix race conditions Signed-off-by: Christian König <[email protected]> Reviewed-by: Chunming Zhou <[email protected]> Reviewed-by: Jammy Zhou <[email protected]> | ||||
| * | drm/amdgpu: fix last_vm_update fence is not effetive for sched fence | Chunming Zhou | 2015-08-25 | 1 | -8/+37 |
| | | | | | | Signed-off-by: Chunming Zhou <[email protected]> Reviewed-by: Christian K?nig <[email protected]> | ||||
| * | drm/amdgpu: fix fence wait in sync_fence, instead should be in sync_rings | Christian König | 2015-08-25 | 1 | -2/+54 |
| | | | | | | | Signed-off-by: Christian König <[email protected]> Signed-off-by: Chunming Zhou <[email protected]> Reviewed-by: Christian K?nig <[email protected]> | ||||
| * | drm/amdgpu: improve sa_bo->fence by kernel fence | Chunming Zhou | 2015-08-25 | 1 | -1/+1 |
| | | | | | | Signed-off-by: Chunming Zhou <[email protected]> Reviewed-by: Christian K?nig <[email protected]> | ||||
| * | drm/amdgpu: remove amdgpu_fence_wait | Christian König | 2015-08-17 | 1 | -3/+3 |
| | | | | | | | | It was just a wrapper for fence_wait anyway. Signed-off-by: Christian König <[email protected]> Reviewed-by: Alex Deucher <[email protected]> | ||||
| * | drm/amdgpu: fix syncing to VM updates | Christian König | 2015-08-17 | 1 | -3/+16 |
| | | | | | | Signed-off-by: Christian König <[email protected]> Reviewed-by: Alex Deucher <[email protected]> | ||||
| * | drm/amdgpu: disable hw semaphore with scheduler | Chunming Zhou | 2015-08-17 | 1 | -1/+1 |
| | | | | | | | Signed-off-by: Chunming Zhou <[email protected]> Acked-by: Christian K?nig <[email protected]> Reviewed-by: Jammy Zhou <[email protected]> | ||||
| * | drm/amdgpu: deal with foreign fences in amdgpu_sync | Christian König | 2015-08-17 | 1 | -20/+21 |
| | | | | | | | | | 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]> | ||||
| * | drm/amdgpu: do necessary NULL check | Jammy Zhou | 2015-06-04 | 1 | -2/+5 |
| | | | | | | Signed-off-by: Jammy Zhou <[email protected]> Reviewed-by: Christian König <[email protected]> | ||||
| * | drm/amdgpu: add core driver (v4) | Alex Deucher | 2015-06-04 | 1 | -0/+231 |
| 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]> | |||||
