diff options
author | Matthieu Castet <mat@mat-pc.(none)> | 2007-01-14 20:04:20 +0100 |
---|---|---|
committer | Matthieu Castet <mat@mat-pc.(none)> | 2007-01-14 20:04:20 +0100 |
commit | fdbc34fab03eba8d257e14c6d557ffed5fa32c2d (patch) | |
tree | 6383233df19b0e21cd145437dacb46216d13891b | |
parent | 06cd15559525cd023fe347fcb8e918c6418b938e (diff) |
nouveau: opps nv20 ctx ramin size was wrong
-rw-r--r-- | shared-core/nv20_graph.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/shared-core/nv20_graph.c b/shared-core/nv20_graph.c index a148f5cb..6e351a2d 100644 --- a/shared-core/nv20_graph.c +++ b/shared-core/nv20_graph.c @@ -27,7 +27,7 @@ #include "nouveau_drv.h" #include "nouveau_drm.h" -#define NV20_GRCTX_SIZE (3529) +#define NV20_GRCTX_SIZE (3529*4) int nv20_graph_context_create(drm_device_t *dev, int channel) { drm_nouveau_private_t *dev_priv = @@ -109,7 +109,7 @@ void nouveau_nv20_context_switch(drm_device_t *dev) channel=NV_READ(NV_PFIFO_CACH1_PSH1)&(nouveau_fifo_number(dev)-1); channel_old = (NV_READ(NV_PGRAPH_CTX_USER) >> 24) & (nouveau_fifo_number(dev)-1); - DRM_INFO("NV: PGRAPH context switch interrupt channel %x -> %x\n",channel_old, channel); + DRM_DEBUG("NV: PGRAPH context switch interrupt channel %x -> %x\n",channel_old, channel); NV_WRITE(NV_PGRAPH_FIFO,0x0); |