From: Ben Skeggs Date: Sat, 20 Jun 2020 01:17:59 +0000 (+1000) Subject: drm/nouveau/kms/nv50-: use NVIDIA's headers for wndw sema_clr() X-Git-Tag: microblaze-v5.10~52^2~13^2~48 X-Git-Url: http://git.monstr.eu/?a=commitdiff_plain;h=941522b7fe641c276b3dcc430f34908a26b64789;p=linux-2.6-microblaze.git drm/nouveau/kms/nv50-: use NVIDIA's headers for wndw sema_clr() Signed-off-by: Ben Skeggs Reviewed-by: Lyude Paul --- diff --git a/drivers/gpu/drm/nouveau/dispnv50/base507c.c b/drivers/gpu/drm/nouveau/dispnv50/base507c.c index c6b1f8d70ae2..7dc2b6db1190 100644 --- a/drivers/gpu/drm/nouveau/dispnv50/base507c.c +++ b/drivers/gpu/drm/nouveau/dispnv50/base507c.c @@ -174,7 +174,7 @@ base507c_sema_clr(struct nv50_wndw *wndw) if ((ret = PUSH_WAIT(push, 2))) return ret; - PUSH_NVSQ(push, NV507C, 0x0094, 0x00000000); + PUSH_MTHD(push, NV507C, SET_CONTEXT_DMA_SEMAPHORE, 0x00000000); return 0; } 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; }