1 |
Author: mpagano |
2 |
Date: 2009-07-03 00:47:12 +0000 (Fri, 03 Jul 2009) |
3 |
New Revision: 1581 |
4 |
|
5 |
Added: |
6 |
genpatches-2.6/trunk/2.6.29/2705_i915-domain-set-when-faulting.patch |
7 |
Modified: |
8 |
genpatches-2.6/trunk/2.6.29/0000_README |
9 |
Log: |
10 |
i915: Set object to gtt domain when faulting it back in |
11 |
|
12 |
Modified: genpatches-2.6/trunk/2.6.29/0000_README |
13 |
=================================================================== |
14 |
--- genpatches-2.6/trunk/2.6.29/0000_README 2009-07-02 02:03:38 UTC (rev 1580) |
15 |
+++ genpatches-2.6/trunk/2.6.29/0000_README 2009-07-03 00:47:12 UTC (rev 1581) |
16 |
@@ -83,6 +83,10 @@ |
17 |
From: http://bugs.gentoo.org/show_bug.cgi?id=251237 |
18 |
Desc: usblp: continuously poll for status |
19 |
|
20 |
+Patch: 2705_i915-domain-set-when-faulting.patch |
21 |
+From: https://bugs.gentoo.org/show_bug.cgi?id=275549 |
22 |
+Desc: i915: Set object to gtt domain when faulting it back in |
23 |
+ |
24 |
Patch: 2900_bluetooth-fix-sysfs.patch |
25 |
From: http://bugs.gentoo.org/show_bug.cgi?id=274007 |
26 |
Desc: Fix hard lock with bluetooth connections |
27 |
|
28 |
Added: genpatches-2.6/trunk/2.6.29/2705_i915-domain-set-when-faulting.patch |
29 |
=================================================================== |
30 |
--- genpatches-2.6/trunk/2.6.29/2705_i915-domain-set-when-faulting.patch (rev 0) |
31 |
+++ genpatches-2.6/trunk/2.6.29/2705_i915-domain-set-when-faulting.patch 2009-07-03 00:47:12 UTC (rev 1581) |
32 |
@@ -0,0 +1,16 @@ |
33 |
+--- a/drivers/gpu/drm/i915/i915_gem.c 2009-07-02 19:05:38.000000000 -0400 |
34 |
++++ b/drivers/gpu/drm/i915/i915_gem.c 2009-07-02 20:03:53.000000000 -0400 |
35 |
+@@ -577,6 +577,13 @@ int i915_gem_fault(struct vm_area_struct |
36 |
+ mutex_unlock(&dev->struct_mutex); |
37 |
+ return VM_FAULT_SIGBUS; |
38 |
+ } |
39 |
++ |
40 |
++ ret = i915_gem_object_set_to_gtt_domain(obj, write); |
41 |
++ if (ret) { |
42 |
++ mutex_unlock(&dev->struct_mutex); |
43 |
++ return VM_FAULT_SIGBUS; |
44 |
++ } |
45 |
++ |
46 |
+ list_add(&obj_priv->list, &dev_priv->mm.inactive_list); |
47 |
+ } |
48 |
+ |