OpenGrok
Home
Sort by:
relevance
|
last modified time
|
path
Full Search
in project(s):
src
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:ttm_tt
(Results
1 - 24
of
24
) sorted by relevancy
/src/sys/external/bsd/drm2/dist/include/drm/ttm/
ttm_tt.h
1
/* $NetBSD:
ttm_tt
.h,v 1.7 2021/12/19 12:29:16 riastradh Exp $ */
34
struct
ttm_tt
;
57
* @ttm: Pointer to a struct
ttm_tt
.
65
int (*bind) (struct
ttm_tt
*ttm, struct ttm_mem_reg *bo_mem);
70
* @ttm: Pointer to a struct
ttm_tt
.
75
int (*unbind) (struct
ttm_tt
*ttm);
80
* @ttm: Pointer to a struct
ttm_tt
.
85
void (*destroy) (struct
ttm_tt
*ttm);
89
* struct
ttm_tt
107
struct
ttm_tt
{
struct
[
all
...]
ttm_page_alloc.h
48
* @ttm: The struct
ttm_tt
to contain the backing pages.
52
int ttm_pool_populate(struct
ttm_tt
*ttm, struct ttm_operation_ctx *ctx);
57
* @ttm: The struct
ttm_tt
which to free backing pages.
61
void ttm_pool_unpopulate(struct
ttm_tt
*ttm);
ttm_bo_driver.h
46
#include "
ttm_tt
.h"
232
* Create a struct
ttm_tt
to back data with system memory pages.
237
struct
ttm_tt
*(*ttm_tt_create)(struct ttm_buffer_object *bo,
243
* @ttm: The struct
ttm_tt
to contain the backing pages.
249
int (*ttm_tt_populate)(struct
ttm_tt
*ttm,
255
* @ttm: The struct
ttm_tt
to contain the backing pages.
259
void (*ttm_tt_unpopulate)(struct
ttm_tt
*ttm);
264
* @ttm: The struct
ttm_tt
to contain the backing pages.
268
void (*ttm_tt_swapout)(struct
ttm_tt
*ttm);
ttm_bo_api.h
141
struct
ttm_tt
;
214
struct
ttm_tt
*ttm;
/src/sys/external/bsd/drm2/dist/drm/amd/amdgpu/
amdgpu_ttm.h
129
bool amdgpu_ttm_tt_get_user_pages_done(struct
ttm_tt
*ttm);
136
static inline bool amdgpu_ttm_tt_get_user_pages_done(struct
ttm_tt
*ttm)
142
void amdgpu_ttm_tt_set_user_pages(struct
ttm_tt
*ttm, struct page **pages);
143
int amdgpu_ttm_tt_set_userptr(struct
ttm_tt
*ttm, uint64_t addr,
145
bool amdgpu_ttm_tt_has_userptr(struct
ttm_tt
*ttm);
147
struct vmspace *amdgpu_ttm_tt_get_usermm(struct
ttm_tt
*ttm);
149
struct mm_struct *amdgpu_ttm_tt_get_usermm(struct
ttm_tt
*ttm);
151
bool amdgpu_ttm_tt_affect_userptr(struct
ttm_tt
*ttm, unsigned long start,
153
bool amdgpu_ttm_tt_userptr_invalidated(struct
ttm_tt
*ttm,
155
bool amdgpu_ttm_tt_is_userptr(struct
ttm_tt
*ttm)
[
all
...]
amdgpu_ttm.c
829
struct
ttm_tt
*ttm = bo->tbo.ttm;
938
bool amdgpu_ttm_tt_get_user_pages_done(struct
ttm_tt
*ttm)
975
void amdgpu_ttm_tt_set_user_pages(struct
ttm_tt
*ttm, struct page **pages)
988
static int amdgpu_ttm_tt_pin_userptr(struct
ttm_tt
*ttm)
1030
static void amdgpu_ttm_tt_unpin_userptr(struct
ttm_tt
*ttm)
1071
struct
ttm_tt
*ttm = tbo->ttm;
1111
static int amdgpu_ttm_backend_bind(struct
ttm_tt
*ttm,
1241
static int amdgpu_ttm_backend_unbind(struct
ttm_tt
*ttm)
1262
static void amdgpu_ttm_backend_destroy(struct
ttm_tt
*ttm)
1282
* amdgpu_ttm_tt_create - Create a
ttm_tt
object for a given B
[
all
...]
/src/sys/external/bsd/drm2/dist/drm/ttm/
Makefile
5
ttm-y := ttm_memory.o
ttm_tt
.o ttm_bo.o \
ttm_agp_backend.c
51
struct
ttm_tt
ttm;
56
static int ttm_agp_bind(struct
ttm_tt
*ttm, struct ttm_mem_reg *bo_mem)
90
static int ttm_agp_unbind(struct
ttm_tt
*ttm)
103
static void ttm_agp_destroy(struct
ttm_tt
*ttm)
119
struct
ttm_tt
*ttm_agp_tt_create(struct ttm_buffer_object *bo,
142
int ttm_agp_tt_populate(struct
ttm_tt
*ttm, struct ttm_operation_ctx *ctx)
151
void ttm_agp_tt_unpopulate(struct
ttm_tt
*ttm)
ttm_tt.c
1
/* $NetBSD:
ttm_tt
.c,v 1.19 2022/06/26 17:53:06 riastradh Exp $ */
35
__KERNEL_RCSID(0, "$NetBSD:
ttm_tt
.c,v 1.19 2022/06/26 17:53:06 riastradh Exp $");
92
static int ttm_tt_alloc_page_directory(struct
ttm_tt
*ttm)
188
static int ttm_tt_set_caching(struct
ttm_tt
*ttm,
234
int ttm_tt_set_placement_caching(struct
ttm_tt
*ttm, uint32_t placement)
249
void ttm_tt_destroy(struct
ttm_tt
*ttm)
269
static void ttm_tt_init_fields(struct
ttm_tt
*ttm,
290
int ttm_tt_init(struct
ttm_tt
*ttm, struct ttm_buffer_object *bo,
304
void ttm_tt_fini(struct
ttm_tt
*ttm)
318
struct
ttm_tt
*ttm = &ttm_dma->ttm
[
all
...]
ttm_bo_util.c
67
struct
ttm_tt
*ttm = bo->ttm;
369
static int ttm_copy_io_ttm_page(struct
ttm_tt
*ttm, void *src,
391
static int ttm_copy_ttm_io_page(struct
ttm_tt
*ttm, void *dst,
419
struct
ttm_tt
*ttm = bo->ttm;
690
struct
ttm_tt
*ttm = bo->ttm;
ttm_page_alloc_dma.c
843
struct
ttm_tt
*ttm = &ttm_dma->ttm;
863
struct
ttm_tt
*ttm = &ttm_dma->ttm;
894
struct
ttm_tt
*ttm = &ttm_dma->ttm;
999
struct
ttm_tt
*ttm = &ttm_dma->ttm;
ttm_page_alloc.c
1034
ttm_pool_unpopulate_helper(struct
ttm_tt
*ttm, unsigned mem_count_update)
1055
int ttm_pool_populate(struct
ttm_tt
*ttm, struct ttm_operation_ctx *ctx)
1096
void ttm_pool_unpopulate(struct
ttm_tt
*ttm)
ttm_bo_vm.c
192
struct
ttm_tt
*ttm = NULL;
ttm_bo.c
1451
size += ttm_round_pot(sizeof(struct
ttm_tt
));
/src/sys/external/bsd/drm2/dist/drm/nouveau/
nouveau_sgdma.c
23
nouveau_sgdma_destroy(struct
ttm_tt
*ttm)
34
nv04_sgdma_bind(struct
ttm_tt
*ttm, struct ttm_mem_reg *reg)
55
nv04_sgdma_unbind(struct
ttm_tt
*ttm)
69
nv50_sgdma_bind(struct
ttm_tt
*ttm, struct ttm_mem_reg *reg)
89
struct
ttm_tt
*
nouveau_ttm.h
17
struct
ttm_tt
*nouveau_sgdma_create_ttm(struct ttm_buffer_object *bo,
nouveau_bo.c
724
static struct
ttm_tt
*
1681
nouveau_ttm_tt_populate(struct
ttm_tt
*ttm, struct ttm_operation_ctx *ctx)
1756
nouveau_ttm_tt_unpopulate(struct
ttm_tt
*ttm)
1802
nouveau_ttm_tt_swapout(struct
ttm_tt
*ttm)
/src/sys/external/bsd/drm2/ttm/
ttm_agp_backend.c
46
#include <ttm/
ttm_tt
.h>
57
struct
ttm_tt
*
78
ttm_agp_tt_populate(struct
ttm_tt
*ttm, struct ttm_operation_ctx *ctx)
88
ttm_agp_tt_unpopulate(struct
ttm_tt
*ttm)
98
ttm_agp_bind(struct
ttm_tt
*ttm, struct ttm_mem_reg *bo_mem)
134
ttm_agp_unbind(struct
ttm_tt
*ttm)
155
ttm_agp_destroy(struct
ttm_tt
*ttm)
ttm_bo_vm.c
180
struct
ttm_tt
*ttm;
/src/sys/modules/drmkms_ttm/
Makefile
22
SRCS+=
ttm_tt
.c
/src/sys/external/bsd/drm2/dist/drm/qxl/
qxl_ttm.c
160
struct
ttm_tt
ttm;
165
static int qxl_ttm_backend_bind(struct
ttm_tt
*ttm,
179
static int qxl_ttm_backend_unbind(struct
ttm_tt
*ttm)
185
static void qxl_ttm_backend_destroy(struct
ttm_tt
*ttm)
199
static struct
ttm_tt
*qxl_ttm_tt_create(struct ttm_buffer_object *bo,
/src/sys/external/bsd/drm2/dist/drm/radeon/
radeon_ttm.c
516
static int radeon_ttm_tt_pin_userptr(struct
ttm_tt
*ttm)
658
static void radeon_ttm_tt_unpin_userptr(struct
ttm_tt
*ttm)
696
static int radeon_ttm_backend_bind(struct
ttm_tt
*ttm,
726
static int radeon_ttm_backend_unbind(struct
ttm_tt
*ttm)
738
static void radeon_ttm_backend_destroy(struct
ttm_tt
*ttm)
752
static struct
ttm_tt
*radeon_ttm_tt_create(struct ttm_buffer_object *bo,
779
static struct radeon_ttm_tt *radeon_ttm_tt_to_gtt(struct
ttm_tt
*ttm)
786
static int radeon_ttm_tt_populate(struct
ttm_tt
*ttm,
847
static void radeon_ttm_tt_unpopulate(struct
ttm_tt
*ttm)
896
static void radeon_ttm_tt_swapout(struct
ttm_tt
*ttm
[
all
...]
radeon.h
2892
extern int radeon_ttm_tt_set_userptr(struct
ttm_tt
*ttm, uint64_t addr,
2894
extern bool radeon_ttm_tt_has_userptr(struct
ttm_tt
*ttm);
2895
extern bool radeon_ttm_tt_is_readonly(struct
ttm_tt
*ttm);
/src/sys/external/bsd/drm2/dist/drm/vmwgfx/
vmwgfx_ttm_buffer.c
584
static int vmw_ttm_bind(struct
ttm_tt
*ttm, struct ttm_mem_reg *bo_mem)
618
static int vmw_ttm_unbind(struct
ttm_tt
*ttm)
641
static void vmw_ttm_destroy(struct
ttm_tt
*ttm)
659
static int vmw_ttm_populate(struct
ttm_tt
*ttm, struct ttm_operation_ctx *ctx)
687
static void vmw_ttm_unpopulate(struct
ttm_tt
*ttm)
717
static struct
ttm_tt
*vmw_ttm_tt_create(struct ttm_buffer_object *bo,
Completed in 95 milliseconds
Indexes created Wed Oct 15 16:09:53 GMT 2025