Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/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->mem = NULL; in ttm_agp_unbind()
[all …]