Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2020-01-30 | drm/amdgpu: allocate entities on demand | Nirmoy Das | 1 | -2/+4 | |
Currently we pre-allocate entities and fences for all the HW IPs on context creation and some of which are might never be used. This patch tries to resolve entity/fences wastage by creating entity only when needed. v2: allocate memory for entity and fences together Signed-off-by: Nirmoy Das <[email protected]> Reviewed-by: Christian König <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2020-01-22 | drm/amdgpu: individualize fence allocation per entity | Nirmoy Das | 1 | -1/+0 | |
Allocate fences for each entity and remove ctx->fences reference as fences should be bound to amdgpu_ctx_entity instead amdgpu_ctx. Signed-off-by: Nirmoy Das <[email protected]> Reviewed-by: Christian König <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2019-12-18 | amd/amdgpu: add sched array to IPs with multiple run-queues | Nirmoy Das | 1 | -0/+3 | |
This sched array can be passed on to entity creation routine instead of manually creating such sched array on every context creation. v2: squash in missing break fix Signed-off-by: Nirmoy Das <[email protected]> Reviewed-by: Christian König <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2019-08-23 | drm/amdgpu: correct ras error count type | Guchun Chen | 1 | -2/+2 | |
Use unsigned long type for the same ras count variable. This will avoid overflow on 64 bit system. Signed-off-by: Guchun Chen <[email protected]> Reviewed-by: Tao Zhou <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2019-03-19 | drm/amdgpu: wait for VM to become idle during flush | Christian König | 1 | -1/+1 | |
Make sure that not only the entities are flush, but that we also wait for the HW to finish all processing. Signed-off-by: Christian König <[email protected]> Reviewed-by: Chunming Zhou <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2019-03-19 | drm/amdgpu: Add a new flag to AMDGPU_CTX_OP_QUERY_STATE2 | xinhui pan | 1 | -0/+2 | |
Add AMDGPU_CTX_QUERY2_FLAGS_RAS_CE/UE which indicate if any error happened between previous query and this query. Signed-off-by: xinhui pan <[email protected]> Reviewed-by: Alex Deucher <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2018-08-27 | drm/amdgpu: amdgpu_ctx_add_fence can't fail | Christian König | 1 | -3/+3 | |
No more waiting for a fence done here. Signed-off-by: Christian König <[email protected]> Reviewed-by: Chunming Zhou <[email protected]> Reviewed-by: Junwei Zhang <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2018-08-27 | drm/amdgpu: rework ctx entity creation | Christian König | 1 | -14/+16 | |
Use a fixed number of entities for each hardware IP. The number of compute entities is reduced to four, SDMA keeps it two entities and all other engines just expose one entity. Signed-off-by: Christian König <[email protected]> Reviewed-by: Chunming Zhou <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2018-08-27 | drm/amdgpu: use entity instead of ring for CS | Christian König | 1 | -7/+9 | |
Further demangle ring from entity handling. Signed-off-by: Christian König <[email protected]> Reviewed-by: Chunming Zhou <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2018-08-27 | drm/amdgpu: move context related stuff to amdgpu_ctx.h | Christian König | 1 | -0/+84 | |
Further unmangle amdgpu.h. Signed-off-by: Christian König <[email protected]> Reviewed-by: Chunming Zhou <[email protected]> Reviewed-by: Huang Rui <[email protected]> Signed-off-by: Alex Deucher <[email protected]> |