mirror of https://gitee.com/openkylin/linux.git
drm/nouveau/gr/gf100-gk208: copy big page size setting from fb
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
This commit is contained in:
parent
223eaf4bf8
commit
b6838c14a2
|
@ -1909,7 +1909,7 @@ gf100_gr_init_gpc_mmu(struct gf100_gr *gr)
|
||||||
struct nvkm_device *device = gr->base.engine.subdev.device;
|
struct nvkm_device *device = gr->base.engine.subdev.device;
|
||||||
struct nvkm_fb *fb = device->fb;
|
struct nvkm_fb *fb = device->fb;
|
||||||
|
|
||||||
nvkm_wr32(device, 0x418880, 0x00000000);
|
nvkm_wr32(device, 0x418880, nvkm_rd32(device, 0x100c80) & 0x00000001);
|
||||||
nvkm_wr32(device, 0x4188a4, 0x00000000);
|
nvkm_wr32(device, 0x4188a4, 0x00000000);
|
||||||
nvkm_wr32(device, 0x418888, 0x00000000);
|
nvkm_wr32(device, 0x418888, 0x00000000);
|
||||||
nvkm_wr32(device, 0x41888c, 0x00000000);
|
nvkm_wr32(device, 0x41888c, 0x00000000);
|
||||||
|
|
Loading…
Reference in New Issue