linux/drivers/gpu/drm/msm/adreno/a6xx_hfi.h

/* SPDX-License-Identifier: GPL-2.0 */
/* Copyright (c) 2017 The Linux Foundation. All rights reserved. */

#ifndef _A6XX_HFI_H_
#define _A6XX_HFI_H_

struct a6xx_hfi_queue_table_header {};

struct a6xx_hfi_queue_header {};

struct a6xx_hfi_queue {};

/* This is the outgoing queue to the GMU */
#define HFI_COMMAND_QUEUE

/* THis is the incoming response queue from the GMU */
#define HFI_RESPONSE_QUEUE

#define HFI_HEADER_ID(msg)
#define HFI_HEADER_SIZE(msg)
#define HFI_HEADER_SEQNUM(msg)

/* FIXME: Do we need this or can we use ARRAY_SIZE? */
#define HFI_RESPONSE_PAYLOAD_SIZE

/* HFI message types */

#define HFI_MSG_CMD
#define HFI_MSG_ACK
#define HFI_MSG_ACK_V1

#define HFI_F2H_MSG_ACK

struct a6xx_hfi_msg_response {};

#define HFI_F2H_MSG_ERROR

struct a6xx_hfi_msg_error {};

#define HFI_H2F_MSG_INIT

struct a6xx_hfi_msg_gmu_init_cmd {};

#define HFI_H2F_MSG_FW_VERSION

struct a6xx_hfi_msg_fw_version {};

#define HFI_H2F_MSG_PERF_TABLE

struct perf_level {};

struct perf_gx_level {};

struct a6xx_hfi_msg_perf_table_v1 {};

struct a6xx_hfi_msg_perf_table {};

#define HFI_H2F_MSG_BW_TABLE

struct a6xx_hfi_msg_bw_table {};

#define HFI_H2F_MSG_TEST

struct a6xx_hfi_msg_test {};

#define HFI_H2F_MSG_START

struct a6xx_hfi_msg_start {};

#define HFI_H2F_MSG_CORE_FW_START

struct a6xx_hfi_msg_core_fw_start {};

#define HFI_H2F_MSG_GX_BW_PERF_VOTE

struct a6xx_hfi_gx_bw_perf_vote_cmd {};

#define HFI_H2F_MSG_PREPARE_SLUMBER

struct a6xx_hfi_prep_slumber_cmd {};

#endif