1 /* SPDX-License-Identifier: MIT */ 2 /* 3 * Copyright © 2022 Intel Corporation 4 */ 5 6 #ifndef _XE_GUC_ADS_TYPES_H_ 7 #define _XE_GUC_ADS_TYPES_H_ 8 9 #include <linux/types.h> 10 11 struct xe_bo; 12 13 /** 14 * struct xe_guc_ads - GuC additional data structures (ADS) 15 */ 16 struct xe_guc_ads { 17 /** @bo: XE BO for GuC ads blob */ 18 struct xe_bo *bo; 19 /** @golden_lrc_size: golden LRC size */ 20 size_t golden_lrc_size; 21 /** @regset_size: size of register set passed to GuC for save/restore */ 22 u32 regset_size; 23 /** @ads_waklv_size: total waklv size supported by platform */ 24 u32 ads_waklv_size; 25 }; 26 27 #endif 28