Commit 9562e564 authored by Ben Skeggs's avatar Ben Skeggs

drm/nouveau/kms/nv50-: use NVIDIA's headers for wndw ntfy_clr()

Signed-off-by: default avatarBen Skeggs <bskeggs@redhat.com>
Reviewed-by: default avatarLyude Paul <lyude@redhat.com>
parent d4793bc3
...@@ -140,7 +140,7 @@ base507c_ntfy_clr(struct nv50_wndw *wndw) ...@@ -140,7 +140,7 @@ base507c_ntfy_clr(struct nv50_wndw *wndw)
if ((ret = PUSH_WAIT(push, 2))) if ((ret = PUSH_WAIT(push, 2)))
return ret; return ret;
PUSH_NVSQ(push, NV507C, 0x00a4, 0x00000000); PUSH_MTHD(push, NV507C, SET_CONTEXT_DMA_NOTIFIER, 0x00000000);
return 0; return 0;
} }
......
...@@ -169,7 +169,7 @@ wndwc37e_ntfy_clr(struct nv50_wndw *wndw) ...@@ -169,7 +169,7 @@ wndwc37e_ntfy_clr(struct nv50_wndw *wndw)
if ((ret = PUSH_WAIT(push, 2))) if ((ret = PUSH_WAIT(push, 2)))
return ret; return ret;
PUSH_NVSQ(push, NVC37E, 0x021c, 0x00000000); PUSH_MTHD(push, NVC37E, SET_CONTEXT_DMA_NOTIFIER, 0x00000000);
return 0; return 0;
} }
......
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