mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-10 22:40:54 -04:00
drm/nouveau/gr/gm107: very slightly demagic part of attrib cb setup
No idea if "3" is a constant or derived from something else, but the value is unchanged in the limited traces of gm107/gm204 I have here. Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
This commit is contained in:
parent
6eb7082621
commit
ddec1a2b4c
1 changed files with 1 additions and 1 deletions
|
|
@ -926,7 +926,7 @@ gm107_grctx_generate_attrib(struct gf100_grctx *info)
|
|||
mmio_wr32(info, o + 0xe4, as);
|
||||
mmio_wr32(info, o + 0xf8, ao);
|
||||
ao += impl->alpha_nr_max * priv->ppc_tpc_nr[gpc][ppc];
|
||||
mmio_wr32(info, u, (0x715 /*XXX*/ << 16) | bs);
|
||||
mmio_wr32(info, u, ((bs / 3 /*XXX*/) << 16) | bs);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue