#include "xe_ttm_sys_mgr.h"
#include <drm/drm_managed.h>
#include <drm/ttm/ttm_placement.h>
#include <drm/ttm/ttm_range_manager.h>
#include <drm/ttm/ttm_tt.h>
#include "xe_bo.h"
#include "xe_gt.h"
struct xe_ttm_sys_node { … };
static inline struct xe_ttm_sys_node *
to_xe_ttm_sys_node(struct ttm_resource *res)
{ … }
static int xe_ttm_sys_mgr_new(struct ttm_resource_manager *man,
struct ttm_buffer_object *tbo,
const struct ttm_place *place,
struct ttm_resource **res)
{ … }
static void xe_ttm_sys_mgr_del(struct ttm_resource_manager *man,
struct ttm_resource *res)
{ … }
static void xe_ttm_sys_mgr_debug(struct ttm_resource_manager *man,
struct drm_printer *printer)
{ … }
static const struct ttm_resource_manager_func xe_ttm_sys_mgr_func = …;
static void ttm_sys_mgr_fini(struct drm_device *drm, void *arg)
{ … }
int xe_ttm_sys_mgr_init(struct xe_device *xe)
{ … }