diff options
author | Sui Jingfeng <sui.jingfeng@linux.dev> | 2024-11-15 20:32:46 +0800 |
---|---|---|
committer | Lucas Stach <l.stach@pengutronix.de> | 2024-12-03 18:30:32 +0100 |
commit | a807cb22adc490ef33304e52c70ab65b3f19fe20 (patch) | |
tree | b72ed2cd647f6bea54f8172a6def07bf4783fd7f /scripts/generate_rust_analyzer.py | |
parent | 0078a6f4843647d4792433eb8f0f505cd4c2b18b (diff) |
drm/etnaviv: Improve VA, PA, SIZE alignment checking
Alignment checking is only needed to be done in the upper caller function.
If those address and sizes are able to pass the check, it will certainly
pass the same test in the etnaviv_context_unmap() function. We don't need
examine it more than once.
Remove redundant alignment tests, move the those useless to upper caller
function.
Signed-off-by: Sui Jingfeng <sui.jingfeng@linux.dev>
Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions