Displaying 6 results from an estimated 6 matches for "ttm_init".
2013 Mar 05
3
nouveau lockdep splat
...er_probe_device+0x210/0x210
> [ 0.633718] [<ffffffff8143175d>] bus_for_each_dev+0x5d/0xa0
> [ 0.633719] [<ffffffff81432fae>] driver_attach+0x1e/0x20
> [ 0.633720] [<ffffffff81432b91>] bus_add_driver+0x111/0x280
> [ 0.633722] [<ffffffff81b21cf6>] ? ttm_init+0x62/0x62
> [ 0.633724] [<ffffffff81433e67>] driver_register+0x77/0x170
> [ 0.633725] [<ffffffff81b21cf6>] ? ttm_init+0x62/0x62
> [ 0.633726] [<ffffffff812b4054>] __pci_register_driver+0x64/0x70
> [ 0.633728] [<ffffffff8135ac15>] drm_pci_init+0x11...
2019 Aug 14
2
[Intel-gfx] [PATCH v6 08/17] drm/ttm: use gem vma_node
...insertions(+), 3 deletions(-)
diff --git a/include/drm/drm_gem.h b/include/drm/drm_gem.h
index ae693c0666cd..24e8fc58a3e1 100644
--- a/include/drm/drm_gem.h
+++ b/include/drm/drm_gem.h
@@ -297,6 +297,17 @@ struct drm_gem_object {
*
*/
const struct drm_gem_object_funcs *funcs;
+
+ /**
+ * @ttm_init: indicate ttm has initialized _resv and vma_node fields.
+ *
+ * ttm_bo_uses_embedded_gem_object() assumes gem is
+ * initialized before ttm, nouveau does it the other way
+ * around though.
+ *
+ * This is a temporary stopgap to handle that case.
+ */
+ bool ttm_init;
};
/**
diff --git...
2013 Sep 26
2
Resource map sanity check fails after GRUB "keeps" the gfx mode
...ffffff81444e60>] ? driver_probe_device+0x240/0x240
[<ffffffff81442ede>] bus_for_each_dev+0x5e/0x90
[<ffffffff8144479e>] driver_attach+0x1e/0x20
[<ffffffff81444244>] bus_add_driver+0x104/0x2a0
[<ffffffff814455e4>] driver_register+0x64/0xf0
[<ffffffff81d0ee34>] ? ttm_init+0x62/0x62
[<ffffffff812e2b3b>] __pci_register_driver+0x4b/0x50
[<ffffffff81387ed5>] drm_pci_init+0x115/0x130
[<ffffffff81d0ee34>] ? ttm_init+0x62/0x62
[<ffffffff81d0ee77>] nouveau_drm_init+0x43/0x45
[<ffffffff8100023f>] do_one_initcall+0x3f/0x150
[<ffffffff81c...
2019 Aug 05
2
[PATCH v6 08/17] drm/ttm: use gem vma_node
Drop vma_node from ttm_buffer_object, use the gem struct
(base.vma_node) instead.
Signed-off-by: Gerd Hoffmann <kraxel at redhat.com>
Reviewed-by: Christian K?nig <christian.koenig at amd.com>
---
drivers/gpu/drm/amd/amdgpu/amdgpu_object.h | 2 +-
drivers/gpu/drm/qxl/qxl_object.h | 2 +-
drivers/gpu/drm/radeon/radeon_object.h | 2 +-
drivers/gpu/drm/virtio/virtgpu_drv.h
2019 Aug 05
2
[PATCH v6 08/17] drm/ttm: use gem vma_node
Drop vma_node from ttm_buffer_object, use the gem struct
(base.vma_node) instead.
Signed-off-by: Gerd Hoffmann <kraxel at redhat.com>
Reviewed-by: Christian K?nig <christian.koenig at amd.com>
---
drivers/gpu/drm/amd/amdgpu/amdgpu_object.h | 2 +-
drivers/gpu/drm/qxl/qxl_object.h | 2 +-
drivers/gpu/drm/radeon/radeon_object.h | 2 +-
drivers/gpu/drm/virtio/virtgpu_drv.h
2019 Aug 05
2
[PATCH v6 08/17] drm/ttm: use gem vma_node
Drop vma_node from ttm_buffer_object, use the gem struct
(base.vma_node) instead.
Signed-off-by: Gerd Hoffmann <kraxel at redhat.com>
Reviewed-by: Christian K?nig <christian.koenig at amd.com>
---
drivers/gpu/drm/amd/amdgpu/amdgpu_object.h | 2 +-
drivers/gpu/drm/qxl/qxl_object.h | 2 +-
drivers/gpu/drm/radeon/radeon_object.h | 2 +-
drivers/gpu/drm/virtio/virtgpu_drv.h