summaryrefslogtreecommitdiff
path: root/shared-core
diff options
context:
space:
mode:
authorMatthieu Castet <castet.matthieu@free.fr>2007-05-12 15:16:37 +0200
committerMatthieu Castet <castet.matthieu@free.fr>2007-05-12 15:36:48 +0200
commit5d623935c0e4f5f283c961de186b78b30db12463 (patch)
tree569e240c50dfeec60ef81e9b2241bd2e699f322b /shared-core
parente4d163d81ad7ce46af43cf84485dc96c4cb22b1f (diff)
nouveau : nv10 graph clipping values were forgoten in ddx to drm commit
Diffstat (limited to 'shared-core')
-rw-r--r--shared-core/nv10_graph.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/shared-core/nv10_graph.c b/shared-core/nv10_graph.c
index 4cc44e21..80d07bd9 100644
--- a/shared-core/nv10_graph.c
+++ b/shared-core/nv10_graph.c
@@ -692,6 +692,11 @@ int nv10_graph_init(drm_device_t *dev) {
NV_WRITE(NV10_PGRAPH_STATE , 0xFFFFFFFF);
NV_WRITE(NV04_PGRAPH_FIFO , 0x00000001);
+ NV_WRITE(NV03_PGRAPH_ABS_UCLIP_XMIN, 0);
+ NV_WRITE(NV03_PGRAPH_ABS_UCLIP_YMIN, 0);
+ NV_WRITE(NV03_PGRAPH_ABS_UCLIP_XMAX, 0x7fff);
+ NV_WRITE(NV03_PGRAPH_ABS_UCLIP_YMAX, 0x7fff);
+
return 0;
}