diff options
author | Ben Skeggs <bskeggs@redhat.com> | 2011-05-26 12:12:43 +1000 |
---|---|---|
committer | Ben Skeggs <bskeggs@redhat.com> | 2011-06-23 15:57:48 +1000 |
commit | 066d65db11fe4049bae52199c4b76fd6d9e95d47 (patch) | |
tree | aa024b1c34ae34c4841c0cbf3377ab20ebb373b9 /drivers/gpu/drm/nouveau/nvc0_graph.h | |
parent | a219997a3b17baea478c9e99ac62b8b6b78b15d4 (diff) | |
download | op-kernel-dev-066d65db11fe4049bae52199c4b76fd6d9e95d47.zip op-kernel-dev-066d65db11fe4049bae52199c4b76fd6d9e95d47.tar.gz |
drm/nvc0/gr: calculate magicgpc918 ourselves
Not a clue what it is yet, but we get the same numbers as NVIDIA now.
My 465 didn't seem to care to greatly *what* I bashed into these registers..
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/nouveau/nvc0_graph.h')
-rw-r--r-- | drivers/gpu/drm/nouveau/nvc0_graph.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/gpu/drm/nouveau/nvc0_graph.h b/drivers/gpu/drm/nouveau/nvc0_graph.h index fa2f9cb..55689e9 100644 --- a/drivers/gpu/drm/nouveau/nvc0_graph.h +++ b/drivers/gpu/drm/nouveau/nvc0_graph.h @@ -57,8 +57,7 @@ struct nvc0_graph_priv { struct nouveau_gpuobj *unk4188b4; struct nouveau_gpuobj *unk4188b8; - u8 magic_not_rop_nr; - u32 magicgpc918; + u8 magic_not_rop_nr; }; struct nvc0_graph_chan { |