提交 9cc264a3 编写于 作者: B Ben Skeggs

drm/nouveau/falcon: switch to gpuobj accessor macros

Signed-off-by: NBen Skeggs <bskeggs@redhat.com>
上级 cd821077
......@@ -175,8 +175,10 @@ _nvkm_falcon_init(struct nvkm_object *object)
return ret;
}
nvkm_kmap(falcon->core);
for (i = 0; i < falcon->code.size; i += 4)
nv_wo32(falcon->core, i, falcon->code.data[i / 4]);
nvkm_wo32(falcon->core, i, falcon->code.data[i / 4]);
nvkm_done(falcon->core);
}
/* upload firmware bootloader (or the full code segments) */
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册