linux/drivers/gpu/drm/xe/xe_bo_types.h

/* SPDX-License-Identifier: MIT */
/*
 * Copyright © 2022 Intel Corporation
 */

#ifndef _XE_BO_TYPES_H_
#define _XE_BO_TYPES_H_

#include <linux/iosys-map.h>

#include <drm/drm_mm.h>
#include <drm/ttm/ttm_bo.h>
#include <drm/ttm/ttm_device.h>
#include <drm/ttm/ttm_execbuf_util.h>
#include <drm/ttm/ttm_placement.h>

struct xe_device;
struct xe_vm;

#define XE_BO_MAX_PLACEMENTS

/* TODO: To be selected with VM_MADVISE */
#define XE_BO_PRIORITY_NORMAL

/** @xe_bo: XE buffer object */
struct xe_bo {};

#define intel_bo_to_drm_bo(bo)
#define intel_bo_to_i915(bo)

#endif