File Index
Files and directories
Sign in
FILE

xe_tile.h

File preview with syntax highlighting.

linux-6.19.14/drivers/gpu/drm/xe/xe_tile.h C
 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
~/ Read-only file preview.