Commit 134b87b0 authored by Philipp Zabel's avatar Philipp Zabel Committed by Greg Kroah-Hartman

staging: drm/imx: ipu-dmfc: use defines for ipu channel numbers

Signed-off-by: default avatarPhilipp Zabel <p.zabel@pengutronix.de>
Acked-by: default avatarSascha Hauer <s.hauer@pengutronix.de>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 1f941ae8
...@@ -61,7 +61,7 @@ struct dmfc_channel_data { ...@@ -61,7 +61,7 @@ struct dmfc_channel_data {
static const struct dmfc_channel_data dmfcdata[] = { static const struct dmfc_channel_data dmfcdata[] = {
{ {
.ipu_channel = 23, .ipu_channel = IPUV3_CHANNEL_MEM_BG_SYNC,
.channel_reg = DMFC_DP_CHAN, .channel_reg = DMFC_DP_CHAN,
.shift = DMFC_DP_CHAN_5B_23, .shift = DMFC_DP_CHAN_5B_23,
.eot_shift = 20, .eot_shift = 20,
...@@ -73,13 +73,13 @@ static const struct dmfc_channel_data dmfcdata[] = { ...@@ -73,13 +73,13 @@ static const struct dmfc_channel_data dmfcdata[] = {
.eot_shift = 22, .eot_shift = 22,
.max_fifo_lines = 1, .max_fifo_lines = 1,
}, { }, {
.ipu_channel = 27, .ipu_channel = IPUV3_CHANNEL_MEM_FG_SYNC,
.channel_reg = DMFC_DP_CHAN, .channel_reg = DMFC_DP_CHAN,
.shift = DMFC_DP_CHAN_5F_27, .shift = DMFC_DP_CHAN_5F_27,
.eot_shift = 21, .eot_shift = 21,
.max_fifo_lines = 2, .max_fifo_lines = 2,
}, { }, {
.ipu_channel = 28, .ipu_channel = IPUV3_CHANNEL_MEM_DC_SYNC,
.channel_reg = DMFC_WR_CHAN, .channel_reg = DMFC_WR_CHAN,
.shift = DMFC_WR_CHAN_1_28, .shift = DMFC_WR_CHAN_1_28,
.eot_shift = 16, .eot_shift = 16,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment