]> git.baikalelectronics.ru Git - kernel.git/commit
radeon: Split out ring locking and allocation
authorMatthew Garrett <mjg@redhat.com>
Fri, 30 Apr 2010 19:24:17 +0000 (15:24 -0400)
committerDave Airlie <airlied@redhat.com>
Tue, 18 May 2010 08:21:45 +0000 (18:21 +1000)
commit7366f8f22c26ced8aee1e24f60a0b76e5a1a5a64
tree24d82df7ed2b7f23e49963b6aa7ae31adbebe8f2
parent369904bca65a796f4de78550003824fc2d974c5f
radeon: Split out ring locking and allocation

We need to handle the ring while we've already locked it, so split out
the allocation and commit functions in order to allow them to be used.

Signed-off-by: Matthew Garrett <mjg@redhat.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/radeon/radeon.h
drivers/gpu/drm/radeon/radeon_ring.c