summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/xe/xe_sync.h
diff options
context:
space:
mode:
authorDave Airlie <airlied@redhat.com>2024-03-01 13:42:24 +1000
committerDave Airlie <airlied@redhat.com>2024-03-01 13:46:59 +1000
commitaa5fe428d52aa65fa1c928c00c4cdb131529736b (patch)
treecfdc649d364f0dbcce7a934da6461e1f674fdbc4 /drivers/gpu/drm/xe/xe_sync.h
parent45046af3d0c2d6f4f1953f7f07cd1b34ffc86498 (diff)
parent8188cae3cc3d8018ec97ca9ab8caa3acc69a056d (diff)
Merge tag 'drm-xe-fixes-2024-02-29' of https://gitlab.freedesktop.org/drm/xe/kernel into drm-fixes
UAPI Changes: - A couple of tracepoint updates from Priyanka and Lucas. - Make sure BINDs are completed before accepting UNBINDs on LR vms. - Don't arbitrarily restrict max number of batched binds. - Add uapi for dumpable bos (agreed on IRC). - Remove unused uapi flags and a leftover comment. Driver Changes: - A couple of fixes related to the execlist backend. Signed-off-by: Dave Airlie <airlied@redhat.com> From: Thomas Hellstrom <thomas.hellstrom@linux.intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/ZeCBg4MA2hd1oggN@fedora
Diffstat (limited to 'drivers/gpu/drm/xe/xe_sync.h')
-rw-r--r--drivers/gpu/drm/xe/xe_sync.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/gpu/drm/xe/xe_sync.h b/drivers/gpu/drm/xe/xe_sync.h
index f43cdcaca6c5..0fd0d51208e6 100644
--- a/drivers/gpu/drm/xe/xe_sync.h
+++ b/drivers/gpu/drm/xe/xe_sync.h
@@ -38,4 +38,8 @@ static inline bool xe_sync_is_ufence(struct xe_sync_entry *sync)
return !!sync->ufence;
}
+struct xe_user_fence *xe_sync_ufence_get(struct xe_sync_entry *sync);
+void xe_sync_ufence_put(struct xe_user_fence *ufence);
+int xe_sync_ufence_get_status(struct xe_user_fence *ufence);
+
#endif