Commit 40cea739 authored by Ben Skeggs's avatar Ben Skeggs

drm/nouveau/fifo/g84-: rename non-stall interrupt event

Signed-off-by: default avatarBen Skeggs <bskeggs@redhat.com>
parent e774055a
...@@ -10,5 +10,5 @@ struct g82_channel_dma_v0 { ...@@ -10,5 +10,5 @@ struct g82_channel_dma_v0 {
__u64 offset; __u64 offset;
}; };
#define G82_CHANNEL_DMA_V0_NTFY_UEVENT 0x00 #define NV826E_V0_NTFY_NON_STALL_INTERRUPT 0x00
#endif #endif
...@@ -11,5 +11,5 @@ struct g82_channel_gpfifo_v0 { ...@@ -11,5 +11,5 @@ struct g82_channel_gpfifo_v0 {
__u64 vm; __u64 vm;
}; };
#define G82_CHANNEL_GPFIFO_V0_NTFY_UEVENT 0x00 #define NV826F_V0_NTFY_NON_STALL_INTERRUPT 0x00
#endif #endif
...@@ -10,5 +10,5 @@ struct fermi_channel_gpfifo_v0 { ...@@ -10,5 +10,5 @@ struct fermi_channel_gpfifo_v0 {
__u64 vm; __u64 vm;
}; };
#define FERMI_CHANNEL_GPFIFO_V0_NTFY_UEVENT 0x00 #define NV906F_V0_NTFY_NON_STALL_INTERRUPT 0x00
#endif #endif
...@@ -25,5 +25,5 @@ struct kepler_channel_gpfifo_a_v0 { ...@@ -25,5 +25,5 @@ struct kepler_channel_gpfifo_a_v0 {
__u64 vm; __u64 vm;
}; };
#define NVA06F_V0_NTFY_UEVENT 0x00 #define NVA06F_V0_NTFY_NON_STALL_INTERRUPT 0x00
#endif #endif
...@@ -190,7 +190,7 @@ nouveau_fence_context_new(struct nouveau_channel *chan, struct nouveau_fence_cha ...@@ -190,7 +190,7 @@ nouveau_fence_context_new(struct nouveau_channel *chan, struct nouveau_fence_cha
return; return;
ret = nvif_notify_init(&chan->user, nouveau_fence_wait_uevent_handler, ret = nvif_notify_init(&chan->user, nouveau_fence_wait_uevent_handler,
false, G82_CHANNEL_DMA_V0_NTFY_UEVENT, false, NV826E_V0_NTFY_NON_STALL_INTERRUPT,
&(struct nvif_notify_uevent_req) { }, &(struct nvif_notify_uevent_req) { },
sizeof(struct nvif_notify_uevent_req), sizeof(struct nvif_notify_uevent_req),
sizeof(struct nvif_notify_uevent_rep), sizeof(struct nvif_notify_uevent_rep),
......
...@@ -35,7 +35,7 @@ g84_fifo_chan_ntfy(struct nvkm_fifo_chan *chan, u32 type, ...@@ -35,7 +35,7 @@ g84_fifo_chan_ntfy(struct nvkm_fifo_chan *chan, u32 type,
struct nvkm_event **pevent) struct nvkm_event **pevent)
{ {
switch (type) { switch (type) {
case G82_CHANNEL_DMA_V0_NTFY_UEVENT: case NV826E_V0_NTFY_NON_STALL_INTERRUPT:
*pevent = &chan->fifo->uevent; *pevent = &chan->fifo->uevent;
return 0; return 0;
default: default:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment