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)
80 lines
1.7 KiB
C
80 lines
1.7 KiB
C
/*
|
|
* Copyright (C) 2015 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 _CMDQ_SUBSYS_COMMON_H_
|
|
#define _CMDQ_SUBSYS_COMMON_H_
|
|
|
|
/* Define CMDQ subsys
|
|
*
|
|
* CMDQ subsys base address define in DTS.
|
|
* Mapping dts name and subsys define must sync with
|
|
* subsys table define in cmdq_subsys_common.c.
|
|
*/
|
|
enum CMDQ_SUBSYS_ENUM {
|
|
CMDQ_SUBSYS_G3D_CONFIG_BASE,
|
|
CMDQ_SUBSYS_MMSYS_CONFIG,
|
|
CMDQ_SUBSYS_DISP_DITHER,
|
|
CMDQ_SUBSYS_NA,
|
|
CMDQ_SUBSYS_IMGSYS,
|
|
CMDQ_SUBSYS_VDEC_GCON,
|
|
CMDQ_SUBSYS_VENC_GCON,
|
|
CMDQ_SUBSYS_CONN_PERIPHERALS,
|
|
|
|
CMDQ_SUBSYS_TOPCKGEN,
|
|
CMDQ_SUBSYS_KP,
|
|
CMDQ_SUBSYS_SCP_SRAM,
|
|
CMDQ_SUBSYS_INFRA_NA3,
|
|
CMDQ_SU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