ANDROID: vendor_hooks: FPSIMD save/restore by using vendor_hooks
- To use fpsimd in kernel task, vendor_hook call is needed to save/restore fpsimd at scheduling time. - ANDROID_VENDOR_DATA added to thread_struct. - Vendor_hooks is called when thread is switching for save/restore fpsimd states. (trace_android_vh_is_fpsimd_save(prev, next)) This patch was previously in android-mainline, but was reverted due to conflicts in the 6.2-rc1 merge (aosp/2365029). Adding back. Bug: 149632552 Bug: 313805669 Change-Id: Ibaa13484d1251fc53c304972f46e8e8a2c1df7fa Signed-off-by:Wooyeon Kim <wooy88.kim@samsung.com> Signed-off-by:
Jing-Ting Wu <Jing-Ting.Wu@mediatek.com>
Loading
Please sign in to comment