OSDN Git Service

drm/amdgpu: add initial support for sdma v5.0 (v6)
authorHawking Zhang <Hawking.Zhang@amd.com>
Sun, 31 Mar 2019 14:13:57 +0000 (22:13 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 21 Jun 2019 23:58:21 +0000 (18:58 -0500)
commitfef6e24c8b0243c3c43723949091cf999bb39c56
tree31398666971168f4568535909d64c9f6b5480292
parentbe9250fb962d36aa5e7ca05b0760e39753f5ce7a
drm/amdgpu: add initial support for sdma v5.0 (v6)

SDMA (System DMA) is a general purpose DMA engine usable
by UMDs for transfers or the kernel for paging or GPUVM
updates.

v1: support basic funcitonalites includes rb, ib, vm,
    copy buffer and trap irq
v2: convert to use new get_vm_pde in emit_vm_flush
v3: retire amdgpu_ttm_set_active_vram_size from sdma v5
v4: retire the redundant hdp_invalidate implementation
v5: squash in updates
v6: some golden regs moved to vbios

Signed-off-by: Hawking Zhang <Hawking.Zhang@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/Makefile
drivers/gpu/drm/amd/amdgpu/sdma_v5_0.c [new file with mode: 0644]
drivers/gpu/drm/amd/amdgpu/sdma_v5_0.h [new file with mode: 0644]