diff options
author | Jerome Glisse <jglisse@redhat.com> | 2012-12-17 10:29:06 -0500 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2012-12-19 17:44:05 -0500 |
commit | 76903b96adbfbb38b049765add21e02e44c387a5 (patch) | |
tree | 2dadaf5ec55c26195fb8c33cc5a4300f86bf01fc /drivers/gpu/drm/radeon/radeon_device.c | |
parent | 0953e76e91f4b6206cef50bd680696dc6bf1ef99 (diff) | |
download | lwn-76903b96adbfbb38b049765add21e02e44c387a5.tar.gz lwn-76903b96adbfbb38b049765add21e02e44c387a5.zip |
drm/radeon: don't leave fence blocked process on failed GPU reset
Force all fence to signal if GPU reset failed so no process get stuck
on waiting fence.
Signed-off-by: Jerome Glisse <jglisse@redhat.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Cc: stable@vger.kernel.org
Diffstat (limited to 'drivers/gpu/drm/radeon/radeon_device.c')
-rw-r--r-- | drivers/gpu/drm/radeon/radeon_device.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/radeon/radeon_device.c b/drivers/gpu/drm/radeon/radeon_device.c index 49b06590001e..e81d6cab9959 100644 --- a/drivers/gpu/drm/radeon/radeon_device.c +++ b/drivers/gpu/drm/radeon/radeon_device.c @@ -1358,6 +1358,7 @@ retry: } } } else { + radeon_fence_driver_force_completion(rdev); for (i = 0; i < RADEON_NUM_RINGS; ++i) { kfree(ring_data[i]); } |