1/* SPDX-License-Identifier: MIT */
2/*
3 * Copyright �� 2023 Intel Corporation
4 */
5
6#ifndef _XE_TILE_SYSFS_TYPES_H_
7#define _XE_TILE_SYSFS_TYPES_H_
8
9#include <linux/kobject.h>
10
11struct xe_tile;
12
13/**
14 * struct kobj_tile - A tile's kobject struct that connects the kobject
15 * and the TILE
16 *
17 * When dealing with multiple TILEs, this struct helps to understand which
18 * TILE needs to be addressed on a given sysfs call.
19 */
20struct kobj_tile {
21	/** @base: The actual kobject */
22	struct kobject base;
23	/** @tile: A pointer to the tile itself */
24	struct xe_tile *tile;
25};
26
27#endif	/* _XE_TILE_SYSFS_TYPES_H_ */
28