linux/drivers/gpu/drm/xe/abi/gsc_pxp_commands_abi.h

/* SPDX-License-Identifier: MIT */
/*
 * Copyright © 2023 Intel Corporation
 */

#ifndef _ABI_GSC_PXP_COMMANDS_ABI_H
#define _ABI_GSC_PXP_COMMANDS_ABI_H

#include <linux/types.h>

/* Heci client ID for PXP commands */
#define HECI_MEADDRESS_PXP

#define PXP_APIVER(x, y)

/*
 * there are a lot of status codes for PXP, but we only define the cross-API
 * common ones that we actually can handle in the kernel driver. Other failure
 * codes should be printed to error msg for debug.
 */
enum pxp_status {};

/* Common PXP FW message header */
struct pxp_cmd_header {} __packed;

#define PXP43_CMDID_NEW_HUC_AUTH

/* PXP-Input-Packet: HUC Auth-only */
struct pxp43_new_huc_auth_in {} __packed;

/* PXP-Output-Packet: HUC Load and Authentication or Auth-only */
struct pxp43_huc_auth_out {} __packed;

#endif