Files
android/drivers/misc/mediatek/cmdq/v3/mt6765/mdp_base.h
T
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

55 lines
1.5 KiB
C

/*
* Copyright (C) 2020 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_BASE_H__
#define __MDP_BASE_H__
#define MDP_HW_CHECK
static u32 mdp_engine_port[ENGBASE_COUNT] = {
0, /*ENGBASE_MMSYS_CONFIG*/
0, /*ENGBASE_MDP_RDMA0*/
0, /*ENGBASE_MDP_CCORR0*/
0, /*ENGBASE_MDP_RSZ0*/
0, /*ENGBASE_MDP_RSZ1*/
0, /*ENGBASE_MDP_WDMA*/
0, /*ENGBASE_MDP_WROT0*/
0, /*ENGBASE_MDP_TDSHP0*/
0, /*ENGBASE_MDP_COLOR0*/
0, /*ENGBASE_MMSYS_MUTEX*/
0, /*ENGBASE_ISP_CAMSYS*/
0, /*ENGBASE_ISP_CAM*/
0, /*ENGBASE_ISP_CAM_DMA*/
0, /*ENGBASE_IMGSYS*/
0, /*ENGBASE_ISP_DIP1*/
};
static u32 mdp_base[] = {
[ENGBASE_MMSYS_CONFIG] = 0x14000000,
[ENGBASE_MDP_RDMA0] = 0x14004000,
[ENGBASE_MDP_CCORR0] = 0x14005000,
[ENGBASE_MDP_RSZ0] = 0x14006000,
[ENGBASE_MDP_RSZ1] = 0x14007000,
[ENGBASE_MDP_WDMA] = 0x14008000,
[ENGBASE_MDP_WROT0] = 0x14009000,
[ENGBASE_MDP_TDSHP0] = 0x1400a000,
[ENGBASE_MDP_COLOR0] = 0x1400f000,
[ENGBASE_MMSYS_MUTEX] = 0x14001000,
[ENGBASE_ISP_CAMSYS] = 0x15000000,
[ENGBASE_ISP_CAM] = 0x15004000,
[ENGBASE_ISP_CAM_DMA] = 0x15007000,
[ENGBASE_IMGSYS] = 0x15020000,
[ENGBASE_ISP_DIP1] = 0x15022000,
};
#endif