]> git.baikalelectronics.ru Git - kernel.git/commit
drm/radeon/kms: add evergreen/cayman CS parser for async DMA (v2)
authorAlex Deucher <alexander.deucher@amd.com>
Thu, 13 Dec 2012 14:55:45 +0000 (09:55 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 14 Dec 2012 15:45:25 +0000 (10:45 -0500)
commitf1e2df4fd0dba34dbca1726522e1c0a68c745094
tree61502ccac6c09b16184b617bfdcb309d19114ccf
parent59cd066f10cc665228dfcc819de2116820314031
drm/radeon/kms: add evergreen/cayman 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

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