drm/radeon/cik: use a mutex to properly lock srbm instanced registers
authorAlex Deucher <alexander.deucher@amd.com>
Tue, 6 Aug 2013 16:40:16 +0000 (12:40 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 7 Aug 2013 21:37:18 +0000 (17:37 -0400)
commitf61d5b46771a352fad1ac7f99008ef52a7ffcb72
treeb305a6940a4b04980f54e30a0807ada45eed6d1f
parent3744b248f9c617295f1fd015d67281a67e592ecb
drm/radeon/cik: use a mutex to properly lock srbm instanced registers

We need proper locking in the driver when accessing instanced
registers on CIK.

Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/radeon/cik.c
drivers/gpu/drm/radeon/radeon.h
drivers/gpu/drm/radeon/radeon_device.c