Alex Deucher
2a85e816cc
drm/amdgpu/sdma4: APUs do not have a page queue
...
Don't use the paging queue on APUs.
Tested-by: Tom St Denis <tom.stdenis@amd.com >
Reviewed-by: Christian König <christian.koenig@amd.com >
Signed-off-by: Alex Deucher <alexander.deucher@amd.com >
2018-11-05 14:20:58 -05:00
Christian König
9194a33903
drm/amdgpu: add basics for SDMA page queue support
...
Just the common helper and a new ring in the SDMA instance.
Signed-off-by: Christian König <christian.koenig@amd.com >
Reviewed-by: Huang Rui <ray.huang@amd.com >
Signed-off-by: Alex Deucher <alexander.deucher@amd.com >
2018-11-05 14:20:54 -05:00
Christian König
4eb10b5be7
drm/amdgpu: fix incorrect use of amdgpu_irq_add_id in si_dma.c
...
Adding a second irq source because of a different src_id is actually a
bug.
Signed-off-by: Christian König <christian.koenig@amd.com >
Reviewed-by: Huang Rui <ray.huang@amd.com >
Signed-off-by: Alex Deucher <alexander.deucher@amd.com >
2018-10-09 17:07:05 -05:00
Huang Rui
bb7743bc20
drm/amdgpu: move sdma definitions into amdgpu_sdma header
...
Demangle amdgpu.h.
Furthermore, SDMA is used for moving and clearing the data buffer, so the header
also need be included in ttm.
Signed-off-by: Huang Rui <ray.huang@amd.com >
Acked-by: Christian König <christian.koenig@amd.com >
Signed-off-by: Alex Deucher <alexander.deucher@amd.com >
2018-08-27 11:09:55 -05:00