Commit 752ab0a0 authored by Ben Skeggs's avatar Ben Skeggs

drm/nvc0/gr: fill in some more data for 0xc1/0xc8/0xce

Signed-off-by: default avatarBen Skeggs <bskeggs@redhat.com>
parent 2b6f1c5f
...@@ -1783,10 +1783,11 @@ nvc0_grctx_generate(struct nouveau_channel *chan) ...@@ -1783,10 +1783,11 @@ nvc0_grctx_generate(struct nouveau_channel *chan)
nv_wr32(dev, 0x40587c, 0x00000000); nv_wr32(dev, 0x40587c, 0x00000000);
if (1) { if (1) {
const u8 chipset_tp_max[] = { 16, 0, 0, 4, 8 }; const u8 chipset_tp_max[] = { 16, 4, 0, 4, 8, 0, 0, 0,
16, 0, 0, 0, 0, 0, 8, 0 };
u8 max = chipset_tp_max[dev_priv->chipset & 0x0f]; u8 max = chipset_tp_max[dev_priv->chipset & 0x0f];
u8 tpnr[GPC_MAX]; u8 tpnr[GPC_MAX];
u8 data[32]; u8 data[TP_MAX];
memcpy(tpnr, priv->tp_nr, sizeof(priv->tp_nr)); memcpy(tpnr, priv->tp_nr, sizeof(priv->tp_nr));
memset(data, 0x1f, sizeof(data)); memset(data, 0x1f, sizeof(data));
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment