mirror of https://gitee.com/openkylin/linux.git
drm/nouveau/gr/gf100-: apply be exception fixes from traces
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
This commit is contained in:
parent
4615e9b438
commit
6df6d2b95e
|
@ -2109,8 +2109,8 @@ gf100_gr_init(struct gf100_gr *gr)
|
|||
}
|
||||
|
||||
for (rop = 0; rop < gr->rop_nr; rop++) {
|
||||
nvkm_wr32(device, ROP_UNIT(rop, 0x144), 0xc0000000);
|
||||
nvkm_wr32(device, ROP_UNIT(rop, 0x070), 0xc0000000);
|
||||
nvkm_wr32(device, ROP_UNIT(rop, 0x144), 0x40000000);
|
||||
nvkm_wr32(device, ROP_UNIT(rop, 0x070), 0x40000000);
|
||||
nvkm_wr32(device, ROP_UNIT(rop, 0x204), 0xffffffff);
|
||||
nvkm_wr32(device, ROP_UNIT(rop, 0x208), 0xffffffff);
|
||||
}
|
||||
|
|
|
@ -482,8 +482,8 @@ gk104_gr_init(struct gf100_gr *gr)
|
|||
}
|
||||
|
||||
for (rop = 0; rop < gr->rop_nr; rop++) {
|
||||
nvkm_wr32(device, ROP_UNIT(rop, 0x144), 0xc0000000);
|
||||
nvkm_wr32(device, ROP_UNIT(rop, 0x070), 0xc0000000);
|
||||
nvkm_wr32(device, ROP_UNIT(rop, 0x144), 0x40000000);
|
||||
nvkm_wr32(device, ROP_UNIT(rop, 0x070), 0x40000000);
|
||||
nvkm_wr32(device, ROP_UNIT(rop, 0x204), 0xffffffff);
|
||||
nvkm_wr32(device, ROP_UNIT(rop, 0x208), 0xffffffff);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue