Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ddec1a2b authored by Ben Skeggs's avatar Ben Skeggs
Browse files

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: default avatarBen Skeggs <bskeggs@redhat.com>
parent 6eb70826
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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);
		}
	}
}