nouveau/nv50: G80 fixes.

Again, no hardware, so no idea if it'll even work yet.  I understand how
the PRAMIN setup works now, un-hardcoding stuff will come "RealSoonNow(tm)".
main
Ben Skeggs 2007-07-11 14:22:59 +10:00
parent 13e1377044
commit 5ccadac9e3
2 changed files with 2 additions and 3 deletions

View File

@ -235,8 +235,7 @@ nv50_fifo_create_context(drm_device_t *dev, int channel)
DRM_DEBUG("ch%d\n", channel);
if (IS_G80) {
uint32_t ramfc_offset;
ramfc_offset = chan->ramin->gpuobj->im_pramin->start + 0x1000;
uint32_t ramfc_offset = chan->ramin->gpuobj->im_pramin->start;
if ((ret = nouveau_gpuobj_new_fake(dev, ramfc_offset, 0x100,
NVOBJ_FLAG_ZERO_ALLOC |
NVOBJ_FLAG_ZERO_FREE,

View File

@ -68,7 +68,7 @@ nv50_instmem_init(drm_device_t *dev)
} else {
unk = cb + 0x5400;
cb0 = cb + 0x5440;
cb1 = cb + 0x1438;
cb1 = cb + 0x1478;
}
DRM_DEBUG("PRAMIN config:\n");