summaryrefstree
path: root/kernel/include/video/videonode-exynos5.h
blob: f12f1d456766f2b2df813768d496536fe074937f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
/* linux/arch/arm64/mach-exynos/include/mach/videonode-exynos5.h
 *
 * Copyright (c) 2014 Samsung Electronics Co., Ltd.
 *		http://www.samsung.com
 *
 * EXYNOS5 - Video node definitions
 *
 * 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.
*/

#ifndef __MACH_VIDEONODE_EXYNOS5_H
#define __MACH_VIDEONODE_EXYNOS5_H __FILE__

#define S5P_VIDEONODE_MFC_DEC		6
#define S5P_VIDEONODE_MFC_ENC		7
#define S5P_VIDEONODE_MFC_DEC_DRM	8
#define S5P_VIDEONODE_MFC_ENC_DRM	9

#define EXYNOS_VIDEONODE_HEVC_DEC		10

#define EXYNOS_VIDEONODE_JPEG_HX_DEC(x)		(13 - (x) * 2)
#define EXYNOS_VIDEONODE_JPEG_HX_ENC(x)		(14 - (x) * 2)

#define EXYNOS_VIDEONODE_ROTATOR		21

#define EXYNOS_VIDEONODE_GSC_M2M(x)		(23 + (x) * 3)
#define EXYNOS_VIDEONODE_GSC_OUT(x)		(24 + (x) * 3)
#define EXYNOS_VIDEONODE_GSC_CAP(x)		(25 + (x) * 3)

#define EXYNOS_VIDEONODE_FLITE(x)		(36 + (x))
/* Exynos4x12 supports video, graphic0~1 layer
 * Exynos5250 supports graphic0~3 layer */
#define EXYNOS_VIDEONODE_MXR_GRP(x)		(16 + (x))
#define EXYNOS_VIDEONODE_MXR_VIDEO		20

#define EXYNOS_VIDEONODE_SCALER(x)		(50 + (x))

#define EXYNOS_VIDEONODE_FIMG2D			55

/* 100 ~ 149 is used by FIMC-IS */
#define EXYNOS_VIDEONODE_FIMC_IS		(100)

#endif /* __MACH_VIDEONODE_EXYNOS5_H */