| Age | Commit message (Collapse) | Author | Files | Lines | |
|---|---|---|---|---|---|
| 2015-08-25 | drm/amdgpu: remove the context from amdgpu_job | Christian König | 1 | -7/+0 | |
| Signed-off-by: Christian König <[email protected]> Reviewed-by: Chunming Zhou <[email protected]> | |||||
| 2015-08-25 | drm/amdgpu: remove v_seq handling from the scheduler v2 | Christian König | 1 | -15/+5 | |
| 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-20 | drm/amdgpu: abstract amdgpu_job for scheduler | Chunming Zhou | 1 | -0/+7 | |
| Signed-off-by: Chunming Zhou <[email protected]> Reviewed-by: Christian K?nig <[email protected]> | |||||
| 2015-08-17 | drm/amdgpu: cleanup sheduler rq handling v2 | Christian König | 1 | -1/+1 | |
| Rework run queue implementation, especially remove the odd list handling. v2: cleanup the code only, no algorithem change. Signed-off-by: Christian König <[email protected]> Reviewed-by: Chunming Zhou <[email protected]> | |||||
| 2015-08-17 | drm/amd: add scheduler fence implementation (v2) | Chunming Zhou | 1 | -10/+0 | |
| 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: 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 | drm/amdgpu: remove unused parent entity | Christian König | 1 | -1/+1 | |
| Signed-off-by: Christian König <[email protected]> Reviewed-by: Alex Deucher <[email protected]> Reviewed-by: Chunming Zhou <[email protected]> | |||||
| 2015-08-17 | drm/amdgpu: cleanup amdgpu_ctx inti/fini v2 | Christian König | 1 | -77/+68 | |
| 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: stop leaking the ctx id into the scheduler v2 | Christian König | 1 | -7/+4 | |
| Id's are for the IOCTL ABI only. v2: remove tgid as well Signed-off-by: Christian König <[email protected]> Reviewed-by: Chunming Zhou <[email protected]> | |||||
| 2015-08-17 | drm/amdgpu: cleanup ctx_mgr init/fini | Christian König | 1 | -17/+23 | |
| Signed-off-by: Christian König <[email protected]> Reviewed-by: Chunming Zhou <[email protected]> | |||||
| 2015-08-17 | drm/amdgpu: add amd_sched_next_queued_seq function | Jammy Zhou | 1 | -1/+1 | |
| This function is used to get the next queued sequence number 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: fix seq in ctx_add_fence | Chunming Zhou | 1 | -2/+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: wait forever for wait emit | Chunming Zhou | 1 | -2/+2 | |
| 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: add amdgpu.sched_jobs option | Jammy Zhou | 1 | -1/+2 | |
| This option can be used to specify the max job number in the job queue, and it is 16 by default. Signed-off-by: Jammy Zhou <[email protected]> Reviewed-by: Chunming Zhou <[email protected]> | |||||
| 2015-08-17 | drm/amdgpu: add kernel ctx support (v2) | Chunming Zhou | 1 | -24/+59 | |
| v2: rebase against kfd changes 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 | -0/+10 | |
| 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: use scheduler user seq instead of previous user seq | Chunming Zhou | 1 | -6/+20 | |
| 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: add context entity init | Chunming Zhou | 1 | -1/+35 | |
| 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: fix signed overrun in amdgpu_ctx_get_fence | Christian König | 1 | -1/+1 | |
| Otherwise the first 16 fences of a context will always signal immediately. Signed-off-by: Christian König <[email protected]> Reviewed-by: Jammy Zhou <[email protected]> | |||||
| 2015-08-17 | drm/amdgpu: fix context memory leak | Christian König | 1 | -0/+1 | |
| 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/+59 | |
| 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: cleanup context structure v2 | Alex Deucher | 1 | -21/+7 | |
| The comment is misleading and incorrect, remove it. Printing the id is completely meaningless and this practice can cause a race conditions on command submission. The flags and hangs fields are completely unused. Give all fields a common indentation. v2: remove fpriv reference and unused flags as well, fix debug message. 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: add and implement the GPU reset status query | Marek Olšák | 1 | -13/+23 | |
| Signed-off-by: Marek Olšák <[email protected]> Reviewed-by: Christian König <[email protected]> Reviewed-by: Jammy Zhou <[email protected]> | |||||
| 2015-06-03 | drm/amdgpu: add ctx_id to the WAIT_CS IOCTL (v4) | Jammy Zhou | 1 | -0/+30 | |
| 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: make the CTX ioctl thread-safe | Marek Olšák | 1 | -10/+10 | |
| The existing locks were protecting the list, but not the elements. v2: rename hlock to lock Signed-off-by: Marek Olšák <[email protected]> Reviewed-by: Christian König <[email protected]> Reviewed-by: Jammy Zhou <[email protected]> | |||||
| 2015-06-03 | drm/amdgpu: remove unsafe context releasing | Marek Olšák | 1 | -10/+2 | |
| If ctx was released between put and get, then "get" would crash. Signed-off-by: Marek Olšák <[email protected]> Reviewed-by: Christian König <[email protected]> Reviewed-by: Jammy Zhou <[email protected]> | |||||
| 2015-06-03 | drm/amdgpu: add core driver (v4) | Alex Deucher | 1 | -0/+161 | |
| 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]> | |||||