diff options
Diffstat (limited to 'hw/kdrive/r128/r128draw.c')
-rw-r--r-- | hw/kdrive/r128/r128draw.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/hw/kdrive/r128/r128draw.c b/hw/kdrive/r128/r128draw.c index 092f8e272..be4dc79ae 100644 --- a/hw/kdrive/r128/r128draw.c +++ b/hw/kdrive/r128/r128draw.c @@ -124,6 +124,15 @@ r128Setup (ScreenPtr pScreen, int wait) r128WaitAvail (2); R128_OUT32 (mmio, R128_REG_DEFAULT_OFFSET, 0); R128_OUT32 (mmio, R128_REG_DEFAULT_PITCH, r128s->pitch); + + r128WaitAvail (4); + R128_OUT32 (mmio, R128_AUX_SC_CNTL, 0); + R128_OUT32 (mmio, R128_DEFAULT_SC_BOTTOM_RIGHT, (R128_DEFAULT_SC_RIGHT_MAX + | R128_DEFAULT_SC_BOTTOM_MAX)); + R128_OUT32 (mmio, R128_SC_TOP_LEFT, 0); + R128_OUT32 (mmio, R128_SC_BOTTOM_RIGHT, (R128_DEFAULT_SC_RIGHT_MAX + | R128_DEFAULT_SC_BOTTOM_MAX)); + r128WaitAvail (wait); return TRUE; } |