1 |
Author: mpagano |
2 |
Date: 2010-12-01 01:09:15 +0000 (Wed, 01 Dec 2010) |
3 |
New Revision: 1834 |
4 |
|
5 |
Added: |
6 |
genpatches-2.6/trunk/2.6.36/2800_ttm-bo-init-retry-after-failure.patch |
7 |
Modified: |
8 |
genpatches-2.6/trunk/2.6.36/0000_README |
9 |
Log: |
10 |
Fix retrying ttm_bo_init() after it failed once |
11 |
|
12 |
Modified: genpatches-2.6/trunk/2.6.36/0000_README |
13 |
=================================================================== |
14 |
--- genpatches-2.6/trunk/2.6.36/0000_README 2010-11-22 23:52:07 UTC (rev 1833) |
15 |
+++ genpatches-2.6/trunk/2.6.36/0000_README 2010-12-01 01:09:15 UTC (rev 1834) |
16 |
@@ -47,6 +47,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_ttm-bo-init-retry-after-failure.patch |
21 |
+From: http://tinyurl.com/39fzx9t |
22 |
+Desc: radeon: Fix retrying ttm_bo_init() after it failed once |
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_ttm-bo-init-retry-after-failure.patch |
29 |
=================================================================== |
30 |
--- genpatches-2.6/trunk/2.6.36/2800_ttm-bo-init-retry-after-failure.patch (rev 0) |
31 |
+++ genpatches-2.6/trunk/2.6.36/2800_ttm-bo-init-retry-after-failure.patch 2010-12-01 01:09:15 UTC (rev 1834) |
32 |
@@ -0,0 +1,20 @@ |
33 |
+--- a/drivers/gpu/drm/radeon/radeon_object.c 2010-11-30 19:36:43.003461127 -0500 |
34 |
++++ b/drivers/gpu/drm/radeon/radeon_object.c 2010-11-30 19:44:48.197516895 -0500 |
35 |
+@@ -102,6 +102,8 @@ int radeon_bo_create(struct radeon_devic |
36 |
+ type = ttm_bo_type_device; |
37 |
+ } |
38 |
+ *bo_ptr = NULL; |
39 |
++ |
40 |
++retry: |
41 |
+ bo = kzalloc(sizeof(struct radeon_bo), GFP_KERNEL); |
42 |
+ if (bo == NULL) |
43 |
+ return -ENOMEM; |
44 |
+@@ -109,8 +111,6 @@ int radeon_bo_create(struct radeon_devic |
45 |
+ bo->gobj = gobj; |
46 |
+ bo->surface_reg = -1; |
47 |
+ INIT_LIST_HEAD(&bo->list); |
48 |
+- |
49 |
+-retry: |
50 |
+ radeon_ttm_placement_from_domain(bo, domain); |
51 |
+ /* Kernel allocation are uninterruptible */ |
52 |
+ mutex_lock(&rdev->vram_mutex); |