Age | Commit message (Collapse) | Author |
|
regions
Bug: 324565943
Change-Id: I706bef805b96113ad4dc1b44d3ea1a8f12652965
Signed-off-by: Jack Diver <diverj@google.com>
(cherry picked from commit 0ade90bc0ce15b8bfc74a7a42e1a48a4b1d1312f)
|
|
platform hooks"
Revert submission 2753879-gpu-slcv2-gs201
Reason for revert: Prebuild did not land before cutoff
Reverted changes: /q/submissionid:2753879-gpu-slcv2-gs201
Bug: 329447972
Change-Id: I24e2d118d0b3dfce52791c74825ddd150d56f660
|
|
context idle"
Revert submission 2753879-gpu-slcv2-gs201
Reason for revert: Prebuild did not land before cutoff
Reverted changes: /q/submissionid:2753879-gpu-slcv2-gs201
Bug: 329447972
Change-Id: I9fd9a733a844bdc037b2ccbac2c8daf44186d319
|
|
Revert submission 2753879-gpu-slcv2-gs201
Reason for revert: Prebuild did not land before cutoff
Reverted changes: /q/submissionid:2753879-gpu-slcv2-gs201
Bug: 329447972
Change-Id: I59fcb56a434c21cc3bdfdacaf3c3978d548330ad
|
|
Revert submission 2753879-gpu-slcv2-gs201
Reason for revert: Prebuild did not land before cutoff
Reverted changes: /q/submissionid:2753879-gpu-slcv2-gs201
Bug: 329447972
Change-Id: I60d8cbb170affb4edc126aeee390b16935244b21
|
|
migration"
2dd21a70c75d09b6e73838f8882e19dd734a66f0
Bug: 329447972
Change-Id: Ic4b43ec6ed408d471b50c773dbc4f74a474dc018
|
|
counting"
Revert submission 2753879-gpu-slcv2-gs201
Reason for revert: Prebuild did not land before cutoff
Reverted changes: /q/submissionid:2753879-gpu-slcv2-gs201
Bug: 329447972
Change-Id: I13716375afbe5be1ae04eb059ed24e8780e503cd
|
|
Revert submission 2753879-gpu-slcv2-gs201
Reason for revert: Prebuild did not land before cutoff
Reverted changes: /q/submissionid:2753879-gpu-slcv2-gs201
Bug: 329447972
Change-Id: I61f877019194c4c86cc0df79ea466adecceaef19
|
|
signal"
Revert submission 2753879-gpu-slcv2-gs201
Reason for revert: Prebuild did not land before cutoff
Reverted changes: /q/submissionid:2753879-gpu-slcv2-gs201
Bug: 329447972
Change-Id: I687f950650aaf9a4c243e9474b53d47563e194a1
|
|
PIXEL_GPU_SLC_ACPM_SIGNAL..."
Revert submission 2753879-gpu-slcv2-gs201
Reason for revert: Prebuild did not land before cutoff
Reverted changes: /q/submissionid:2753879-gpu-slcv2-gs201
Bug: 329447972
Change-Id: I120f7ae7d8accac0cb0d81a10457c630c0f2056a
|
|
partition"
Revert submission 2753879-gpu-slcv2-gs201
Reason for revert: Prebuild did not land before cutoff
Reverted changes: /q/submissionid:2753879-gpu-slcv2-gs201
Bug: 329447972
Change-Id: I8216424d3713d063b0f24f33a65162541cfda408
|
|
regions am: 90891bf294 -s ours
am skip reason: skipped by mjstokes
Original change: https://partner-android-review.googlesource.com/c/kernel/private/google-modules/gpu/+/2758973
Change-Id: I043daac3d2d3544dc6149cb17e6da9be2045c3ff
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
|
|
Bug: 324565943
Change-Id: I706bef805b96113ad4dc1b44d3ea1a8f12652965
Signed-off-by: Jack Diver <diverj@google.com>
|
|
Add sysfs node to manually pin the SLC partition in the enabled
state, which is useful when profiling SLC performance.
Bug: 313458962
Test: echo 1 > /sys/kernel/pixel_stat/gpu/mem/slc_pin_partition
Signed-off-by: Jack Diver <diverj@google.com>
(cherry picked from https://partner-android-review.googlesource.com/q/commit:4f276f684312fa600b038553e1ad2b357034dd91)
Merged-In: I5d316d9277c7f514039581f95188f14f86bd87c2
Change-Id: I5d316d9277c7f514039581f95188f14f86bd87c2
|
|
Bug: 313458962
Test: gfxbench
Signed-off-by: Jack Diver <diverj@google.com>
(cherry picked from https://partner-android-review.googlesource.com/q/commit:3d3cde1cabde47ebb37db73b5e99a238e29b6762)
Merged-In: Ifd1f9946b2a3c78c412986c57e499b9bd2ef4b3c
Change-Id: Ifd1f9946b2a3c78c412986c57e499b9bd2ef4b3c
|
|
Bug: 321199350
Test: gfxbench
Signed-off-by: Jack Diver <diverj@google.com>
(cherry picked from https://partner-android-review.googlesource.com/q/commit:57ef78bad803aab9d83325f80349f33727af9af8)
Merged-In: I94ff92333cae9b9c54f27af550777fc21da06cb7
Change-Id: I94ff92333cae9b9c54f27af550777fc21da06cb7
|
|
Use ACPM GPU signal to make enable/disable decisions for the SLC
partition.
Currently, the signal is sampled during scheduling tick.
Bug: 313458962
Test: gfxbench
Signed-off-by: Jack Diver <diverj@google.com>
(cherry picked from https://partner-android-review.googlesource.com/q/commit:dec457352147d282921e0ae81ce3a7154e80c64e)
Merged-In: Ife0adedf6006daaf17062a0f555d126c1fd45465
Change-Id: Ife0adedf6006daaf17062a0f555d126c1fd45465
|
|
Bug: 313458962
Test: gfxbench
Signed-off-by: Jack Diver <diverj@google.com>
(cherry picked from https://partner-android-review.googlesource.com/q/commit:ef62a44e1e80286433fae8918996eb57647ba84c)
Merged-In: Id2ab03db4b8b3122bc1f87ecb97715fa3a5d80e4
Change-Id: Id2ab03db4b8b3122bc1f87ecb97715fa3a5d80e4
|
|
This reverts commit 7bb27d3d29f850315d0b7ee103fbdfe75e9403da.
reason: We don't perform group migration any more, so there is no need
to compensate for it.
Bug: 313458962
Test: gfxbench
Signed-off-by: Jack Diver <diverj@google.com>
(cherry picked from https://partner-android-review.googlesource.com/q/commit:f43b42cacab9027492afaf90d534f6b2955a176d)
Merged-In: Ifbbc26e45c68337de901ab26e502a0644e8433ff
Change-Id: Ifbbc26e45c68337de901ab26e502a0644e8433ff
|
|
Bug: 313458962
Test: gfxbench
Signed-off-by: Jack Diver <diverj@google.com>
(cherry picked from https://partner-android-review.googlesource.com/q/commit:89419b7e89dcd2bb9f5c0259e8b5c5a875610131)
Merged-In: I74a81b54764da315510ce988d0aa450b2761725f
Change-Id: I74a81b54764da315510ce988d0aa450b2761725f
|
|
Bug: 313458962
Bug: 290354607
Test: gfxbench
Signed-off-by: Jack Diver <diverj@google.com>
(cherry picked from https://partner-android-review.googlesource.com/q/commit:737eec95fa7ace1075ad73c1ab440408df4c0a10)
Merged-In: I30312e9fcb5f9a26ce47f3757948d47e13e9182f
Change-Id: I30312e9fcb5f9a26ce47f3757948d47e13e9182f
|
|
Drop demand to 0 on context idle
Bug: 296485687
Test: gfxbench background task
Signed-off-by: Jack Diver <diverj@google.com>
(cherry picked from https://partner-android-review.googlesource.com/q/commit:b9d48114d56973c60294ec4b94d06d63b845f1ea)
Merged-In: I7ca904323c365c6e5e3ab57e23457fca397cf7ae
Change-Id: I7ca904323c365c6e5e3ab57e23457fca397cf7ae
|
|
Add:
* platform_handler_context_active
* platform_handler_context_idle
Bug: 296485687
Signed-off-by: Jack Diver <diverj@google.com>
(cherry picked from https://partner-android-review.googlesource.com/q/commit:fe220ffcb70d0c3188a6fe0e1e01458573ea1baf)
Merged-In: If0a39f375a08ebb6674c7fb8aee0669c618dd9fa
Change-Id: If0a39f375a08ebb6674c7fb8aee0669c618dd9fa
|
|
Using hardcoded page order is problematic for 16k page support. Using
the same logic that DDK uses in our integration code as well.
Bug: 324571986
Test: local build
Change-Id: I6509fb35418d85045b0d4f788c47c5cae1f6da64
Signed-off-by: Vamsidhar reddy Gaddam <gvamsi@google.com>
|
|
Freeing kprcs using kfree() triggered a bunch of warning in debug_api
kernel build flavor.
Bug: 325892033
Test: Make sure that debug_api build does not trigger a warning.
Change-Id: Iddea1d12a9190fa328b488ee01065c5e2abc9557
Signed-off-by: Vamsidhar reddy Gaddam <gvamsi@google.com>
|
|
Improve MMU page teardown.
Provenance: https://code.ipdelivery.arm.com/c/GPU/mali-ddk/+/6429
Test: local build and boot
Bug: 315967882
Signed-off-by: Renato Grottesi <otaner@google.com>
Change-Id: Idb0afac63d6ee5f13f7fd72b7060e3fd1f49391a
|
|
IFPO feature has been unusued and only creates overhead for smooth
driver updates.
Bug: 324019470
Change-Id: Iab65e95b9ba21d74cc158557e3fa78d4478c9a71
Signed-off-by: Vamsidhar reddy Gaddam <gvamsi@google.com>
|
|
This commit removes the following additions:
* SHA1: 76ee8a596d1df56bd958e2197abcc3e8b4849171
* SHA1: d6c306f413a32d460c310aab5c3f7f5449ed5599
* SHA1: 3a6116996ae69b28bd2f78093045582a1f06f71e
as none of them are required anymore and they interact poorly with DDK
upgrades.
Bug: 321195074
Test: Local & abtd
Change-Id: I7e4daf7bed82e4162413d7f38ce2a6d65172cbfe
Signed-off-by: Vamsidhar reddy Gaddam <gvamsi@google.com>
|
|
Bug: 319408928
Test: Build and boot
Change-Id: I8d577c15498cdb41116142238a4a7f7bde7bdf8a
Signed-off-by: Varad Gautam <varadgautam@google.com>
|
|
Based on the commit 440a991eda5dfb08e9f6ba1234a475dd8bd89325 with
further changes.
Bug: 320427777
Test: Manually tested the error path.
Signed-off-by: Shashank Sharma <shawshanks@google.com>
Change-Id: Ibb4b18ae14f8ec03379acf2b4892b212b46607c3
|
|
R47P0 refactored the way registers are accessed causing our additional
debug logging to access invalid addresses.
Bug: 321645561
Test: Locally verified by timeout on suspend.
Change-Id: I772601c08551a92916c03b2e0d24f5f1476f6cf6
Signed-off-by: Vamsidhar reddy Gaddam <gvamsi@google.com>
|
|
This commit adds a fallback path to load the default firmware if the
release versioned firmware fails to load.
Bug: 297471843
Test: Locally booted with & without release firmware
Change-Id: Ie5321ef334e47293c1a42f37dc0473caaaa345f9
Signed-off-by: Vamsidhar reddy Gaddam <gvamsi@google.com>
|
|
Bug: 301208289
Test: gfxbench
Change-Id: I799115a5c3a6221c074c20b037d51e7a93d96845
Signed-off-by: Mattias Simonsson <mattiass@google.com>
|
|
There might be multiple GPU activities in a work period (500ms).
Current gpu_metrics implementation merged all GPU activities for the
given work period and emit single tracepoint rather than emitting
per-activity multiple tracepoints. This loses the granularity of each
activity even if the total active time of a context (application) for
a work period is correct. For better granularity, we instead emit one tracepoint per GPU activity.
Since we don't have to merge activities in a work period, some members
of struct kbase_gpu_metrics_ctx are no longer needed.
|------------------- Work-period 1 -----------------------|
S1---E1 S2----E2 S3------------E3
For work-period 1, previously 1 tracepoint was emitted and now 3 will be
emitted for better granularity of GPU activity.
|------------------- Work-period 2 -----------------------|
S1---E1
S2--------E2
S3------------------E3
For work-period 2 (overlapped case), they will be treated as 1 activity.
Hence 1 tracepoint will be emitted as previously.
'multiple null jobs' will be skipped as the kbase change will emit
tracepoint per each activity.
Bug: 301904509
Test: Perfetto trace inspection (Oriole, Felix, Husky)
Provenance: https://code.ipdelivery.arm.com/c/GPU/mali-ddk/+/6314
Change-Id: I21b8ebe7af3b429dcd9fef20dabf97295a2a5ab7
Signed-off-by: Mattias Simonsson <mattiass@google.com>
|
|
Now kbase_csf_scheduler_init does cleanup if mali-gpuq-kthread wasn't
created and kbase_csf_scheduler_term tries to stop the thread only if
it doesn't have error
Bug: 318576353
Provenance: b/305128960#comment7
Change-Id: I008d11ead3388919dd4e7ce8ee5540785a3d26a3
Signed-off-by: Alina Kalyakina <alinakalyakina@google.com>
|
|
In R47P0, MIDCET-5076 had a few issues. These are fixes on top of the
upstream driver.
Bug: 315967882
Test: Compile & Boot
Change-Id: I43707ff80a660455439c0ab5350e9ce192179af0
Signed-off-by: Vamsidhar reddy Gaddam <gvamsi@google.com>
|
|
into android13-gs-pixel-5.10-24Q2
|
|
Bug: 312206733
Change-Id: I154b927152d768944e02fe6083e66bdbb0f47e3a
Signed-off-by: Varad Gautam <varadgautam@google.com>
|
|
and use it throughout kbase.
Bug: 312206733
Change-Id: Iba908d1dff259aef4bfc35d0ca9df8682e759a9c
Signed-off-by: Varad Gautam <varadgautam@google.com>
|
|
kobject_uevent_env() shouldn't be called from an interrutpt ctx. Log a
warning and return early if pixel_gpu_uevent_send() is accidentally
called from an interrupt.
Bug: 312206733
Change-Id: I66dc5f14c4bf736ffa423aed701906d9da5e00ec
Signed-off-by: Varad Gautam <varadgautam@google.com>
|
|
to not miss any failing GPU resets.
Bug: 312206733
Change-Id: I2890aacba4724e8d72c7c955793e1487d0a7ef6a
Signed-off-by: Varad Gautam <varadgautam@google.com>
|
|
Emit job slot and ctx information for atoms hitting
hard-stop and reset timeouts.
Bug: 300182515
Change-Id: Iabbd35e24a19ce0d826bb14b3de44899370721dd
Signed-off-by: Jörg Wagner <jorwag@google.com>
|
|
Bug: 300854197
Change-Id: I4683b2bd7eff741aa9830b951359d665b18871c4
Signed-off-by: Pindar Yang <pindaryang@google.com>
|
|
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>
|
|
This commit adds:
- In Bifrost JM GPUs, L2 cache is explicitly flushed before the
power down of shader cores and cores are powered down before L2
is powered down.
- On older CSF GPUs, MCU will be halted before L2 is powered down and
FW will flush the L2 on halt.
Bug: 316204986
Test: Local SST
Provenance: https://code.ipdelivery.arm.com/c/GPU/mali-ddk/+/6275
Signed-off-by: Michael Stokes <mjstokes@google.com>
Change-Id: Ia8ba830cbaab6d9739c96e2a4851eef5a33f236e
|
|
GPUCORE-40571 Fix invalid page table entries from occuring.
This patch prevents the invalid page table entries from occuring.
Bug: 316204010
Change-Id: I6aa1fdb9f0a40dab5d8a7d1dcd85f7485c960a22
Signed-off-by: Renato Grottesi <otaner@google.com>
Test: platform can boot.
Provenance: https://code.ipdelivery.arm.com/c/GPU/mali-ddk/+/6262
|
|
SBMerger: 571992243
Change-Id: I23b773676959f97affe314596f6e16b37ddbf1f7
Signed-off-by: SecurityBot <android-nexus-securitybot@system.gserviceaccount.com>
|
|
MIDCET-4882,GPUCORE-40989 Break deadlock BTW user thread
and page fault worker
Additional fix over the previous commit where Arm forgot to change a
kbase_gpu_vm_lock to kbase_gpu_vm_lock_with_pmode_sync.
Bug: 301064831
Change-Id: I9179e0b4e4c7151c83061152fd877aba7204f037
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
|
|
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
|