Skip to content
Commit 93adc8b5 authored by Philipp Zabel's avatar Philipp Zabel
Browse files

gpu: ipu-v3: allocate ipuv3_channels as needed



Most of the 64 IPUv3 DMA channels are never used, some of them (channels
16, 30, 32, 34-39, and 53-63) are even marked as reserved.
Allocate the channel control structure only when a channel is actually
requested, replace the fixed size array with a list, and remove the
unused enabled and busy fields from the ipuv3_channel structure.

Signed-off-by: default avatarPhilipp Zabel <p.zabel@pengutronix.de>
parent e1e9733c
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