summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/nouveau/nvc0_graph.h
diff options
context:
space:
mode:
authorBen Skeggs <bskeggs@redhat.com>2011-05-26 02:12:43 (GMT)
committerBen Skeggs <bskeggs@redhat.com>2011-06-23 05:57:48 (GMT)
commit066d65db11fe4049bae52199c4b76fd6d9e95d47 (patch)
treeaa024b1c34ae34c4841c0cbf3377ab20ebb373b9 /drivers/gpu/drm/nouveau/nvc0_graph.h
parenta219997a3b17baea478c9e99ac62b8b6b78b15d4 (diff)
downloadlinux-066d65db11fe4049bae52199c4b76fd6d9e95d47.tar.xz
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.h3
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 {