crowetic a94b3d14aa Brooklyn+ (PLUS) changes
Changes included (and more):

1. Dynamic RAM merge

2. Real-time page scan and allocation

3. Cache compression

4. Real-time IRQ checks

5. Dynamic I/O allocation for Java heap

6. Java page migration

7. Contiguous memory allocation

8. Idle pages tracking

9. Per CPU RAM usage tracking

10. ARM NEON scalar multiplication library

11. NEON/ARMv8 crypto extensions

12. NEON SHA, Blake, RIPEMD crypto extensions

13. Parallel NEON crypto engine for multi-algo based CPU stress reduction
2022-05-12 10:47:00 -07:00

47 lines
1.2 KiB
C

/* SPDX-License-Identifier: GPL-2.0-only */
/*
* Copyright (c) 2016 MediaTek Inc.
* Author: Ming Hsiu Tsai <minghsiu.tsai@mediatek.com>
*/
#ifndef __MTK_MDP_COMP_H__
#define __MTK_MDP_COMP_H__
/**
* enum mtk_mdp_comp_type - the MDP component
* @MTK_MDP_RDMA: Read DMA
* @MTK_MDP_RSZ: Riszer
* @MTK_MDP_WDMA: Write DMA
* @MTK_MDP_WROT: Write DMA with rotation
*/
enum mtk_mdp_comp_type {
MTK_MDP_RDMA,
MTK_MDP_RSZ,
MTK_MDP_WDMA,
MTK_MDP_WROT,
};
/**
* struct mtk_mdp_comp - the MDP's function component data
* @node: list node to track sibing MDP components
* @dev_node: component device node
* @clk: clocks required for component
* @type: component type
*/
struct mtk_mdp_comp {
struct list_head node;
struct device_node *dev_node;
struct clk *clk[2];
enum mtk_mdp_comp_type type;
};
int mtk_mdp_comp_init(struct device *dev, struct device_node *node,
struct mtk_mdp_comp *comp,
enum mtk_mdp_comp_type comp_type);
void mtk_mdp_comp_deinit(struct device *dev, struct mtk_mdp_comp *comp);
void mtk_mdp_comp_clock_on(struct device *dev, struct mtk_mdp_comp *comp);
void mtk_mdp_comp_clock_off(struct device *dev, struct mtk_mdp_comp *comp);
#endif /* __MTK_MDP_COMP_H__ */