xref: /linux/drivers/gpu/drm/xe/xe_guc_buf_types.h (revision 4f9786035f9e519db41375818e1d0b5f20da2f10)
1 /* SPDX-License-Identifier: MIT */
2 /*
3  * Copyright © 2024 Intel Corporation
4  */
5 
6 #ifndef _XE_GUC_BUF_TYPES_H_
7 #define _XE_GUC_BUF_TYPES_H_
8 
9 struct drm_suballoc;
10 struct xe_sa_manager;
11 
12 /**
13  * struct xe_guc_buf_cache - GuC Data Buffer Cache.
14  */
15 struct xe_guc_buf_cache {
16 	/* private: internal sub-allocation manager */
17 	struct xe_sa_manager *sam;
18 };
19 
20 /**
21  * struct xe_guc_buf - GuC Data Buffer Reference.
22  */
23 struct xe_guc_buf {
24 	/* private: internal sub-allocation reference */
25 	struct drm_suballoc *sa;
26 };
27 
28 #endif
29