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

Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Reviewed-by: Lyude Paul <lyude@redhat.com>
This commit is contained in:
Ben Skeggs 2020-06-20 11:26:49 +10:00
parent d4793bc39f
commit 9562e564ab
2 changed files with 2 additions and 2 deletions

View File

@ -140,7 +140,7 @@ base507c_ntfy_clr(struct nv50_wndw *wndw)
if ((ret = PUSH_WAIT(push, 2)))
return ret;
PUSH_NVSQ(push, NV507C, 0x00a4, 0x00000000);
PUSH_MTHD(push, NV507C, SET_CONTEXT_DMA_NOTIFIER, 0x00000000);
return 0;
}

View File

@ -169,7 +169,7 @@ wndwc37e_ntfy_clr(struct nv50_wndw *wndw)
if ((ret = PUSH_WAIT(push, 2)))
return ret;
PUSH_NVSQ(push, NVC37E, 0x021c, 0x00000000);
PUSH_MTHD(push, NVC37E, SET_CONTEXT_DMA_NOTIFIER, 0x00000000);
return 0;
}