1 /* SPDX-License-Identifier: GPL-2.0-only */
3 * Copyright (c) 2020, The Linux Foundation. All rights reserved.
6 #ifndef __HFI_PLATFORM_BUFFERS_H__
7 #define __HFI_PLATFORM_BUFFERS_H__
9 #include <linux/types.h>
10 #include "hfi_helper.h"
12 struct hfi_plat_buffers_params {
17 enum hfi_version version;
21 u32 max_mbs_per_frame;
22 u32 buffer_size_limit;
23 bool is_secondary_output;
35 int hfi_plat_bufreq_v6(struct hfi_plat_buffers_params *params, u32 session_type,
36 u32 buftype, struct hfi_buffer_requirements *bufreq);