Home
last modified time | relevance | path

Searched refs:agp_be (Results 1 - 2 of 2) sorted by relevance

/kernel/linux/linux-5.10/drivers/gpu/drm/ttm/
H A Dttm_agp_backend.c53 struct ttm_agp_backend *agp_be = container_of(ttm, struct ttm_agp_backend, ttm); in ttm_agp_bind() local
60 if (agp_be->mem) in ttm_agp_bind()
63 mem = agp_allocate_memory(agp_be->bridge, ttm->num_pages, AGP_USER_MEMORY); in ttm_agp_bind()
76 agp_be->mem = mem; in ttm_agp_bind()
91 struct ttm_agp_backend *agp_be = container_of(ttm, struct ttm_agp_backend, ttm); in ttm_agp_unbind() local
93 if (agp_be->mem) { in ttm_agp_unbind()
94 if (agp_be->mem->is_bound) { in ttm_agp_unbind()
95 agp_unbind_memory(agp_be->mem); in ttm_agp_unbind()
98 agp_free_memory(agp_be->mem); in ttm_agp_unbind()
99 agp_be in ttm_agp_unbind()
106 struct ttm_agp_backend *agp_be = container_of(ttm, struct ttm_agp_backend, ttm); ttm_agp_is_bound() local
117 struct ttm_agp_backend *agp_be = container_of(ttm, struct ttm_agp_backend, ttm); ttm_agp_destroy() local
130 struct ttm_agp_backend *agp_be; ttm_agp_tt_create() local
[all...]
/kernel/linux/linux-6.6/drivers/gpu/drm/ttm/
H A Dttm_agp_backend.c52 struct ttm_agp_backend *agp_be = container_of(ttm, struct ttm_agp_backend, ttm); in ttm_agp_bind() local
58 if (agp_be->mem) in ttm_agp_bind()
61 mem = agp_allocate_memory(agp_be->bridge, ttm->num_pages, AGP_USER_MEMORY); in ttm_agp_bind()
74 agp_be->mem = mem; in ttm_agp_bind()
89 struct ttm_agp_backend *agp_be = container_of(ttm, struct ttm_agp_backend, ttm); in ttm_agp_unbind() local
91 if (agp_be->mem) { in ttm_agp_unbind()
92 if (agp_be->mem->is_bound) { in ttm_agp_unbind()
93 agp_unbind_memory(agp_be->mem); in ttm_agp_unbind()
96 agp_free_memory(agp_be->mem); in ttm_agp_unbind()
97 agp_be in ttm_agp_unbind()
104 struct ttm_agp_backend *agp_be = container_of(ttm, struct ttm_agp_backend, ttm); ttm_agp_is_bound() local
115 struct ttm_agp_backend *agp_be = container_of(ttm, struct ttm_agp_backend, ttm); ttm_agp_destroy() local
128 struct ttm_agp_backend *agp_be; ttm_agp_tt_create() local
[all...]

Completed in 2 milliseconds