forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-01-31 f70575805708cabdedea7498aaa3f710fde4d920
kernel/drivers/gpu/drm/nouveau/nouveau_fence.h
....@@ -1,4 +1,4 @@
1
-/* SPDX-License-Identifier: GPL-2.0 */
1
+/* SPDX-License-Identifier: MIT */
22 #ifndef __NOUVEAU_FENCE_H__
33 #define __NOUVEAU_FENCE_H__
44
....@@ -63,6 +63,7 @@
6363 void nouveau_fence_context_new(struct nouveau_channel *, struct nouveau_fence_chan *);
6464 void nouveau_fence_context_del(struct nouveau_fence_chan *);
6565 void nouveau_fence_context_free(struct nouveau_fence_chan *);
66
+void nouveau_fence_context_kill(struct nouveau_fence_chan *, int error);
6667
6768 int nv04_fence_create(struct nouveau_drm *);
6869 int nv04_fence_mthd(struct nouveau_channel *, u32, u32, u32);
....@@ -81,8 +82,6 @@
8182 int nv50_fence_create(struct nouveau_drm *);
8283 int nv84_fence_create(struct nouveau_drm *);
8384 int nvc0_fence_create(struct nouveau_drm *);
84
-
85
-int nouveau_flip_complete(struct nvif_notify *);
8685
8786 struct nv84_fence_chan {
8887 struct nouveau_fence_chan base;