Commit 75593be5 authored by Sidath Senanayake's avatar Sidath Senanayake Committed by TreeHugger Robot
Browse files

mali_kbase: mem: use mem-pin APIs in >= 5.9 kernels

For >=5.9 kernels,
    get_user_pages_remote => pin_user_pages_remote
    put_page              => unpin_user_page

Bug: 183641831
Bug: 185478741
Test: atest -c -d android.hardware.camera2.cts.ImageReaderTest#testImageReaderPrivateWithProtectedUsageFlag
Provenance: https://collaborate.code.arm.com/3220


Signed-off-by: default avatarSidath Senanayake <sidaths@google.com>
Change-Id: I2ad5ff7f3b171a61a41fdf2b9ae1f932be53685c
parent bb5eae0a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment