Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/gpu/drm/ttm/ !
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->mem = NULL; in ttm_agp_unbind()
[all …]