Hi Boris,
Thanks for your effort on pushing forward for this kernel approach,
I agree your idea to slow down a bit, actually, I want to track performance
result on each iteration at the same time,
I made a small fix on patch v2 and finished patch verification with glmark2
just now, it improves 6.6% vs 7.15% (kernel patch with can_skip_dep),
diff --git a/drivers/gpu/drm/panthor/panthor_drv.c
b/drivers/gpu/drm/panthor/panthor_drv.c
index 058551998aa0..3d3cc7918221 100644
--- a/drivers/gpu/drm/panthor/panthor_drv.c
+++ b/drivers/gpu/drm/panthor/panthor_drv.c
@@ -638,7 +638,11 @@ panthor_submit_ctx_add_sync_deps_to_job(struct
panthor_submit_ctx *ctx,
* eliminate fences that are coming from the same queue.
*/
dma_fence_unwrap_for_each(inner_fence, &iter, fence) {
- ret = drm_sched_job_add_dependency(job, inner_fence);
+ /* drm_sched_job_add_dependency() consumes a reference,
+ * but dma_fence_unwrap_for_each() returns borrowed
+ * fence pointers.
+ */
+ ret = drm_sched_job_add_dependency(job,
dma_fence_get(inner_fence));
if (ret) {
dma_fence_put(iter.chain);
return ret;
Of course, patch v2 is still better than the original sync-wait version(6.25%)
in mesa driver, https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/46172
Since patch v4 is available now, I may skip v3 and continue patch v4
verification on NXP board with Mali GPU
Best Regards,
Xianzhong
NXP Confidential
-----Original Message-----
From: Boris Brezillon <[email protected]>
Sent: Wednesday, December 2, 2026 8:21 PM
To: Philipp Stanner <[email protected]>
Cc: [email protected]; Steven Price <[email protected]>; Liviu Dudau
<[email protected]>; Akash Goel <[email protected]>; Karunika Choo
<[email protected]>; Lukas Zapolskas <[email protected]>; Chris
Diamand <[email protected]>; Maarten Lankhorst
<[email protected]>; Maxime Ripard <[email protected]>; Thomas
Zimmermann <[email protected]>; David Airlie <[email protected]>; Simona
Vetter <[email protected]>; Sumit Semwal <[email protected]>; Christian
König <[email protected]>; [email protected];
[email protected]; [email protected];
[email protected]; Xianzhong Li <[email protected]>
Subject: Re: [PATCH v4 1/3] drm/sched: Eliminate NOP dependencies at insertion
time
Hi Philipp,
On Wed, 02 Dec 2026 12:44:39 +0100
Philipp Stanner <[email protected]> wrote:
> I don't want to appear overly nitty, but could we follow the "wait 24
> hours before submitting new revisions" rule?
Duly noted. I guess I'll go back to my other stuff and forget about this,
again. Xianzhong, if this is blocker for you, can you or someone in your team
push this forward?
Thanks,
Boris