Files
threeeye bc1d038eac REVVL 6 Pro kernel bring-up: full working tree snapshot (2026-09-12)
Squashed backup commit (no shallow-clone history issues) of
xiaomi-mt6833-dev/kernel_xiaomi_mt6833 (lineage-23.2 branch, upstream
commit 9eece662e) plus all fixes applied to get everpal_defconfig building
clean against a modern (GCC 15.2.0) toolchain -- see the previous commit
message on the lineage-23.2 branch (also in this repo history is not
available here since this is a squashed snapshot; full incremental history
lives in the local DL380 checkout and the upstream GitHub remote).

Upstream: https://github.com/xiaomi-mt6833-dev/kernel_xiaomi_mt6833 (lineage-23.2)
2026-09-12 13:36:46 +00:00

58 lines
1.5 KiB
C

/*
* Copyright (C) 2018 MediaTek Inc.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*/
#ifndef __MDP_PMQOS_H__
#define __MDP_PMQOS_H__
#define PMQOS_ISP_PORT_NUM 16
#define PMQOS_MDP_PORT_NUM 4
enum DP_FORMAT_FLAG_ENUM {
DP_BW_COMP_NONE = 0,
DP_BW_COMP_DEFAULT,
DP_BW_COMP_END
};
struct mdp_pmqos {
uint32_t isp_total_datasize;
uint32_t isp_total_pixel;
uint32_t mdp_total_datasize;
uint32_t mdp_total_pixel;
uint32_t qos2_isp_bandwidth[PMQOS_ISP_PORT_NUM];
uint32_t qos2_isp_total_pixel[PMQOS_ISP_PORT_NUM];
uint32_t qos2_isp_port[PMQOS_ISP_PORT_NUM];
uint32_t qos2_isp_count;
uint32_t qos2_mdp_bandwidth[PMQOS_MDP_PORT_NUM];
uint32_t qos2_mdp_total_pixel[PMQOS_MDP_PORT_NUM];
uint32_t qos2_mdp_port[PMQOS_MDP_PORT_NUM];
uint32_t qos2_mdp_count;
uint64_t tv_sec;
uint64_t tv_usec;
uint64_t ispMetString;
uint32_t ispMetStringSize;
uint64_t mdpMetString;
uint32_t mdpMetStringSize;
uint64_t mdpMMpathString;
uint32_t mdpMMpathStringSize;
uint32_t qos2_isp_port_format_flag[PMQOS_ISP_PORT_NUM];
uint32_t qos2_mdp_port_format_flag[PMQOS_MDP_PORT_NUM];
};
#endif