drm/nouveau/gr/gf100-: virtualise tpc_mask + apply fixes from traces
BugLink: https://bugs.launchpad.net/bugs/1791569
We weren't placing higher TPC IDs in the right place on some configurations.
[Due to the context difference, the ctxgm200.c and ctxgp100.c are changed
a bit against the original patch, after this change, they have the same logic
as the original patch. -- Hui's comment]
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
(backported from commit
fc36076441bae141893bd79899d19aa1b5fdf524)
Signed-off-by: Hui Wang <hui.wang@canonical.com>
Acked-by: Stefan Bader <stefan.bader@canonical.com>
Acked-by: Kleber Sacilotto de Souza <kleber.souza@canonical.com>
Signed-off-by: Stefan Bader <stefan.bader@canonical.com>