ttm_bo_device
static inline struct amdgpu_device *amdgpu_ttm_adev(struct ttm_bo_device *bdev)
static int amdgpu_invalidate_caches(struct ttm_bo_device *bdev, uint32_t flags)
static int amdgpu_init_mem_type(struct ttm_bo_device *bdev, uint32_t type,
static int amdgpu_ttm_io_mem_reserve(struct ttm_bo_device *bdev, struct ttm_mem_reg *mem)
static void amdgpu_ttm_io_mem_free(struct ttm_bo_device *bdev, struct ttm_mem_reg *mem)
struct ttm_bo_device bdev;
struct ttm_bo_device *bdev;
int ttm_bo_lock_delayed_workqueue(struct ttm_bo_device *bdev);
void ttm_bo_unlock_delayed_workqueue(struct ttm_bo_device *bdev, int resched);
struct ttm_bo_device;
size_t ttm_bo_acc_size(struct ttm_bo_device *bdev,
size_t ttm_bo_dma_acc_size(struct ttm_bo_device *bdev,
int ttm_bo_init_reserved(struct ttm_bo_device *bdev,
int ttm_bo_init(struct ttm_bo_device *bdev, struct ttm_buffer_object *bo,
int ttm_bo_create(struct ttm_bo_device *bdev, unsigned long size,
int ttm_bo_init_mm(struct ttm_bo_device *bdev, unsigned type,
int ttm_bo_clean_mm(struct ttm_bo_device *bdev, unsigned mem_type);
int ttm_bo_evict_mm(struct ttm_bo_device *bdev, unsigned mem_type);
struct ttm_bo_device *bdev);
ssize_t ttm_bo_io(struct ttm_bo_device *bdev, struct file *filp,
void ttm_bo_swapout_all(struct ttm_bo_device *bdev);
struct ttm_bo_device *bdev;
int (*invalidate_caches)(struct ttm_bo_device *bdev, uint32_t flags);
int (*init_mem_type)(struct ttm_bo_device *bdev, uint32_t type,
int (*io_mem_reserve)(struct ttm_bo_device *bdev,
void (*io_mem_free)(struct ttm_bo_device *bdev,
bool ttm_mem_reg_is_pci(struct ttm_bo_device *bdev, struct ttm_mem_reg *mem);
int ttm_bo_device_release(struct ttm_bo_device *bdev);
int ttm_bo_device_init(struct ttm_bo_device *bdev, struct ttm_bo_global *glob,
int ttm_mem_io_reserve(struct ttm_bo_device *bdev,
void ttm_mem_io_free(struct ttm_bo_device *bdev,
struct ttm_bo_device *bdev;
struct ttm_bo_device bdev;
static int radeon_invalidate_caches(struct ttm_bo_device *bdev, uint32_t flags)
static int radeon_init_mem_type(struct ttm_bo_device *bdev, uint32_t type,
static int radeon_ttm_io_mem_reserve(struct ttm_bo_device *bdev, struct ttm_mem_reg *mem)
static void radeon_ttm_io_mem_free(struct ttm_bo_device *bdev, struct ttm_mem_reg *mem)
static struct radeon_device *radeon_get_rdev(struct ttm_bo_device *bdev)
int ttm_bo_init_reserved(struct ttm_bo_device *bdev,
int ttm_bo_init(struct ttm_bo_device *bdev,
size_t ttm_bo_acc_size(struct ttm_bo_device *bdev,
size_t ttm_bo_dma_acc_size(struct ttm_bo_device *bdev,
int ttm_bo_create(struct ttm_bo_device *bdev,
static int ttm_bo_force_list_clean(struct ttm_bo_device *bdev,
int ttm_bo_clean_mm(struct ttm_bo_device *bdev, unsigned mem_type)
struct ttm_bo_device *bdev = bo->bdev;
int ttm_bo_evict_mm(struct ttm_bo_device *bdev, unsigned mem_type)
int ttm_bo_init_mm(struct ttm_bo_device *bdev, unsigned type,
int ttm_bo_device_release(struct ttm_bo_device *bdev)
int ttm_bo_device_init(struct ttm_bo_device *bdev,
struct ttm_bo_device *bdev = bo->bdev;
bool ttm_mem_reg_is_pci(struct ttm_bo_device *bdev, struct ttm_mem_reg *mem)
struct ttm_bo_device *bdev = bo->bdev;
void ttm_bo_swapout_all(struct ttm_bo_device *bdev)
struct ttm_bo_device *bdev = bo->bdev;
struct ttm_bo_device *bdev = bo->bdev;
static bool ttm_bo_delayed_delete(struct ttm_bo_device *bdev, bool remove_all)
struct ttm_bo_device *bdev =
container_of(work, struct ttm_bo_device, wq.work);
struct ttm_bo_device *bdev = bo->bdev;
int ttm_bo_lock_delayed_workqueue(struct ttm_bo_device *bdev)
void ttm_bo_unlock_delayed_workqueue(struct ttm_bo_device *bdev, int resched)
struct ttm_bo_device *bdev = bo->bdev;
static void ttm_mem_type_debug(struct ttm_bo_device *bdev, int mem_type)
static int ttm_mem_evict_first(struct ttm_bo_device *bdev,
struct ttm_bo_device *bdev = bo->bdev;
struct ttm_bo_device *bdev = bo->bdev;
int ttm_mem_io_reserve(struct ttm_bo_device *bdev,
void ttm_mem_io_free(struct ttm_bo_device *bdev,
static int ttm_mem_reg_ioremap(struct ttm_bo_device *bdev, struct ttm_mem_reg *mem,
static void ttm_mem_reg_iounmap(struct ttm_bo_device *bdev, struct ttm_mem_reg *mem,
struct ttm_bo_device *bdev = bo->bdev;
struct ttm_bo_device *bdev = bo->bdev;
struct ttm_bo_device *bdev = bo->bdev;
struct ttm_bo_device *bdev = bo->bdev;
static struct ttm_buffer_object *ttm_bo_vm_lookup(struct ttm_bo_device *bdev,
struct ttm_bo_device *bdev)
struct ttm_bo_device *bdev = bo->bdev;
struct ttm_bo_device *bdev = dev->drm_ttm_bdev;
struct ttm_bo_device *bdev;
struct ttm_bo_device *bdev = bo->bdev;