HDMA: No overhead for HDMA if all channels are disabled (?)
This commit is contained in:
parent
7e091529aa
commit
273403676a
1 changed files with 5 additions and 2 deletions
|
@ -83,8 +83,11 @@ void DmaController::RunDma(DmaChannelConfig &channel)
|
|||
|
||||
void DmaController::InitHdmaChannels()
|
||||
{
|
||||
//"The overhead is ~18 master cycles"
|
||||
_memoryManager->IncrementMasterClockValue<18>();
|
||||
if(_hdmaChannels) {
|
||||
//"The overhead is ~18 master cycles"
|
||||
_memoryManager->IncrementMasterClockValue<18>();
|
||||
}
|
||||
|
||||
for(int i = 0; i < 8; i++) {
|
||||
DmaChannelConfig &ch = _channel[i];
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue