diff options
Diffstat (limited to 'drivers/gpu/drm/radeon/radeon_device.c')
-rw-r--r-- | drivers/gpu/drm/radeon/radeon_device.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/gpu/drm/radeon/radeon_device.c b/drivers/gpu/drm/radeon/radeon_device.c index 36296ad397a1..023c156eddd0 100644 --- a/drivers/gpu/drm/radeon/radeon_device.c +++ b/drivers/gpu/drm/radeon/radeon_device.c | |||
@@ -718,7 +718,8 @@ int radeon_device_init(struct radeon_device *rdev, | |||
718 | * can recall function without having locking issues */ | 718 | * can recall function without having locking issues */ |
719 | radeon_mutex_init(&rdev->cs_mutex); | 719 | radeon_mutex_init(&rdev->cs_mutex); |
720 | mutex_init(&rdev->ib_pool.mutex); | 720 | mutex_init(&rdev->ib_pool.mutex); |
721 | mutex_init(&rdev->cp.mutex); | 721 | for (i = 0; i < RADEON_NUM_RINGS; ++i) |
722 | mutex_init(&rdev->cp[i].mutex); | ||
722 | mutex_init(&rdev->dc_hw_i2c_mutex); | 723 | mutex_init(&rdev->dc_hw_i2c_mutex); |
723 | if (rdev->family >= CHIP_R600) | 724 | if (rdev->family >= CHIP_R600) |
724 | spin_lock_init(&rdev->ih.lock); | 725 | spin_lock_init(&rdev->ih.lock); |