drm/nouveau/kms/nv50-: use NVIDIA's headers for core head_core_clr()
Signed-off-by: Ben Skeggs <bskeggs@redhat.com> Reviewed-by: Lyude Paul <lyude@redhat.com>
This commit is contained in:
Родитель
1302634f79
Коммит
dbb23f544e
|
@ -180,7 +180,7 @@ head507d_core_clr(struct nv50_head *head)
|
|||
if ((ret = PUSH_WAIT(push, 2)))
|
||||
return ret;
|
||||
|
||||
PUSH_NVSQ(push, NV507D, 0x0874 + (i * 0x400), 0x00000000);
|
||||
PUSH_MTHD(push, NV507D, HEAD_SET_CONTEXT_DMA_ISO(i), 0x00000000);
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
|
@ -184,7 +184,7 @@ head907d_core_clr(struct nv50_head *head)
|
|||
if ((ret = PUSH_WAIT(push, 2)))
|
||||
return ret;
|
||||
|
||||
PUSH_NVSQ(push, NV907D, 0x0474 + (i * 0x300), 0x00000000);
|
||||
PUSH_MTHD(push, NV907D, HEAD_SET_CONTEXT_DMAS_ISO(i), 0x00000000);
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче