summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/nouveau/dispnv50/headc37d.c
diff options
context:
space:
mode:
authorBen Skeggs <bskeggs@redhat.com>2020-06-21 03:47:21 +0200
committerBen Skeggs <bskeggs@redhat.com>2020-07-24 10:51:02 +0200
commita66a096d784843f6d4c8e4c0b028524baf747f4c (patch)
tree9a683b50cfc5f2517049fe6428578ff302782dc5 /drivers/gpu/drm/nouveau/dispnv50/headc37d.c
parentdrm/nouveau/kms/nv50-: use NVIDIA's headers for core head_olut_set() (diff)
downloadlinux-a66a096d784843f6d4c8e4c0b028524baf747f4c.tar.xz
linux-a66a096d784843f6d4c8e4c0b028524baf747f4c.zip
drm/nouveau/kms/nv50-: use NVIDIA's headers for core head_olut_clr()
Signed-off-by: Ben Skeggs <bskeggs@redhat.com> Reviewed-by: Lyude Paul <lyude@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/nouveau/dispnv50/headc37d.c')
-rw-r--r--drivers/gpu/drm/nouveau/dispnv50/headc37d.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/nouveau/dispnv50/headc37d.c b/drivers/gpu/drm/nouveau/dispnv50/headc37d.c
index eb81ed1e0707..8898b65d0c41 100644
--- a/drivers/gpu/drm/nouveau/dispnv50/headc37d.c
+++ b/drivers/gpu/drm/nouveau/dispnv50/headc37d.c
@@ -143,7 +143,7 @@ headc37d_olut_clr(struct nv50_head *head)
if ((ret = PUSH_WAIT(push, 2)))
return ret;
- PUSH_NVSQ(push, NVC37D, 0x20ac + (i * 0x400), 0x00000000);
+ PUSH_MTHD(push, NVC37D, HEAD_SET_CONTEXT_DMA_OUTPUT_LUT(i), 0x00000000);
return 0;
}