Commit 941522b7 authored by Ben Skeggs's avatar Ben Skeggs

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

Signed-off-by: default avatarBen Skeggs <bskeggs@redhat.com>
Reviewed-by: default avatarLyude Paul <lyude@redhat.com>
parent fccc8580
...@@ -174,7 +174,7 @@ base507c_sema_clr(struct nv50_wndw *wndw) ...@@ -174,7 +174,7 @@ base507c_sema_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, 0x0094, 0x00000000); PUSH_MTHD(push, NV507C, SET_CONTEXT_DMA_SEMAPHORE, 0x00000000);
return 0; return 0;
} }
......
...@@ -197,7 +197,7 @@ wndwc37e_sema_clr(struct nv50_wndw *wndw) ...@@ -197,7 +197,7 @@ wndwc37e_sema_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, 0x0218, 0x00000000); PUSH_MTHD(push, NVC37E, SET_CONTEXT_DMA_SEMAPHORE, 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