]> git.baikalelectronics.ru Git - kernel.git/commit
drm/radeon/kms: Add support for multi-ring sync in CS ioctl (v2)
authorChristian König <deathsimple@vodafone.de>
Fri, 6 Jan 2012 03:11:06 +0000 (22:11 -0500)
committerDave Airlie <airlied@redhat.com>
Fri, 6 Jan 2012 09:16:09 +0000 (09:16 +0000)
commitb2875432a1bfa36887c649a62593f60d7411d9d0
tree7544b4fd960cbcbbfc17dea87aadd129eecf7b45
parentd8014885d54ab13415e299a8bc977df955b03cfd
drm/radeon/kms: Add support for multi-ring sync in CS ioctl (v2)

Use semaphores to sync buffers across rings in the CS
ioctl.  Add a reloc flag to allow userspace to skip
sync for buffers.

agd5f: port to latest CS ioctl changes.

v2: add ring lock/unlock to make sure changes hit the ring.

Signed-off-by: Christian König <deathsimple@vodafone.de>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/radeon/radeon.h
drivers/gpu/drm/radeon/radeon_cs.c
drivers/gpu/drm/radeon/radeon_fence.c
include/drm/radeon_drm.h