drm/radeon/kms: prevent parallel AtomBIOS calls
authorRafał Miłecki <zajec5@gmail.com>
Wed, 16 Dec 2009 23:00:46 +0000 (00:00 +0100)
committerDave Airlie <airlied@redhat.com>
Wed, 23 Dec 2009 01:14:03 +0000 (11:14 +1000)
commitc31ad97f1886a2ff0f3356dc31d50c57944365da
tree4e6de647819a7acdcd7651efeb7c1db14a6179c7
parentd79766fab9975c6414ebab7d2abf017834a48c35
drm/radeon/kms: prevent parallel AtomBIOS calls

This just adds a mutex around the atombios table execution
so we don't call it from two contexts at once.

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/radeon/atom.c
drivers/gpu/drm/radeon/atom.h
drivers/gpu/drm/radeon/radeon_device.c