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>
This commit is contained in:
Родитель
84e1d06b06
Коммит
2740edb3c6
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче