Commit e8ac88bb authored by Jing-Ting Wu's avatar Jing-Ting Wu Committed by Treehugger Robot
Browse files

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: default avatarWooyeon Kim <wooy88.kim@samsung.com>
Signed-off-by: default avatarJing-Ting Wu <Jing-Ting.Wu@mediatek.com>
parent d3ec16ca
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment