]> git.baikalelectronics.ru Git - kernel.git/commit
drm/radeon/kms: sync across multiple rings when doing bo moves v3
authorAlex Deucher <alexander.deucher@amd.com>
Fri, 6 Jan 2012 03:11:07 +0000 (22:11 -0500)
committerDave Airlie <airlied@redhat.com>
Fri, 6 Jan 2012 09:16:38 +0000 (09:16 +0000)
commitb84128a82977551f4f3ef7bcbdff4e5e712e060a
tree2d2be47822cec764e1a83d6294b0f94b6591f5d6
parentb2875432a1bfa36887c649a62593f60d7411d9d0
drm/radeon/kms: sync across multiple rings when doing bo moves v3

We need to synchronize across rings when doing a bo move to make
sure we the buffer is idle if it's in use by a different ring than
the ring doing the move.

v2: fix fence setup for bo moves

v3: add missing ring lock/unlock

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_asic.c
drivers/gpu/drm/radeon/radeon_ttm.c