diff options
author | Ben Skeggs <bskeggs@redhat.com> | 2020-06-20 03:36:58 +0200 |
---|---|---|
committer | Ben Skeggs <bskeggs@redhat.com> | 2020-07-24 10:50:59 +0200 |
commit | 2740edb3c640e7a13fdfe752bb17154fd824f28d (patch) | |
tree | 095d7f52336b4e0af89ad6cc3572165490939b15 /drivers/gpu/drm/nouveau/dispnv50/base907c.c | |
parent | drm/nouveau/kms/nv50-: use NVIDIA's headers for wndw csc_set() (diff) | |
download | linux-2740edb3c640e7a13fdfe752bb17154fd824f28d.tar.xz linux-2740edb3c640e7a13fdfe752bb17154fd824f28d.zip |
drm/nouveau/kms/nv50-: use NVIDIA's headers for wndw csc_clr()
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Reviewed-by: Lyude Paul <lyude@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/nouveau/dispnv50/base907c.c')
-rw-r--r-- | drivers/gpu/drm/nouveau/dispnv50/base907c.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/gpu/drm/nouveau/dispnv50/base907c.c b/drivers/gpu/drm/nouveau/dispnv50/base907c.c index 0c490291d014..e962234f62d6 100644 --- a/drivers/gpu/drm/nouveau/dispnv50/base907c.c +++ b/drivers/gpu/drm/nouveau/dispnv50/base907c.c @@ -139,7 +139,8 @@ base907c_csc_clr(struct nv50_wndw *wndw) if ((ret = PUSH_WAIT(push, 2))) return ret; - PUSH_NVSQ(push, NV907C, 0x0140, 0x00000000); + PUSH_MTHD(push, NV907C, SET_CSC_RED2RED, + NVDEF(NV907C, SET_CSC_RED2RED, OWNER, CORE)); return 0; } |