2 #include <linux/slab.h>
19 nouveau_sgdma_destroy(
struct ttm_tt *ttm)
49 nv04_sgdma_unbind(
struct ttm_tt *ttm)
57 .bind = nv04_sgdma_bind,
58 .unbind = nv04_sgdma_unbind,
59 .destroy = nouveau_sgdma_destroy
77 nv50_sgdma_unbind(
struct ttm_tt *ttm)
84 .bind = nv50_sgdma_bind,
85 .unbind = nv50_sgdma_unbind,
86 .destroy = nouveau_sgdma_destroy
102 if (nv_device(drm->
device)->card_type < NV_50)
103 nvbe->
ttm.ttm.func = &nv04_sgdma_backend;
105 nvbe->
ttm.ttm.func = &nv50_sgdma_backend;
111 return &nvbe->
ttm.ttm;