diff mbox

[1/9] drm/radeon: wake up all fences on manual reset

Message ID 1409070910-2549-1-git-send-email-deathsimple@vodafone.de (mailing list archive)
State New, archived
Headers show

Commit Message

Christian König Aug. 26, 2014, 4:35 p.m. UTC
From: Christian König <christian.koenig@amd.com>

Wake up all fences when we manually trigger an reset.

Signed-off-by: Christian König <christian.koenig@amd.com>
---
 drivers/gpu/drm/radeon/radeon_fence.c | 1 +
 1 file changed, 1 insertion(+)

Comments

Michel Dänzer Aug. 27, 2014, 3:33 a.m. UTC | #1
I noticed a bunch of typos, other than that the series looks good to me.


Patch 1:

> Wake up all fences when we manually trigger an reset.

'trigger a reset.'


Patch 2:

> pathes.

'paths.'


Patch 7:

> drm/radeon: add timeout argument to, radeon_fence_wait_seq

'to radeon_fence_wait_seq'
diff mbox

Patch

diff --git a/drivers/gpu/drm/radeon/radeon_fence.c b/drivers/gpu/drm/radeon/radeon_fence.c
index 9137870..5bd837a 100644
--- a/drivers/gpu/drm/radeon/radeon_fence.c
+++ b/drivers/gpu/drm/radeon/radeon_fence.c
@@ -833,6 +833,7 @@  static int radeon_debugfs_gpu_reset(struct seq_file *m, void *data)
 	down_read(&rdev->exclusive_lock);
 	seq_printf(m, "%d\n", rdev->needs_reset);
 	rdev->needs_reset = true;
+	wake_up_all(&rdev->fence_queue);
 	up_read(&rdev->exclusive_lock);
 
 	return 0;