diff options
author | Ben Skeggs <bskeggs@redhat.com> | 2010-01-11 11:56:19 +1000 |
---|---|---|
committer | Ben Skeggs <bskeggs@redhat.com> | 2010-01-11 11:56:19 +1000 |
commit | 68c1f908be5739692c9f0bde9c23f3dc2a7210ea (patch) | |
tree | 4006aa77c0f6d1db21be477ccaa01e7249baa685 | |
parent | 06499197d6eb07a272a1812e1c8bce886798a1d7 (diff) |
remove pNv->VRAMPhysical
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
-rw-r--r-- | src/nv_driver.c | 5 | ||||
-rw-r--r-- | src/nv_type.h | 3 |
2 files changed, 0 insertions, 8 deletions
diff --git a/src/nv_driver.c b/src/nv_driver.c index 1d61c95..f2a2cbc 100644 --- a/src/nv_driver.c +++ b/src/nv_driver.c @@ -921,13 +921,9 @@ NVMapMem(ScrnInfoPtr pScrn) { NVPtr pNv = NVPTR(pScrn); struct nouveau_device *dev = pNv->dev; - uint64_t res; uint32_t tile_mode = 0, tile_flags = 0; int ret, size; - nouveau_device_get_param(dev, NOUVEAU_GETPARAM_FB_PHYSICAL, &res); - pNv->VRAMPhysical=res; - size = pScrn->displayWidth * (pScrn->bitsPerPixel >> 3); if (pNv->Architecture >= NV_ARCH_50 && pNv->tiled_scanout) { tile_mode = 4; @@ -1244,7 +1240,6 @@ NVScreenInit(int scrnIndex, ScreenPtr pScreen, int argc, char **argv) if (pNv->ShadowFB) ShadowFBInit(pScreen, NVRefreshArea); - pScrn->memPhysBase = pNv->VRAMPhysical; pScrn->fbOffset = 0; NVInitVideo(pScreen); diff --git a/src/nv_type.h b/src/nv_type.h index 510ec11..e75c37a 100644 --- a/src/nv_type.h +++ b/src/nv_type.h @@ -71,9 +71,6 @@ typedef struct _NVRec { int NVArch; Bool Primary; - /* VRAM physical address */ - unsigned long VRAMPhysical; - /* Various pinned memory regions */ struct nouveau_bo * scanout; struct nouveau_bo * offscreen; |