Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support PSRAM in DmaTxBuf #2161
Support PSRAM in DmaTxBuf #2161
Changes from all commits
306d118
008c8cd
b231c8b
07f780c
b1376b3
179e926
1e37d4f
5b2b4c9
12acacd
9e2067d
9fce2f4
b264ee2
1e62e91
510b392
af58a61
70e98d7
fa7cce0
6c9ff4c
d18fea7
37f7bff
9162e63
51028c6
d452ef6
b24f066
65adcdf
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't think we do any validation here, so in theory, could we simplify all this? Could we, instead of erroring if
block_size
is None, assume the strictest alignment requirement, and use that for our chunk size? If yes, do we even need manually specifyingblock_size
? The difference between 4080 and 4032 byte chunks sounds mostly negligible to me.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Isn't this the validation? Oh you mean that we don't check that the buffer aligns to the block size? That's because it's TX, fair it could be skipped.
imo the user should be able to choose and the choice should be explicit. Using bigger block sizes has bandwidth consequences for PSRAM.
Would moving the psram support to a different type get out of your way?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This isn't exactly in my way, I was just wondering. But I missed the bandwidth part of the question so I'm fine with the rest :)