mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-09-26 18:16:26 +00:00
drm/nouveau: better alignment of bo sizes and use roundup instead of ALIGN
- Aligning to block size should ensure that the extra size is enough. - Using roundup, because not all sizes are powers of two. Signed-off-by: Maarten Maathuis <madman2003@gmail.com>
This commit is contained in:
parent
111b459af1
commit
1c7059e4f3
2 changed files with 8 additions and 4 deletions
Loading…
Add table
Add a link
Reference in a new issue