mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2025-01-08 06:44:35 +08:00
drm/nouveau/gr/gf100-: remove some unnecessary reg writes
This is already done during golden context creation. Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
This commit is contained in:
parent
7d51bc85d7
commit
8c7db76844
@ -1684,12 +1684,7 @@ gf100_gr_init_ctxctl_ext(struct gf100_gr *gr)
|
||||
return ret;
|
||||
}
|
||||
|
||||
if (device->chipset >= 0xe0) {
|
||||
nvkm_wr32(device, 0x409614, 0x00000070);
|
||||
nvkm_wr32(device, 0x409614, 0x00000770);
|
||||
nvkm_wr32(device, 0x40802c, 0x00000001);
|
||||
}
|
||||
|
||||
/* Generate golden context image. */
|
||||
if (gr->data == NULL) {
|
||||
int ret = gf100_grctx_generate(gr);
|
||||
if (ret) {
|
||||
|
Loading…
Reference in New Issue
Block a user