1 /* SPDX-License-Identifier: MIT */ 2 /* 3 * Copyright © 2022 Intel Corporation 4 */ 5 6 #ifndef _XE_GUC_HWCONFIG_H_ 7 #define _XE_GUC_HWCONFIG_H_ 8 9 #include <linux/types.h> 10 11 struct drm_printer; 12 struct xe_guc; 13 14 int xe_guc_hwconfig_init(struct xe_guc *guc); 15 u32 xe_guc_hwconfig_size(struct xe_guc *guc); 16 void xe_guc_hwconfig_copy(struct xe_guc *guc, void *dst); 17 void xe_guc_hwconfig_dump(struct xe_guc *guc, struct drm_printer *p); 18 int xe_guc_hwconfig_lookup_u32(struct xe_guc *guc, u32 attribute, u32 *val); 19 20 #endif 21