artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
946b229
)
dma-buf: add dma_fence_timestamp helper
author
jsg
<jsg@openbsd.org>
Fri, 20 Oct 2023 03:49:31 +0000
(
03:49
+0000)
committer
jsg
<jsg@openbsd.org>
Fri, 20 Oct 2023 03:49:31 +0000
(
03:49
+0000)
From Christian Koenig
d67b5a2b97b6e8959117ff71fc2daa30e66c8290
in linux-6.1.y/6.1.59
b83ce9cb4a465b8f9a3fa45561b721a9551f60e3
in mainline linux
sys/dev/pci/drm/scheduler/sched_main.c
patch
|
blob
|
history
diff --git
a/sys/dev/pci/drm/scheduler/sched_main.c
b/sys/dev/pci/drm/scheduler/sched_main.c
index
4defaaf
..
b574dc8
100644
(file)
--- a/
sys/dev/pci/drm/scheduler/sched_main.c
+++ b/
sys/dev/pci/drm/scheduler/sched_main.c
@@
-847,7
+847,7
@@
drm_sched_get_cleanup_job(struct drm_gpu_scheduler *sched)
if (next) {
next->s_fence->scheduled.timestamp =
-
job->s_fence->finished.timestamp
;
+
dma_fence_timestamp(&job->s_fence->finished)
;
/* start TO timer for next job */
drm_sched_start_timeout(sched);
}