]> git.baikalelectronics.ru Git - kernel.git/commit
drm/radeon/kms: add 6xx/7xx CS parser for async DMA (v2)
authorAlex Deucher <alexander.deucher@amd.com>
Fri, 18 Nov 2011 15:19:47 +0000 (10:19 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 14 Dec 2012 15:45:25 +0000 (10:45 -0500)
commit59cd066f10cc665228dfcc819de2116820314031
tree63b0f56e633db1f515841831cb81e91864f38da0
parent8253848b92466146f45216b14be3415d66a7db2b
drm/radeon/kms: add 6xx/7xx CS parser for async DMA (v2)

Allows us to use the DMA ring from userspace.
DMA doesn't have a good NOP packet in which to embed the
reloc idx, so userspace has to add a reloc for each
buffer used and order them to match the command stream.

v2: fix address bounds checking, reloc indexing

Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/radeon/r600_cs.c
drivers/gpu/drm/radeon/radeon.h
drivers/gpu/drm/radeon/radeon_asic.c
drivers/gpu/drm/radeon/radeon_asic.h
drivers/gpu/drm/radeon/radeon_cs.c