Displaying 6 results from an estimated 6 matches for "ttm_bo_swapout".
2010 Jan 09
2
[TTM] general protection fault in ttm_tt_swapout, to_virtual looks screwed up
...000, task ffff88003d2ae360)
Stack:
ffff88003e00b910 ffff88003749ffd8 ffff880037795a00 ffff8800377918b8
<0> 000000001f4be800 ffff88001f4be870 ffff88001f4be800 0000000000000000
<0> ffff88001f4be844 ffff88003edb95d8 ffff88003749fdb0 ffffffffa017d550
Call Trace:
[<ffffffffa017d550>] ttm_bo_swapout+0x1df/0x222 [ttm]
[<ffffffffa017b38d>] ttm_shrink+0x9b/0xc0 [ttm]
[<ffffffffa017b3c6>] ttm_shrink_work+0x14/0x16 [ttm]
[<ffffffff810489c7>] worker_thread+0x1b7/0x25e
[<ffffffffa017b3b2>] ? ttm_shrink_work+0x0/0x16 [ttm]
[<ffffffff8104bd8a>] ? autoremove_wake_funct...
2010 Jun 26
19
[Bug 28763] New: Kernel Oops when displaying a large image
https://bugs.freedesktop.org/show_bug.cgi?id=28763
Summary: Kernel Oops when displaying a large image
Product: xorg
Version: unspecified
Platform: Other
OS/Version: All
Status: NEW
Severity: normal
Priority: medium
Component: Driver/nouveau
AssignedTo: nouveau at lists.freedesktop.org
2014 May 14
0
[RFC PATCH v1 06/16] drm/ttm: kill fence_lock
...false, 0);
if (unlikely(ret != 0))
return ret;
- spin_lock(&bdev->fence_lock);
ret = ttm_bo_wait(bo, false, true, no_wait);
- spin_unlock(&bdev->fence_lock);
if (likely(ret == 0))
atomic_inc(&bo->cpu_writers);
ttm_bo_unreserve(bo);
@@ -1656,9 +1619,7 @@ static int ttm_bo_swapout(struct ttm_mem_shrink *shrink)
* Wait for GPU, then move to system cached.
*/
- spin_lock(&bo->bdev->fence_lock);
ret = ttm_bo_wait(bo, false, false, false);
- spin_unlock(&bo->bdev->fence_lock);
if (unlikely(ret != 0))
goto out;
diff --git a/drivers/gpu/drm/ttm...
2014 May 14
17
[RFC PATCH v1 00/16] Convert all ttm drivers to use the new reservation interface
This series depends on the previously posted reservation api patches.
2 of them are not yet in for-next-fences branch of
git://git.linaro.org/people/sumit.semwal/linux-3.x.git
The missing patches are still in my vmwgfx_wip branch at
git://people.freedesktop.org/~mlankhorst/linux
All ttm drivers are converted to the fence api, fence_lock is removed
and rcu is used in its place.
qxl is the first
2014 Jul 31
19
[PATCH 01/19] fence: add debugging lines to fence_is_signaled for the callback
fence_is_signaled callback should support being run in
atomic context, but not in irq context.
Signed-off-by: Maarten Lankhorst <maarten.lankhorst at canonical.com>
---
include/linux/fence.h | 23 +++++++++++++++++++----
1 file changed, 19 insertions(+), 4 deletions(-)
diff --git a/include/linux/fence.h b/include/linux/fence.h
index d174585b874b..c1a4519ba2f5 100644
---
2014 Jul 09
22
[PATCH 00/17] Convert TTM to the new fence interface.
This series applies on top of the driver-core-next branch of
git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core.git
Before converting ttm to the new fence interface I had to fix some
drivers to require a reservation before poking with fence_obj.
After flipping the switch RCU becomes available instead, and
the extra reservations can be dropped again. :-)
I've done at least basic