Skip to content

Commit c2d670f

Browse files
slongerbeampH5
authored andcommitted
gpu: ipu-v3: Rename and add IDMAC channels
Rename the ENC/VF/PP rotation channel names, to be more consistent with the convention that *_MEM is write-to-memory channels and MEM_* is read-from-memory channels. Also add the channels who's source and destination is the IC. Signed-off-by: Steve Longerbeam <steve_longerbeam@mentor.com> Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
1 parent ba07975 commit c2d670f

1 file changed

Lines changed: 14 additions & 6 deletions

File tree

‎drivers/gpu/ipu-v3/ipu-prv.h‎

Lines changed: 14 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -28,17 +28,25 @@ struct ipu_soc;
2828
#define IPUV3_CHANNEL_CSI1 1
2929
#define IPUV3_CHANNEL_CSI2 2
3030
#define IPUV3_CHANNEL_CSI3 3
31+
#define IPUV3_CHANNEL_VDI_MEM_IC_VF 5
32+
#define IPUV3_CHANNEL_MEM_IC_PP 11
33+
#define IPUV3_CHANNEL_MEM_IC_PRP_VF 12
34+
#define IPUV3_CHANNEL_G_MEM_IC_PRP_VF 14
35+
#define IPUV3_CHANNEL_G_MEM_IC_PP 15
36+
#define IPUV3_CHANNEL_IC_PRP_ENC_MEM 20
37+
#define IPUV3_CHANNEL_IC_PRP_VF_MEM 21
38+
#define IPUV3_CHANNEL_IC_PP_MEM 22
3139
#define IPUV3_CHANNEL_MEM_BG_SYNC 23
3240
#define IPUV3_CHANNEL_MEM_FG_SYNC 27
3341
#define IPUV3_CHANNEL_MEM_DC_SYNC 28
3442
#define IPUV3_CHANNEL_MEM_FG_SYNC_ALPHA 31
3543
#define IPUV3_CHANNEL_MEM_DC_ASYNC 41
36-
#define IPUV3_CHANNEL_ROT_ENC_MEM 45
37-
#define IPUV3_CHANNEL_ROT_VF_MEM 46
38-
#define IPUV3_CHANNEL_ROT_PP_MEM 47
39-
#define IPUV3_CHANNEL_ROT_ENC_MEM_OUT 48
40-
#define IPUV3_CHANNEL_ROT_VF_MEM_OUT 49
41-
#define IPUV3_CHANNEL_ROT_PP_MEM_OUT 50
44+
#define IPUV3_CHANNEL_MEM_ROT_ENC 45
45+
#define IPUV3_CHANNEL_MEM_ROT_VF 46
46+
#define IPUV3_CHANNEL_MEM_ROT_PP 47
47+
#define IPUV3_CHANNEL_ROT_ENC_MEM 48
48+
#define IPUV3_CHANNEL_ROT_VF_MEM 49
49+
#define IPUV3_CHANNEL_ROT_PP_MEM 50
4250
#define IPUV3_CHANNEL_MEM_BG_SYNC_ALPHA 51
4351

4452
#define IPU_MCU_T_DEFAULT 8

0 commit comments

Comments
 (0)