Skip to content

Commit dbb23f5

Browse files
author
Ben Skeggs
committed
drm/nouveau/kms/nv50-: use NVIDIA's headers for core head_core_clr()
Signed-off-by: Ben Skeggs <[email protected]> Reviewed-by: Lyude Paul <[email protected]>
1 parent 1302634 commit dbb23f5

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

drivers/gpu/drm/nouveau/dispnv50/head507d.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ head507d_core_clr(struct nv50_head *head)
180180
if ((ret = PUSH_WAIT(push, 2)))
181181
return ret;
182182

183-
PUSH_NVSQ(push, NV507D, 0x0874 + (i * 0x400), 0x00000000);
183+
PUSH_MTHD(push, NV507D, HEAD_SET_CONTEXT_DMA_ISO(i), 0x00000000);
184184
return 0;
185185
}
186186

drivers/gpu/drm/nouveau/dispnv50/head907d.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@ head907d_core_clr(struct nv50_head *head)
184184
if ((ret = PUSH_WAIT(push, 2)))
185185
return ret;
186186

187-
PUSH_NVSQ(push, NV907D, 0x0474 + (i * 0x300), 0x00000000);
187+
PUSH_MTHD(push, NV907D, HEAD_SET_CONTEXT_DMAS_ISO(i), 0x00000000);
188188
return 0;
189189
}
190190

0 commit comments

Comments
 (0)