Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/gpu/drm/ttm/
Dttm_agp_backend.c53 struct ttm_agp_backend *agp_be = container_of(ttm, struct ttm_agp_backend, ttm); in ttm_agp_bind() local
60 mem = agp_allocate_memory(agp_be->bridge, ttm->num_pages, AGP_USER_MEMORY); in ttm_agp_bind()
73 agp_be->mem = mem; in ttm_agp_bind()
87 struct ttm_agp_backend *agp_be = container_of(ttm, struct ttm_agp_backend, ttm); in ttm_agp_unbind() local
89 if (agp_be->mem) { in ttm_agp_unbind()
90 if (agp_be->mem->is_bound) in ttm_agp_unbind()
91 return agp_unbind_memory(agp_be->mem); in ttm_agp_unbind()
92 agp_free_memory(agp_be->mem); in ttm_agp_unbind()
93 agp_be->mem = NULL; in ttm_agp_unbind()
100 struct ttm_agp_backend *agp_be = container_of(ttm, struct ttm_agp_backend, ttm); in ttm_agp_destroy() local
[all …]