Linux kernel mirror (for testing)
git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel
os
linux
1/* SPDX-License-Identifier: MIT */
2/*
3 * Copyright © 2023 Intel Corporation
4 */
5
6#ifndef _XE_TILE_H_
7#define _XE_TILE_H_
8
9#include "xe_device_types.h"
10
11struct xe_tile;
12
13int xe_tile_init_early(struct xe_tile *tile, struct xe_device *xe, u8 id);
14int xe_tile_init_noalloc(struct xe_tile *tile);
15int xe_tile_init(struct xe_tile *tile);
16
17int xe_tile_alloc_vram(struct xe_tile *tile);
18
19void xe_tile_migrate_wait(struct xe_tile *tile);
20
21static inline bool xe_tile_is_root(struct xe_tile *tile)
22{
23 return tile->id == 0;
24}
25
26#endif