diff options
-rw-r--r-- | drivers/gpu/drm/nouveau/dispnv50/base907c.c | 3 | ||||
-rw-r--r-- | drivers/gpu/drm/nouveau/dispnv50/wndwc57e.c | 2 |
2 files changed, 3 insertions, 2 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; } diff --git a/drivers/gpu/drm/nouveau/dispnv50/wndwc57e.c b/drivers/gpu/drm/nouveau/dispnv50/wndwc57e.c index d2efbccbaf3f..1da5ffbae4eb 100644 --- a/drivers/gpu/drm/nouveau/dispnv50/wndwc57e.c +++ b/drivers/gpu/drm/nouveau/dispnv50/wndwc57e.c @@ -74,7 +74,7 @@ wndwc57e_csc_clr(struct nv50_wndw *wndw) if ((ret = PUSH_WAIT(push, 1 + ARRAY_SIZE(identity)))) return ret; - PUSH_NVSQ(push, NVC57E, 0x0400, identity, ARRAY_SIZE(identity)); + PUSH_MTHD(push, NVC57E, SET_FMT_COEFFICIENT_C00, identity, ARRAY_SIZE(identity)); return 0; } |