commit | 93adc8b5705c14d16be382d43699d2ba71248a4b | [log] [tgz] |
---|---|---|
author | Philipp Zabel <p.zabel@pengutronix.de> | Mon May 08 12:45:52 2017 +0200 |
committer | Philipp Zabel <p.zabel@pengutronix.de> | Thu Jun 08 08:57:19 2017 +0200 |
tree | 22324a2cf6b2948a903e609b80d7741aa88b3ae6 | |
parent | e1e9733cd37908a9ba61e29154561f0c81420e06 [diff] |
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: Philipp Zabel <p.zabel@pengutronix.de>