1 |
Author: mpagano |
2 |
Date: 2011-02-01 15:47:11 +0000 (Tue, 01 Feb 2011) |
3 |
New Revision: 1868 |
4 |
|
5 |
Added: |
6 |
genpatches-2.6/trunk/2.6.36/2800_handle-ret-from-i915-gpu-idle.patch |
7 |
Modified: |
8 |
genpatches-2.6/trunk/2.6.36/0000_README |
9 |
Log: |
10 |
Properly handle the return value from i915_wait_request call |
11 |
|
12 |
Modified: genpatches-2.6/trunk/2.6.36/0000_README |
13 |
=================================================================== |
14 |
--- genpatches-2.6/trunk/2.6.36/0000_README 2011-01-21 01:32:59 UTC (rev 1867) |
15 |
+++ genpatches-2.6/trunk/2.6.36/0000_README 2011-02-01 15:47:11 UTC (rev 1868) |
16 |
@@ -55,6 +55,10 @@ |
17 |
From: http://bugs.gentoo.org/show_bug.cgi?id=344153 |
18 |
Desc: AD codec fix for PCM stream assignments |
19 |
|
20 |
+Patch: 2800_handle-ret-from-i915-gpu-idle.patch |
21 |
+From: http://bugs.gentoo.org/show_bug.cgi?id=346705 |
22 |
+Desc: Properly handle the return value from i915_wait_request call |
23 |
+ |
24 |
Patch: 2900_xconfig-with-qt4.patch |
25 |
From: http://bugs.gentoo.org/show_bug.cgi?id=342007 |
26 |
Desc: xconfig patch for qt4 - thanks to alexander stein |
27 |
|
28 |
Added: genpatches-2.6/trunk/2.6.36/2800_handle-ret-from-i915-gpu-idle.patch |
29 |
=================================================================== |
30 |
--- genpatches-2.6/trunk/2.6.36/2800_handle-ret-from-i915-gpu-idle.patch (rev 0) |
31 |
+++ genpatches-2.6/trunk/2.6.36/2800_handle-ret-from-i915-gpu-idle.patch 2011-02-01 15:47:11 UTC (rev 1868) |
32 |
@@ -0,0 +1,11 @@ |
33 |
+--- a/drivers/gpu/drm/i915/i915_gem.c 2010-12-17 09:59:07.000000000 -0500 |
34 |
++++ b/drivers/gpu/drm/i915/i915_gem.c 2010-12-17 09:59:51.000000000 -0500 |
35 |
+@@ -2045,6 +2045,8 @@ i915_gpu_idle(struct drm_device *dev) |
36 |
+ if (seqno1 == 0) |
37 |
+ return -ENOMEM; |
38 |
+ ret = i915_wait_request(dev, seqno1, &dev_priv->render_ring); |
39 |
++ if (ret) |
40 |
++ return ret; |
41 |
+ |
42 |
+ if (HAS_BSD(dev)) { |
43 |
+ seqno2 = i915_add_request(dev, NULL, I915_GEM_GPU_DOMAINS, |