drm/nouveau/kms/nv50-: use NVIDIA's headers for wndw xlut_clr()
Signed-off-by: Ben Skeggs <bskeggs@redhat.com> Reviewed-by: Lyude Paul <lyude@redhat.com>
This commit is contained in:
parent
6833d2a0c7
commit
66f7b7bddf
|
@ -101,7 +101,8 @@ base507c_xlut_clr(struct nv50_wndw *wndw)
|
|||
if ((ret = PUSH_WAIT(push, 2)))
|
||||
return ret;
|
||||
|
||||
PUSH_NVSQ(push, NV507C, 0x00e0, 0x00000000);
|
||||
PUSH_MTHD(push, NV507C, SET_BASE_LUT_LO,
|
||||
NVDEF(NV507C, SET_BASE_LUT_LO, ENABLE, DISABLE));
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
|
@ -57,9 +57,13 @@ base907c_xlut_clr(struct nv50_wndw *wndw)
|
|||
if ((ret = PUSH_WAIT(push, 6)))
|
||||
return ret;
|
||||
|
||||
PUSH_NVSQ(push, NV907C, 0x00e0, 0x00000000);
|
||||
PUSH_NVSQ(push, NV907C, 0x00e8, 0x00000000);
|
||||
PUSH_NVSQ(push, NV907C, 0x00fc, 0x00000000);
|
||||
PUSH_MTHD(push, NV907C, SET_BASE_LUT_LO,
|
||||
NVDEF(NV907C, SET_BASE_LUT_LO, ENABLE, DISABLE));
|
||||
|
||||
PUSH_MTHD(push, NV907C, SET_OUTPUT_LUT_LO,
|
||||
NVDEF(NV907C, SET_OUTPUT_LUT_LO, ENABLE, DISABLE));
|
||||
|
||||
PUSH_MTHD(push, NV907C, SET_CONTEXT_DMA_LUT, 0x00000000);
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
|
@ -59,7 +59,7 @@ wndwc37e_ilut_clr(struct nv50_wndw *wndw)
|
|||
if ((ret = PUSH_WAIT(push, 2)))
|
||||
return ret;
|
||||
|
||||
PUSH_NVSQ(push, NVC37E, 0x02b8, 0x00000000);
|
||||
PUSH_MTHD(push, NVC37E, SET_CONTEXT_DMA_INPUT_LUT, 0x00000000);
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
|
@ -100,7 +100,7 @@ wndwc57e_ilut_clr(struct nv50_wndw *wndw)
|
|||
if ((ret = PUSH_WAIT(push, 2)))
|
||||
return ret;
|
||||
|
||||
PUSH_NVSQ(push, NVC57E, 0x0444, 0x00000000);
|
||||
PUSH_MTHD(push, NVC57E, SET_CONTEXT_DMA_ILUT, 0x00000000);
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue