Age | Commit message (Collapse) | Author |
|
Update KMD to R47P0
Bug: 315267052
Test: Outlined in go/pixel-gpu-kmd-r47p0
Change-Id: I89454c4c862033fe330b260a9bc6cc777a3ca231
Signed-off-by: Vamsidhar reddy Gaddam <gvamsi@google.com>
|
|
Provenance: ipdelivery@ad01e50d640910a99224382bb227e6d4de627657
Change-Id: I19ac9bce34a5c5a319c1b4a388e8b037b3dfe6e7
|
|
MIDCET-4882,GPUCORE-40989 Break deadlock BTW user thread and page fault worker
This commit adds a RW semaphore 1> to prevent MMU operations during
P.Mode entrance and 2> to break the deadlock on 'kctx reg_lock'
between user thread and page-fault worker thread.
Bug: 301064831
Signed-off-by: Renato Grottesi <otaner@google.com>
Test: manual run of the use case from the ticket
Provenance: https://code.ipdelivery.arm.com/c/GPU/mali-ddk/+/6221
Change-Id: I692f8fafc558a6a45b5ca4210aa3f66c2617553f
|
|
Storing the waitqueue in struct kbase_context leaves epoll holding a
stale pointer to it, which it later attempts to deref and crashes the
kernel in:
[*][T15976] remove_wait_queue+0x64/0x190
[40350.510681][T15976] ep_unregister_pollwait+0x98/0xe8
Move this waitqueue to struct kbase_file to ensure that
it lives long enough during process termination that the
ep_unregister_pollwait access is valid (b/302281297).
Bug: 300750575
Test: SST: b/302324090#comment4, repro: b/300750575#comment26
Change-Id: Ib161a7d7d4314bb6951bddbd87183a7dc71d5ac0
Signed-off-by: Varad Gautam <varadgautam@google.com>
|
|
Split functionality to allow creation of arbitrary
thread tasks and kthread_worker_fn workers, while sharing
the promotion to RT scheduling policies for both.
Finally use this functionality to elevate "mali-gpuq-kthread"
to RT priority.
Bug: 290882327
Change-Id: Icf2c07849cdd0ca47bcfc06700853ac1856d0a87
|
|
Bug: 290882327
Change-Id: I90723cbaa3f294431087587fd8025f0688e51bf2
|
|
Provenance: ipdelivery@5c8fdf6c071d63537e87949cfb4845079a669a0b
Change-Id: Icc06581f804bf59be5fe923349318e703f02d5a3
|
|
Provenance: ipdelivery@d10c137c7691a470b8b33786aec4965315db4561
Change-Id: I4fbcc669d3b8e36c8288c91fdddd8b79258b6635
|
|
Merge DDK version R43P0 from upstream branch
Provenance: 48a9c7e25986318c8475bc245de51e7bec2606e8 (ipdelivery/EAC/v_r43p0)
VX504X08X-BU-00000-r43p0-01eac0 - Valhall Android DDK
VX504X08X-BU-60000-r43p0-01eac0 - Valhall Android Document Bundle
VX504X08X-DC-11001-r43p0-01eac0 - Valhall Android DDK Software Errata
VX504X08X-SW-99006-r43p0-01eac0 - Valhall Android Renderscript AOSP parts
Bug 278174418
Commit-Topic: R43P0_KMD
Signed-off-by: Debarshi Dutta <debarshid@google.com>
Change-Id: I84fb19e7ce5f28e735d44a4993d51bd985aac80b
|
|
Provenance: 48a9c7e25986318c8475bc245de51e7bec2606e8 (ipdelivery/EAC/v_r43p0)
VX504X08X-BU-00000-r43p0-01eac0 - Valhall Android DDK
VX504X08X-BU-60000-r43p0-01eac0 - Valhall Android Document Bundle
VX504X08X-DC-11001-r43p0-01eac0 - Valhall Android DDK Software Errata
VX504X08X-SW-99006-r43p0-01eac0 - Valhall Android Renderscript AOSP parts
Change-Id: I5df1914eba386e0bf507d4951240e1744f666a29
|
|
Provenance: 300534375857cb2963042df7b788b1ab5616c500 (ipdelivery/EAC/v_r42p0)
VX504X08X-BU-00000-r42p0-01eac0 - Valhall Android DDK
VX504X08X-BU-60000-r42p0-01eac0 - Valhall Android Document Bundle
VX504X08X-DC-11001-r42p0-01eac0 - Valhall Android DDK Software Errata
VX504X08X-SW-99006-r42p0-01eac0 - Valhall Android Renderscript AOSP parts
Change-Id: I3b15e01574f03706574a8edaf50dae4ba16e30c0
|
|
This adds a trigger_uevent debugfs node that takes the uevent type and
info as write parameter and fires the corresponding uevent.
Bug: 275367216
Bug: 275367223
Test: Combined with userspace patches: b/276704984#comment2
Change-Id: Ic1e069259e5d068a4677c8d1472d74485b8a904c
Signed-off-by: Varad Gautam <varadgautam@google.com>
|
|
Add SLC platform integration, and plumb custom ioctl through.
Bug: 264990406
Test: Boot to home
Test: Manual ioctl call
Change-Id: I0009cec83f54cfed8e12477c5ebd7aa01cf50cc8
Signed-off-by: Jack Diver <diverj@google.com>
|
|
Add an ioctl that userspace can use to inform the kernel of buffer
live ranges.
The icotl is currently a stub.
Bug: 264990406
Change-Id: Ie36395be5a1e835ed1ed39ba29737f4e51b8deee
Signed-off-by: Jack Diver <diverj@google.com>
|
|
Provenance 7bb206ede984968bd1014b29529e94763b043202 (ipdelivery/EAC/v_r41p0)
VX504X08X-BU-00000-r41p0-01eac0 - Valhall Android DDK
VX504X08X-BU-60000-r41p0-01eac0 - Valhall Android
Document Bundle
VX504X08X-DC-11001-r41p0-01eac0 - Valhall Android
DDK Software Errata
VX504X08X-SW-99006-r41p0-01eac0 - Valhall
Android Renderscript AOSP parts
Change-Id: I95f741ffe0ec4ee4c8f2c0338778294f1a2a2836
|
|
Provenance: 056ded72d351d1bf6319f7b2b925496dd6ad304f (ipdelivery/EAC/v_r40p0)
VX504X08X-BU-00000-r40p0-01eac0 - Valhall Android DDK
VX504X08X-BU-60000-r40p0-01eac0 - Valhall Android Document Bundle
VX504X08X-DC-11001-r40p0-01eac0 - Valhall Android DDK Software Errata
VX504X08X-SW-99006-r40p0-01eac0 - Valhall Android Renderscript AOSP parts
Change-Id: I6db6b45c73c5447dd246533246e65b5ef2c8872f
|
|
SBMerger: 478053055
Change-Id: Icd13bab21f3326e9f91e60398ac5a8ff4b818040
Signed-off-by: SecurityBot <android-nexus-securitybot@system.gserviceaccount.com>
|
|
SBMerger: 478053055
Change-Id: I54d572a47b7c36cc2d52eea281c7b2f5f3af2b12
Signed-off-by: SecurityBot <android-nexus-securitybot@system.gserviceaccount.com>
|
|
Upgrade pm lock to rt_mutex. Userspace code, which may be of any
priority, can hold this lock through certain paths, which leads to PI
on RT tasks that also need this path.
Bug: 225338402
Test: boot to home, subjective improvement noted.
Change-Id: Ie8e5aff5d2f59a0274e4b19f534624bbaf50870e
|
|
'group_id' member of the ioctl (KBASE_IOCTL_CS_TILER_HEAP_INIT) struct
must be validated before initializing CSF tiler heap.
Otherwise out-of-boundary of memory group pools array for the CSF tiler
heap could happen and will potentially lead to kernel panic.
TI2: 933204 (DDK Precommit)
TI2: 933199 (BASE_CSF_TEST)
Bug: 259061568
Test: verified fix using poc
Provenance: https://code.ipdelivery.arm.com/c/GPU/mali-ddk/+/4766
Change-Id: I209a3d5152a34c278c17383e4aa9080aa9735822
(cherry picked from commit 55b44117111bf6a7e324301cbbf4f89669fa04c3)
|
|
Bug: 258707257
Test: Run APC ioctl cracker and check APC log
Change-Id: I8a03cd0b23540cda9312c80ded1c5895ddcf0d56
|
|
partner/android13-gs-pixel-5.10-tm-qpr2""
This reverts commit 34e635317dc2a91076ac341df3867ac3bdb31ef1.
Bug: 228779790
Change-Id: Ic9d131af5568d7f55f610f255fa1c02925b18482
(cherry picked from commit 1c916e3f7c4d999f68e40c60fee6fe39418fcecd)
|
|
This patch is a fix for:
- SW Errata: 2713363
- CVE: CVE-2022-36449
Fixes overrun by kbase_read.
Bug: 251397485
Provenance: https://code.ipdelivery.arm.com/c/GPU/mali-ddk/+/4609/1
Change-Id: I4fbed81f7f36906d228bf84667ebe0eea3e05a7f
Signed-off-by: Jack Diver <diverj@google.com>
(cherry picked from commit c7b5fc80ec4a8d89465cb004d22c24068125ea30)
|
|
This reverts commit 6dcd9736cbf84712dd7073dab4aea256e30517c2.
Reason for revert: UMD taking too long to merge
Bug: 228779790
Change-Id: I08b861ba3cfc8b025f653ef86b0a5ec643e5b13d
|
|
Bug: 228779790
Bug: 240184939
Bug: 240185324
Test: Boot to home
Test: SST run
Test: Camera, portrait, video record
Test: VK CTS dEQP-VK.protected_memory.stack#*
Test: CtsDisplayTestCases
Test: CtsOpenGLTestCases
Test: CtsSkQPTestCases
Test: CtsNativeHardwareTestCases
Test: CtsUiRenderingTestCases
Test: CtsGpuToolsHostTestCases
Test: CtsGpuProfilingDataTestCases
Test: CtsVrTestCases
Test: CtsCameraTestCases
Test: CtsDeqpTestCases
Signed-off-by: Jack Diver <diverj@google.com>
Change-Id: I555b0c61cd08c973aaf7f75dc92d0c7573fa7c91
|
|
worklog:
- commit 1b55a3b93f52 ("mali_kbase: use RT_MUTEX for some job submission
and context locks") replaced some locks with RT_MUTEX. Replace
corresponding locks to avoid build breakage.
Test: Build kernel
Test: Boot to home
Bug: 238399460
Signed-off-by: Lucas Wei <lucaswei@google.com>
Change-Id: Id0d3f05bd0b5ebacc29e126ba98db5bb789e91fe
|
|
This patch is a fix for:
- SW Errata: 2713363
- CVE: CVE-2022-36449
Fixes overrun by kbase_read.
Bug: 251397485
Provenance: https://code.ipdelivery.arm.com/c/GPU/mali-ddk/+/4609/1
Signed-off-by: Jack Diver <diverj@google.com>
Change-Id: I86d5af2b9d6a85a520987acb7c1e9a49c19f4d42
|
|
To avoid kernel panic when we enable paralle module loading,
add the soft dependency 'exynos-pd-dbg'
Bug: 229794277
Signe-off-by: chungkai <chungkai@google.com>
Change-Id: If0a2c0786ce080df231c39fdb6253dfdf98fb290
|
|
VX504X08X-BU-00000-r38p1-01eac0 - Valhall Android DDK
VX504X08X-BU-60000-r38p1-01eac0 - Valhall Android Document Bundle
VX504X08X-DC-11001-r38p1-01eac0 - Valhall Android DDK Software Errata
VX504X08X-SW-99006-r38p1-01eac0 - Valhall Android Renderscript AOSP parts
Signed-off-by: Jack Diver <diverj@google.com>
Change-Id: I242060ad8ddc14475bda657cbbbe6b6c26ecfd57
|
|
Bug: 230692528
Test: smoke test
Signed-off-by: Devika Krishnadas <kdevika@google.com>
Change-Id: I7d5da6c0a55ccfc6e789ecb74f0af71aac9d5be3
|
|
Bug: 229875380
Test: Boot and check mali thread prio
Signed-off-by: Wei Wang <wvw@google.com>
Change-Id: Ia276b1a4f8ccd26faafa5e40723dc4181eb224f9
|
|
Bug: 220942030
Test: boot to Home, Camera, Video, Chrome
Signed-off-by: Siddharth Kapoor <ksiddharth@google.com>
Change-Id: I8cf3a6243b092a05299acf956f5293facd1ed3cc
|
|
Provenance: 9f72c118d9 (ipdelivery/EAC/v_r36p0)
VX504X08X-BU-00000-r36p0-01eac0 - Valhall Android DDK
VX504X08X-BU-60000-r36p0-01eac0 - Valhall Android Document Bundle
VX504X08X-DC-11001-r36p0-01eac0 - Valhall Android DDK Software Errata
VX504X08X-SW-99006-r36p0-01eac0 - Valhall Android Renderscript AOSP parts
Signed-off-by: Siddharth Kapoor <ksiddharth@google.com>
Change-Id: I4a63b707fedc68d7b7d046596c7098da47a139cb
|
|
Bug: 213455888
Signed-off-by: Ankit Goyal <layog@google.com>
Change-Id: Id9ef73da49680e2935a827c40d54169545f7162e
|
|
Provenance: 3e260085ac (collaborate/EAC/v_r35p0)
VX504X08X-BU-00000-r35p0-01eac0 - Valhall Android DDK
VX504X08X-BU-60000-r35p0-01eac0 - Valhall Android Document Bundle
VX504X08X-DC-11001-r35p0-01eac0 - Valhall Android DDK Software Errata
VX504X08X-SW-99006-r35p0-01eac0 - Valhall Android Renderscript AOSP parts
Signed-off-by: Siddharth Kapoor <ksiddharth@google.com>
Change-Id: Id9ef73da49680e2935a827c40d54169545f7162e
|
|
Change-Id: I051ad3af9ac645fb8585219c48210df424a27807
Signed-off-by: Siddharth Kapoor <ksiddharth@google.com>
|
|
Provenance:
046d23c969 (collaborate/google/android/v_r34p0-00dev1)
VX504X08X-BU-00000-r34p0-00dev1 - Valhall Android DDK
VX504X08X-SW-99006-r34p0-00dev1 - Valhall Android Renderscript AOSP parts
Documentation from VX504X08X-BU-00000 omitted.
Signed-off-by: Jesse Hall <jessehall@google.com>
Change-Id: I4ebbb3a3af709bd39f883eed3b35bf4657a95797
|
|
Allow for event wakeups to be signalled on the current core for reduced
latency
Bug: 187515047
Test: Analyse perfetto traces
Change-Id: I104788a7b497f1056ebee0f4aa344cc75ba2d123
Signed-off-by: Devika Krishnadas <kdevika@google.com>
|
|
This commit updates the Mali KMD to version r32p1-beta4 from
commit bbbb1cf6bb211bb2094dd66656966277c326867f
Bug: 191976359
Signed-off-by: Sidath Senanayake <sidaths@google.com>
Change-Id: I6f18cbf8a48bf7ca4bccdaf08ce5e97586fff793
|
|
Provenance:
0767a19d2 (collaborate/google/android/v_r32p1-00bet0)
VX504X08X-BU-00000-r32p1-00bet4 - Valhall Android DDK
VX504X08X-BU-60000-r32p1-00bet4 - Valhall Android Document Bundle
VX504X08X-DC-11001-r32p1-00bet4 - Valhall Android DDK Software Errata
VX504X08X-SW-99006-r32p1-00bet4 - Valhall Android Renderscript AOSP parts
Signed-off-by: Sidath Senanayake <sidaths@google.com>
Change-Id: I05e6c40ff66850114abc89c47cb838f5347f2862
|
|
This reverts commit 9e6d1d7e88bae9f4be2ffbb20c9ac4655296c5d6.
Bug: 191966412
Signed-off-by: Ankit Goyal <layog@google.com>
Change-Id: I94b91105e1e00af58445c94080df62321aa777ae
|
|
This commit updates the Mali KMD to version r32p1-beta2 from
commit 52c5bf56aa5f18f0e0158998b8ac23bfc4cccad6
Bug: 186092835
Signed-off-by: Sidath Senanayake <sidaths@google.com>
Change-Id: Ie68303c73624067234aeb8756ad0835115380968
|
|
Revert submission 1960415-dma-buf-sysfs
Reason for revert: causing kbase KPs
Reverted Changes:
Ib1400afdb:mali_kbase: platform: Add sysfs nodes for imported...
Id47feadaf:mali_kbase: platform: Add per-process and global s...
I29da69e46:mali_kbase: platform: Add per-process and global a...
Bug: 194313269
Change-Id: Ie601280db20e41ab01884552785feb9b0ac260a6
Signed-off-by: Jonglin Lee <jonglin@google.com>
|
|
Bug: 191966412
Signed-off-by: Ankit Goyal <layog@google.com>
Change-Id: Id47feadaf9da7ef8e22494ab64e6263d7f87213c
|
|
Provenance: 83a91db27 (collaborate/google/android/v_r32p1-00bet0)
VX504X08X-BU-00000-r32p1-00bet2 - Valhall Android DDK
VX504X08X-BU-60000-r32p1-00bet2 - Valhall Android Document Bundle
VX504X08X-DC-11001-r32p1-00bet2 - Valhall Android DDK Software Errata
VX504X08X-SW-99006-r32p1-00bet2 - Valhall Android Renderscript AOSP parts
Signed-off-by: Sidath Senanayake <sidaths@google.com>
Change-Id: Ib171e2ed076c1f60b38f4cc9d99848489d4d1459
|
|
This commit updates the Mali KMD to version r32p1-beta from
commit 2bfaaa5f53c45ab7b4f6daba20e92ef6d16ab53b
Bug: 190388367
Signed-off-by: Sidath Senanayake <sidaths@google.com>
Change-Id: Ia2fa310b12eb95b0f3013c69ca821909d3fbf125
|
|
This commit updates the Mali KMD to version r31p0 from
commit fca8613cfcf585bf9113dca96a05daea9fd89794
Bug: 185900681
Signed-off-by: Sidath Senanayake <sidaths@google.com>
Change-Id: I3c814b6145b10beee3d0fecedb74a6225a09a858
|
|
Provenance: 59f633569 (collaborate/google/android/v_r32p1-00bet0)
VX504X08X-BU-00000-r32p1-00bet0 - Valhall Android DDK
VX504X08X-BU-60000-r32p1-00bet0 - Valhall Android Document Bundle
VX504X08X-DC-11001-r32p1-00bet0 - Valhall Android DDK Software Errata
VX504X08X-SW-99006-r32p1-00bet0 - Valhall Android Renderscript AOSP parts
Signed-off-by: Sidath Senanayake <sidaths@google.com>
Change-Id: I6c9fc6e1e9f2e58bc804eb79582ad7afaafdef1b
|
|
Provenance: 2ea0ef9bd (collaborate/EAC/v_r31p0)
VX504X08X-BU-00000-r31p0-01eac0 - Valhall Android DDK
VX504X08X-BU-60000-r31p0-01eac0 - Valhall Android Document Bundle
VX504X08X-DC-11001-r31p0-01eac0 - Valhall Android DDK Software Errata
VX504X08X-SW-99006-r31p0-01eac0 - Valhall Android Renderscript AOSP parts
Signed-off-by: Sidath Senanayake <sidaths@google.com>
Change-Id: Ide9d5fdc6d9c95fa66a3546b01f619b43c09496d
|
|
This reverts commit ef7db1a858a7c156d6310d11d04efbaf7e216bf6.
Reason for Revert: subsequent merges added additional callsites
for this wakeup that might not make sense. Reverting this seems
to avert a long-runnable problem, so revert while targetting irq
wakeup path more directly.
Bug: 187129999
Change-Id: I5f685778b9a31c8dfeb2c22f8040ca29b439409d
|