summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBen Skeggs <[email protected]>2008-03-21 22:23:19 +1100
committerBen Skeggs <[email protected]>2008-03-21 22:28:18 +1100
commit19b57690ad251e2b0714abe3a20893722bd99d54 (patch)
treef78be0a58b0f364c46f39e3a50ad49fc141c0e61
parent308d7b171179f40b767b6590f71f969473ade25c (diff)
nv40: call semi-magic 0x1d88 method
-rw-r--r--src/gallium/drivers/nv40/nv40_state_fb.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/drivers/nv40/nv40_state_fb.c b/src/gallium/drivers/nv40/nv40_state_fb.c
index 93b79377c92..88baf61ffb3 100644
--- a/src/gallium/drivers/nv40/nv40_state_fb.c
+++ b/src/gallium/drivers/nv40/nv40_state_fb.c
@@ -128,6 +128,8 @@ nv40_state_framebuffer_validate(struct nv40_context *nv40)
so_method(so, nv40->screen->curie, NV40TCL_VIEWPORT_CLIP_HORIZ(0), 2);
so_data (so, ((w - 1) << 16) | 0);
so_data (so, ((h - 1) << 16) | 0);
+ so_method(so, nv40->screen->curie, 0x1d88, 1);
+ so_data (so, (1 << 12) | h);
so_ref(so, &nv40->state.hw[NV40_STATE_FB]);
return TRUE;