summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/nouveau/nv50_display.c
diff options
context:
space:
mode:
authorBen Skeggs <bskeggs@redhat.com>2010-09-01 15:24:30 +1000
committerBen Skeggs <bskeggs@redhat.com>2010-09-24 16:20:07 +1000
commitde3a6c0a3b642c0c350414d63298a1b19a009290 (patch)
tree68bd8512acc01f46dd238105edfdb70b211f64ae /drivers/gpu/drm/nouveau/nv50_display.c
parentb3beb167af0de6d7cb03aed0687eca645cfd06a6 (diff)
downloadblackbird-op-linux-de3a6c0a3b642c0c350414d63298a1b19a009290.tar.gz
blackbird-op-linux-de3a6c0a3b642c0c350414d63298a1b19a009290.zip
drm/nouveau: rebase per-channel pramin heap offsets to 0
Reviewed-by: Francisco Jerez <currojerez@riseup.net> Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/nouveau/nv50_display.c')
-rw-r--r--drivers/gpu/drm/nouveau/nv50_display.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/gpu/drm/nouveau/nv50_display.c b/drivers/gpu/drm/nouveau/nv50_display.c
index 435d2b727949..6f89674ebb96 100644
--- a/drivers/gpu/drm/nouveau/nv50_display.c
+++ b/drivers/gpu/drm/nouveau/nv50_display.c
@@ -113,8 +113,7 @@ nv50_evo_channel_new(struct drm_device *dev, struct nouveau_channel **pchan)
return ret;
}
- ret = drm_mm_init(&chan->ramin_heap,
- chan->ramin->gpuobj->im_pramin->start, 32768);
+ ret = drm_mm_init(&chan->ramin_heap, 0, 32768);
if (ret) {
NV_ERROR(dev, "Error initialising EVO PRAMIN heap: %d\n", ret);
nv50_evo_channel_del(pchan);
OpenPOWER on IntegriCloud