radeon: protect cs ioctl atomic part with a mutex
authorJerome Glisse <glisse@freedesktop.org>
Sun, 16 Nov 2008 17:11:00 +0000 (18:11 +0100)
committerJerome Glisse <glisse@freedesktop.org>
Sun, 16 Nov 2008 17:11:00 +0000 (18:11 +0100)
commit7270731a8b7ebe11fe6df4f368c2ed613a530b52
tree8fc2affe872610dfe08c77e9173e9781256d69c4
parentc0ba14fd90e7495d5634c1ce0a9fb5be26230010
radeon: protect cs ioctl atomic part with a mutex

A small subset of CS need to be atomic (relocation+IB commit to
ring) right now, because of the way relocation are handled, we
need to protect the whole ioctl.
shared-core/radeon_cs.c
shared-core/radeon_drv.h