Commit dbb23f54 authored by Ben Skeggs's avatar Ben Skeggs

drm/nouveau/kms/nv50-: use NVIDIA's headers for core head_core_clr()

Signed-off-by: default avatarBen Skeggs <bskeggs@redhat.com>
Reviewed-by: default avatarLyude Paul <lyude@redhat.com>
parent 1302634f
...@@ -180,7 +180,7 @@ head507d_core_clr(struct nv50_head *head) ...@@ -180,7 +180,7 @@ head507d_core_clr(struct nv50_head *head)
if ((ret = PUSH_WAIT(push, 2))) if ((ret = PUSH_WAIT(push, 2)))
return ret; return ret;
PUSH_NVSQ(push, NV507D, 0x0874 + (i * 0x400), 0x00000000); PUSH_MTHD(push, NV507D, HEAD_SET_CONTEXT_DMA_ISO(i), 0x00000000);
return 0; return 0;
} }
......
...@@ -184,7 +184,7 @@ head907d_core_clr(struct nv50_head *head) ...@@ -184,7 +184,7 @@ head907d_core_clr(struct nv50_head *head)
if ((ret = PUSH_WAIT(push, 2))) if ((ret = PUSH_WAIT(push, 2)))
return ret; return ret;
PUSH_NVSQ(push, NV907D, 0x0474 + (i * 0x300), 0x00000000); PUSH_MTHD(push, NV907D, HEAD_SET_CONTEXT_DMAS_ISO(i), 0x00000000);
return 0; return 0;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment