diff options
author | Maarten Lankhorst <maarten.lankhorst@canonical.com> | 2014-09-03 16:59:41 +0200 |
---|---|---|
committer | Maarten Lankhorst <maarten.lankhorst@canonical.com> | 2014-09-03 17:09:11 +0200 |
commit | d7e4d671369263381dd3a02e1f240f675be6b1f5 (patch) | |
tree | e4c8b80b475129edbf1fec601d3d07696ef11725 /drivers/gpu/drm/qxl/qxl_debugfs.c | |
parent | 47c1296829505d119d7d58dd23d39cc5db344f12 (diff) | |
download | op-kernel-dev-d7e4d671369263381dd3a02e1f240f675be6b1f5.zip op-kernel-dev-d7e4d671369263381dd3a02e1f240f675be6b1f5.tar.gz |
drm/qxl: Remove release_lock stupidity
The locking of release_lock was stupid; t should have been be called with
fence_lock_irq if it was legitimately used. Unfortunately it never protected
anything except the fence implementation correctly.
Signed-off-by: Maarten Lankhorst <maarten.lankhorst@canonical.com>
Diffstat (limited to 'drivers/gpu/drm/qxl/qxl_debugfs.c')
-rw-r--r-- | drivers/gpu/drm/qxl/qxl_debugfs.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/gpu/drm/qxl/qxl_debugfs.c b/drivers/gpu/drm/qxl/qxl_debugfs.c index a4a63fd..6911b8c 100644 --- a/drivers/gpu/drm/qxl/qxl_debugfs.c +++ b/drivers/gpu/drm/qxl/qxl_debugfs.c @@ -57,7 +57,6 @@ qxl_debugfs_buffers_info(struct seq_file *m, void *data) struct qxl_device *qdev = node->minor->dev->dev_private; struct qxl_bo *bo; - spin_lock(&qdev->release_lock); list_for_each_entry(bo, &qdev->gem.objects, list) { struct reservation_object_list *fobj; int rel; @@ -71,7 +70,6 @@ qxl_debugfs_buffers_info(struct seq_file *m, void *data) (unsigned long)bo->gem_base.size, bo->pin_count, rel); } - spin_unlock(&qdev->release_lock); return 0; } |