brintos

brintos / linux-shallow public Read only

0
0
Text · 748 B · ad4d041 Raw
40 lines · c
1/* SPDX-License-Identifier: MIT */2/*3 * Copyright © 2023 Intel Corporation4 */5 6#ifndef _ABI_GSC_MKHI_COMMANDS_ABI_H7#define _ABI_GSC_MKHI_COMMANDS_ABI_H8 9#include <linux/types.h>10 11/* Heci client ID for MKHI commands */12#define HECI_MEADDRESS_MKHI 713 14/* Generic MKHI header */15struct gsc_mkhi_header {16	u8  group_id;17	u8  command;18	u8  reserved;19	u8  result;20} __packed;21 22/* GFX_SRV commands */23#define MKHI_GROUP_ID_GFX_SRV 0x3024 25#define MKHI_GFX_SRV_GET_HOST_COMPATIBILITY_VERSION (0x42)26 27struct gsc_get_compatibility_version_in {28	struct gsc_mkhi_header header;29} __packed;30 31struct gsc_get_compatibility_version_out {32	struct gsc_mkhi_header header;33	u16 proj_major;34	u16 compat_major;35	u16 compat_minor;36	u16 reserved[5];37} __packed;38 39#endif40