ANDROID: mm: export vm_unmapped_area()
The mali GPU device needs to have a custom get_unmapped_area() file operation [1] in order to align GPU VA memory to a 2MB boundary for 64-bit processes. Since the GPU driver is a module, we need to export vm_unmapped_area() to call it from the device's get_unmapped_area() file op. [1] https://android.googlesource.com/kernel/google-modules/gpu/+/refs/heads/android-gs-raviole-mainline/mali_kbase/thirdparty/mali_kbase_mmap.c#237 Bug: 254386546 Signed-off-by: Will McVicker <willmcvicker@google.com> Signed-off-by: Greg Kroah-Hartman <gregkh@google.com> Change-Id: I08a1247e215a46fa0ca1a0d61f63be4fa8375ee4
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
de07798cf0
commit
0291c4ad93
Reference in New Issue
Block a user