| Commit message (Collapse) | Author | Age | Files | Lines | ||
|---|---|---|---|---|---|---|
| ... | ||||||
| * | drm/amdgpu: use amdgpu_bo_create_kernel in amdgpu_ring.c | Christian König | 2016-08-08 | 1 | -22/+5 | |
| | | | | | | | | | Saves us quite a bunch of code. Signed-off-by: Christian König <[email protected]> Reviewed-by: Chunming Zhou <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
| * | drm/amdgpu: add begin/end_use ring callbacks | Christian König | 2016-07-29 | 1 | -0/+10 | |
| | | | | | | | | | For manual UVD/VCE power and clock gating. Signed-off-by: Christian König <[email protected]> Reviewed-by: Edward O'Callaghan <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
| * | drm/amdgpu: remove fence_lock | Christian König | 2016-07-29 | 1 | -1/+0 | |
| | | | | | | | | | | Was never used as far as I can see. Signed-off-by: Christian König <[email protected]> Reviewed-by: Chunming Zhou <[email protected]> Reviewed-by: Edward O'Callaghan <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
| * | drm/amdgpu: remove more of the ring backup code | Alex Deucher | 2016-07-07 | 1 | -9/+0 | |
| | | | | | | | | Not used anymore. Reviewed-by: Christian König <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
| * | drm/amdgpu: clean up ring_backup code, no need more | Chunming Zhou | 2016-07-07 | 1 | -72/+0 | |
| | | | | | | | Signed-off-by: Chunming Zhou <[email protected]> Reviewed-by: Christian König <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
| * | drm/amdgpu: fix ring debugfs bug | Monk Liu | 2016-07-07 | 1 | -0/+10 | |
| | | | | | | | | | debugfs file added but not released after driver unloaded Signed-off-by: Monk Liu <[email protected]> Reviewed-by: Chunming Zhou <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
| * | drm/amd/amdgpu: ring debugfs is read in increments of 4 bytes | Tom St Denis | 2016-07-07 | 1 | -1/+1 | |
| | | | | | | | | | | | If a user tries to read a non-multiple of 4 bytes it would have read until the end of the ring potentially crashing the user task. Signed-off-by: Tom St Denis <[email protected]> Reviewed-by: Christian König <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
| * | drm/amd/amdgpu: Convert ring debugfs entries to binary | Tom St Denis | 2016-07-07 | 1 | -62/+59 | |
| | | | | | | | | | | They now emit ring data in binary which will be read/written by the userspace tool umr shortly. Signed-off-by: Tom St Denis <[email protected]> Reviewed-by: Christian König <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
| * | drm/amdgpu: clear RB at ring init | Monk Liu | 2016-07-07 | 1 | -0/+3 | |
| | | | | | | | | | | | This help fix reloading driver hang issue of SDMA ring. Signed-off-by: Monk Liu <[email protected]> Reviewed-by: Alex Deucher <[email protected]> Reviewed-by: Christian König <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
| * | drm/amdgpu: fix missing free wb for cond_exec | Monk Liu | 2016-06-09 | 1 | -0/+1 | |
| | | | | | | | Signed-off-by: Monk Liu <[email protected]> Reviewed-by: Christian König <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
| * | drm/amdgpu: fix the coding style in amdgpu_ring.c | Christian König | 2016-05-05 | 1 | -2/+3 | |
| | | | | | | | | | No functional change. Signed-off-by: Christian König <[email protected]> Reviewed-by: Alex Deucher <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
| * | drm/amdgpu: use the ring name for debugfs (v2) | Christian König | 2016-05-05 | 1 | -33/+23 | |
| | | | | | | | | | | | Instead of hard coding just another name in the ring code. v2: squash in Tom's rebase fix Signed-off-by: Christian König <[email protected]> Reviewed-by: Alex Deucher <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
| * | drm/amdgpu: use max_dw in ring_init | Christian König | 2016-05-05 | 1 | -9/+5 | |
| | | | | | | | | | | | | Instead of specifying the total ring size calculate that from the maximum number of dw a submission can have and the number of concurrent submissions. This fixes UVD with 8 concurrent submissions or more. Signed-off-by: Christian König <[email protected]> Reviewed-by: Alex Deucher <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
| * | drm/amdgpu: Mark all instances of struct drm_info_list as const | Nils Wallménius | 2016-05-05 | 1 | -2/+2 | |
| | | | | | | | | | | | All these are compile time constand and the drm_debugfs_create/remove_files functions take a const pointer argument. Reviewed-by: Christian König <[email protected]> Signed-off-by: Nils Wallménius <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
| * | drm/amdgpu: support cond exec | Monk Liu | 2016-05-02 | 1 | -0/+9 | |
| | | | | | | | | | | This adds the groundwork for conditional execution on SDMA which is necessary for preemption. Signed-off-by: Monk Liu <[email protected]> Reviewed-by: Christian König <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
| * | drm/amdgpu: add number of hardware submissions to amdgpu_fence_driver_init_ring | Christian König | 2016-03-16 | 1 | -1/+2 | |
| | | | | | | | | | Make this a parameter instead of using the global variable directly. Signed-off-by: Christian König <[email protected]> Acked-by: Alex Deucher <[email protected]> Reviewed-by: Chunming Zhou <[email protected]> | |||||
| * | drm/amdgpu: remove amdgpu_ring_from_fence | Christian König | 2016-03-14 | 1 | -24/+0 | |
| | | | | | | | | | Not used any more. Signed-off-by: Christian König <[email protected]> Acked-by: Alex Deucher <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
| * | drm/amdgpu: make pad_ib a ring function v3 | Christian König | 2016-02-10 | 1 | -0/+13 | |
| | | | | | | | | | | | | | The padding depends on the firmware version and we need that for BO moves as well, not only for VM updates. v2: new approach of making pad_ib a ring function v3: fix typo in macro name Signed-off-by: Christian König <[email protected]> Reviewed-by: Alex Deucher <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
| * | drm/amdgpu: remove rptr checking | Christian König | 2016-02-10 | 1 | -52/+25 | |
| | | | | | | | | | | With the scheduler enabled we don't need that any more. Signed-off-by: Christian König <[email protected]> Reviewed-by: Chunming Zhou <[email protected]> Acked-by: Alex Deucher <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
| * | drm/amdgpu: remove the ring lock v2 | Christian König | 2016-02-10 | 1 | -74/+6 | |
| | | | | | | | | | | | | It's not needed any more because all access goes through the scheduler now. v2: Update commit message. Signed-off-by: Christian König <[email protected]> Reviewed-by: Chunming Zhou <[email protected]> Acked-by: Alex Deucher <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
| * | drm/amdgpu: remove some more semaphore leftovers | Alex Deucher | 2016-02-10 | 1 | -4/+0 | |
| | | | | | | | | | No longer needed since semaphores were removed. Reviewed-by: Christian König <[email protected]> Reviewed-by: Chunming Zhou <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
| * | drm/amdgpu: fix next_rptr handling for debugfs | Christian König | 2016-01-22 | 1 | -1/+1 | |
| | | | | | | | | | That somehow got lost. Signed-off-by: Christian König <[email protected]> Reviewed-by: Chunming Zhou <[email protected]> Acked-by: Alex Deucher <[email protected]> | |||||
| * | drm/amdgpu: move ring_from_fence to common code | Christian König | 2015-10-30 | 1 | -0/+24 | |
| | | | | | | | | Going to need that elsewhere as well. Signed-off-by: Christian König <[email protected]> Reviewed-by: Alex Deucher <[email protected]> | |||||
| * | drm/amdgpu: remove old lockup detection infrastructure | Christian König | 2015-10-21 | 1 | -43/+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]> | |||||
| * | drm/amdgpu: rework sdma structures | Alex Deucher | 2015-10-14 | 1 | -2/+2 | |
| | | | | | | | | | | | Rework the sdma structures in the driver to consolidate all of the sdma info into a single structure and allow for asics that may have different numbers of sdma instances. Reviewed-by: Christian König <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
| * | drm/amdgpu: more scheduler cleanups v2 | Christian König | 2015-09-23 | 1 | -1/+3 | |
| | | | | | | | | | | | | 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: cleanup fence queue init v2 | Christian König | 2015-09-23 | 1 | -2/+0 | |
| | | | | | | | | | | | Move the fence related stuff into amdgpu_fence.c v2: rework commit message, cause this is actually not a bug Signed-off-by: Christian König <[email protected]> Reviewed-by: Chunming Zhou<[email protected]> Reviewed-by: Junwei Zhang <[email protected]> | |||||
| * | drm/amdgpu: export reservation_object from dmabuf to ttm (v2) | Christian König | 2015-09-23 | 1 | -1/+1 | |
| | | | | | | | | | | | | | Adds an extra argument to amdgpu_bo_create, which is only used in amdgpu_prime.c. Port of radeon commit 831b6966a60fe72d85ae3576056b4e4e0775b112. v2: fix up kfd. Signed-off-by: Christian König <[email protected]> Reviewed-by: Jammy Zhou <[email protected]> Reviewed-by: Alex Deucher <[email protected]> | |||||
| * | drm/amdgpu: add insert_nop ring func and default implementation | Jammy Zhou | 2015-09-02 | 1 | -3/+21 | |
| | | | | | | | | | The insert_nop function is added to amdgpu_ring_funcs structure as well as the default implementation Signed-off-by: Jammy Zhou <[email protected]> Reviewed-by: Alex Deucher <[email protected]> | |||||
| * | drm/amdgpu: move wait_queue_head from adev to ring (v2) | monk.liu | 2015-08-17 | 1 | -0/+2 | |
| | | | | | | | | | | thus unnecessary wake up could be avoid between rings v2: move wait_queue_head to fence_drv from ring Signed-off-by: monk.liu <[email protected]> Reviewed-by: Christian König <[email protected]> | |||||
| * | drm/amdgpu: protect fence_process from multiple context | Chunming Zhou | 2015-08-17 | 1 | -1/+1 | |
| | | | | | | | | | fence_process may be called from kthread, user thread and interrupt context. it is possible to called concurrently, then will wake up fence queue multiple times. Signed-off-by: Chunming Zhou <[email protected]> Reviewed-by: Jammy Zhou <[email protected]> | |||||
| * | drm/amdgpu: add core driver (v4) | Alex Deucher | 2015-06-04 | 1 | -0/+561 | |
| 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]> | ||||||
