summaryrefslogtreecommitdiffstats
path: root/include/drm/gpu_scheduler.h
diff options
context:
space:
mode:
authorLucas Stach <l.stach@pengutronix.de>2023-03-30 17:35:13 +0200
committerLucas Stach <l.stach@pengutronix.de>2023-03-30 17:47:05 +0200
commitbaad10973fdb442912af676de3348e80bd8fe602 (patch)
tree1012b21fb50bf662be0271aec9e1ef1de3d0472c /include/drm/gpu_scheduler.h
parent2658d0d0355a3470a96d0e4268cbad174fadf0ed (diff)
downloadlinux-baad10973fdb442912af676de3348e80bd8fe602.tar.gz
linux-baad10973fdb442912af676de3348e80bd8fe602.tar.bz2
linux-baad10973fdb442912af676de3348e80bd8fe602.zip
Revert "drm/scheduler: track GPU active time per entity"
This reverts commit df622729ddbf as it introduces a use-after-free, which isn't easy to fix without going back to the design drawing board. Reported-by: Danilo Krummrich <dakr@redhat.com> Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
Diffstat (limited to 'include/drm/gpu_scheduler.h')
-rw-r--r--include/drm/gpu_scheduler.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/include/drm/gpu_scheduler.h b/include/drm/gpu_scheduler.h
index 9db9e5e504ee..9935d1e2ff69 100644
--- a/include/drm/gpu_scheduler.h
+++ b/include/drm/gpu_scheduler.h
@@ -228,13 +228,6 @@ struct drm_sched_entity {
*/
struct rb_node rb_tree_node;
- /**
- * @elapsed_ns:
- *
- * Records the amount of time where jobs from this entity were active
- * on the GPU.
- */
- uint64_t elapsed_ns;
};
/**