summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/nouveau/dispnv50/wndwc37e.c
diff options
context:
space:
mode:
authorBen Skeggs <bskeggs@redhat.com>2020-06-20 04:35:28 +0300
committerBen Skeggs <bskeggs@redhat.com>2020-07-24 11:50:59 +0300
commit84e1d06b06777d76a420d4e5eff5ab1c178bd77a (patch)
treed5e3cdf07b64f74d38e6745c441a99cb581dc4bb /drivers/gpu/drm/nouveau/dispnv50/wndwc37e.c
parent75bd8304e61c01d2bc5df46fcf9c2e9838b3a246 (diff)
downloadlinux-84e1d06b06777d76a420d4e5eff5ab1c178bd77a.tar.xz
drm/nouveau/kms/nv50-: use NVIDIA's headers for wndw csc_set()
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 ea6ad60403d7..b72170dab87a 100644
--- a/drivers/gpu/drm/nouveau/dispnv50/wndwc37e.c
+++ b/drivers/gpu/drm/nouveau/dispnv50/wndwc37e.c
@@ -46,7 +46,7 @@ wndwc37e_csc_set(struct nv50_wndw *wndw, struct nv50_wndw_atom *asyw)
if ((ret = PUSH_WAIT(push, 13)))
return ret;
- PUSH_NVSQ(push, NVC37E, 0x02bc, asyw->csc.matrix, 12);
+ PUSH_MTHD(push, NVC37E, SET_CSC_RED2RED, asyw->csc.matrix, 12);
return 0;
}