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 {
19 u32 hfi_dpb_color_fmt;
20 enum hfi_version version;
24 u32 max_mbs_per_frame;
25 u32 buffer_size_limit;
26 bool is_secondary_output;
38 int hfi_plat_bufreq_v6(struct hfi_plat_buffers_params *params, u32 session_type,
39 u32 buftype, struct hfi_buffer_requirements *bufreq);