etnaviv: Align the size and IOVA of etna_bo to CPU page size
What does this MR do and why?
etnaviv: Align the size and IOVA of etna_bo to CPU page size
Etnaviv assumes that GPU page size is 4KiB, yet on some systems, the CPU
page size is 16 KiB. The size of etnaviv buffer objects will be aligned
to CPU page size on kernel side, however, userspace still assumes the
page size is 4KiB and doing allocation with 4KiB page as unit. This
results in softpin(userspace managed per-process address spaces) fails.
Because kernel side BO takes up bigger address space than user space
assumes whenever the size of a BO is not CPU page size aligned.
Signed-off-by: Sui Jingfeng <sui.jingfeng@linux.dev>