basic: non_plat: Let GPU reload

02-22 12:59:47.955    15    15 I mali 28000000.mali: reloading firmware
02-22 12:59:47.955    15    15 W mali 28000000.mali: loading /vendor/firmware/mali_csffw.bin failed with error -13
02-22 12:59:47.955    15    15 W mali 28000000.mali: Direct firmware load for mali_csffw.bin failed with error -2
02-22 12:59:47.955    15    15 E mali 28000000.mali: Failed to reload firmware image 'mali_csffw.bin'
02-22 12:59:47.920    15    15 W kworker/0:1: type=1400 audit(0.0:10): avc: denied { read } for name="mali_csffw.bin" dev="dm-4" ino=5689716 scontext=u:r:kernel:s0 tcontext=u:object_r:same_process_hal_file:s0 tclass=file permissive=0

Bug: 220801802
Test: device can resume after an hour of suspend.
Change-Id: Ib252d6b1ac50ba7578a2ebf8cd8745004c385378
This commit is contained in:
Adam Shih 2024-02-12 21:13:00 +00:00 committed by bengris32
parent 4098d11dc5
commit 40ea9e1bf7
No known key found for this signature in database
GPG Key ID: 5C798EC5589ED9BF

View File

@ -85,3 +85,6 @@ allow kernel mtk_audiohal_data_file:file write;
# Date: WK19.03
allow kernel expdb_block_device:blk_file rw_file_perms;
# b/220801802
allow kernel same_process_hal_file:file r_file_perms;