| Age | Commit message (Collapse) | Author | Files | Lines | |
|---|---|---|---|---|---|
| 2016-07-07 | drm/amdgpu: use a fence array for VMID management | Christian König | 1 | -56/+13 | |
| Just wait for any fence to become available, instead of waiting for the last entry of the LRU. Acked-by: Alex Deucher <[email protected]> Signed-off-by: Christian König <[email protected]> Acked-by: Chunming Zhou <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
| 2016-07-07 | drm/amdgpu: add optional ring to amdgpu_sync_is_idle | Christian König | 1 | -2/+15 | |
| Check if the sync object is idle depending on the ring a submission works with. Acked-by: Alex Deucher <[email protected]> Signed-off-by: Christian König <[email protected]> Acked-by: Chunming Zhou <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
| 2016-07-07 | drm/amdgpu: remove amdgpu_sync_wait | Christian König | 1 | -19/+0 | |
| Stop hiding bugs, instead print a proper error when the scheduler doesn't handle all dependencies. Acked-by: Alex Deucher <[email protected]> Signed-off-by: Christian König <[email protected]> Acked-by: Chunming Zhou <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
| 2016-07-07 | drm/amdgpu: document amdgpu_sync_get_fence | Christian König | 1 | -0/+7 | |
| It's not obvious what it should do. Acked-by: Alex Deucher <[email protected]> Signed-off-by: Christian König <[email protected]> Acked-by: Chunming Zhou <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
| 2016-05-04 | drm/amdgpu: use a sync object for VMID fences v2 | Christian König | 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]> | |||||
| 2016-03-08 | drm/amdgpu: add slap cache for sync objects as well | Christian König | 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]> | |||||
| 2016-03-08 | drm/amdgpu: remove HW fence owner | Christian König | 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]> | |||||
| 2016-03-08 | drm/amdgpu: cleanup the sync code | Christian König | 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]> | |||||
| 2016-02-10 | drm/amdgpu: remove adev and fence from amdgpu_sync_free | Christian König | 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]> | |||||
| 2016-02-10 | drm/amdgpu: remove sync_to from sync obj v2 | Christian König | 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]> | |||||
| 2016-02-10 | drm/amdgpu: cleanup amdgpu_sync_rings V2 | Chunming Zhou | 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]> | |||||
| 2016-02-10 | drm/amdgpu: clean up hw semaphore support in driver | Chunming Zhou | 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]> | |||||
| 2016-01-13 | drm/amdgpu: fix lost sync_to if scheduler is enabled. | Chunming Zhou | 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] | |||||
| 2015-11-16 | drm/amdgpu: wait interruptible when semaphores are disabled v2 | Christian König | 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) | |||||
| 2015-11-04 | drm/amdgpu: remove AMDGPU_FENCE_OWNER_MOVE | Christian König | 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]> | |||||
| 2015-10-30 | drm/amdgpu: use common fence for sync | Christian König | 1 | -10/+11 | |
| Stop using the driver internal functions. Signed-off-by: Christian König <[email protected]> Reviewed-by: Alex Deucher <[email protected]> | |||||
| 2015-10-30 | drm/amdgpu: use the new fence_is_later | Christian König | 1 | -17/+13 | |
| Instead of coding the check ourself. Signed-off-by: Christian König <[email protected]> Reviewed-by: Alex Deucher <[email protected]> | |||||
| 2015-09-23 | drm/amdgpu: more scheduler cleanups v2 | Christian König | 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]> | |||||
| 2015-09-23 | drm/amdgpu: rename fence->scheduler to sched v2 | Christian König | 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]> | |||||
| 2015-09-23 | drm/amdgpu: add option to disable semaphores | Christian König | 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]> | |||||
| 2015-09-02 | drm/amdgpu: re-work sync_resv | Chunming Zhou | 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]> | |||||
| 2015-08-28 | drm/amdgpu: add scheduler dependency callback v2 | Christian König | 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]> | |||||
| 2015-08-25 | drm/amdgpu: fix last_vm_update fence is not effetive for sched fence | Chunming Zhou | 1 | -8/+37 | |
| Signed-off-by: Chunming Zhou <[email protected]> Reviewed-by: Christian K?nig <[email protected]> | |||||
| 2015-08-25 | drm/amdgpu: fix fence wait in sync_fence, instead should be in sync_rings | Christian König | 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]> | |||||
| 2015-08-25 | drm/amdgpu: improve sa_bo->fence by kernel fence | Chunming Zhou | 1 | -1/+1 | |
| Signed-off-by: Chunming Zhou <[email protected]> Reviewed-by: Christian K?nig <[email protected]> | |||||
| 2015-08-17 | drm/amdgpu: remove amdgpu_fence_wait | Christian König | 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]> | |||||
| 2015-08-17 | drm/amdgpu: fix syncing to VM updates | Christian König | 1 | -3/+16 | |
| Signed-off-by: Christian König <[email protected]> Reviewed-by: Alex Deucher <[email protected]> | |||||
| 2015-08-17 | drm/amdgpu: disable hw semaphore with scheduler | Chunming Zhou | 1 | -1/+1 | |
| 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: deal with foreign fences in amdgpu_sync | Christian König | 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]> | |||||
| 2015-06-03 | drm/amdgpu: do necessary NULL check | Jammy Zhou | 1 | -2/+5 | |
| 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/+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]> | |||||