summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/nouveau/dispnv50/wndwc37e.c
diff options
context:
space:
mode:
authorBen Skeggs <bskeggs@redhat.com>2020-06-20 04:17:59 +0300
committerBen Skeggs <bskeggs@redhat.com>2020-07-24 11:50:59 +0300
commit941522b7fe641c276b3dcc430f34908a26b64789 (patch)
tree3e2bd60f04c48e583de10ae18b3052128301d11b /drivers/gpu/drm/nouveau/dispnv50/wndwc37e.c
parentfccc858003f3f3e7a8fa272f118eb71d218a2b32 (diff)
downloadlinux-941522b7fe641c276b3dcc430f34908a26b64789.tar.xz
drm/nouveau/kms/nv50-: use NVIDIA's headers for wndw sema_clr()
Signed-off-by: Ben Skeggs <bskeggs@redhat.com> Reviewed-by: Lyude Paul <lyude@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/nouveau/dispnv50/wndwc37e.c')
-rw-r--r--drivers/gpu/drm/nouveau/dispnv50/wndwc37e.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/nouveau/dispnv50/wndwc37e.c b/drivers/gpu/drm/nouveau/dispnv50/wndwc37e.c
index a69ddf94ef1f..fdc5d30f4cd4 100644
--- a/drivers/gpu/drm/nouveau/dispnv50/wndwc37e.c
+++ b/drivers/gpu/drm/nouveau/dispnv50/wndwc37e.c
@@ -197,7 +197,7 @@ wndwc37e_sema_clr(struct nv50_wndw *wndw)
if ((ret = PUSH_WAIT(push, 2)))
return ret;
- PUSH_NVSQ(push, NVC37E, 0x0218, 0x00000000);
+ PUSH_MTHD(push, NVC37E, SET_CONTEXT_DMA_SEMAPHORE, 0x00000000);
return 0;
}