#include <linux/pagemap.h>
#include <linux/slab.h>
#include <drm/ttm/ttm_tt.h>
#include "nouveau_drv.h"
#include "nouveau_mem.h"
#include "nouveau_ttm.h"
#include "nouveau_bo.h"
struct nouveau_sgdma_be { … };
void
nouveau_sgdma_destroy(struct ttm_device *bdev, struct ttm_tt *ttm)
{ … }
int
nouveau_sgdma_bind(struct ttm_device *bdev, struct ttm_tt *ttm, struct ttm_resource *reg)
{ … }
void
nouveau_sgdma_unbind(struct ttm_device *bdev, struct ttm_tt *ttm)
{ … }
struct ttm_tt *
nouveau_sgdma_create_ttm(struct ttm_buffer_object *bo, uint32_t page_flags)
{ … }