diff options
author | Ben Skeggs <bskeggs@redhat.com> | 2011-06-24 00:14:07 (GMT) |
---|---|---|
committer | Ben Skeggs <bskeggs@redhat.com> | 2011-09-20 06:03:56 (GMT) |
commit | 987eec10dd76624d0edacdc7ecc7e1a6fc877373 (patch) | |
tree | b53b136797aa4aa55e4e78ba2c3f1d074b47beb4 /drivers/gpu/drm/nouveau/nv50_vram.c | |
parent | 52d073318a4c32865e6439f7f6c247092a6f6af3 (diff) | |
download | linux-fsl-qoriq-987eec10dd76624d0edacdc7ecc7e1a6fc877373.tar.xz |
drm/nouveau: embed nouveau_mm
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/nouveau/nv50_vram.c')
-rw-r--r-- | drivers/gpu/drm/nouveau/nv50_vram.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/drm/nouveau/nv50_vram.c b/drivers/gpu/drm/nouveau/nv50_vram.c index af32dae..9da2383 100644 --- a/drivers/gpu/drm/nouveau/nv50_vram.c +++ b/drivers/gpu/drm/nouveau/nv50_vram.c @@ -51,7 +51,7 @@ void nv50_vram_del(struct drm_device *dev, struct nouveau_mem **pmem) { struct drm_nouveau_private *dev_priv = dev->dev_private; - struct nouveau_mm *mm = dev_priv->engine.vram.mm; + struct nouveau_mm *mm = &dev_priv->engine.vram.mm; struct nouveau_mm_node *this; struct nouveau_mem *mem; @@ -82,7 +82,7 @@ nv50_vram_new(struct drm_device *dev, u64 size, u32 align, u32 size_nc, u32 memtype, struct nouveau_mem **pmem) { struct drm_nouveau_private *dev_priv = dev->dev_private; - struct nouveau_mm *mm = dev_priv->engine.vram.mm; + struct nouveau_mm *mm = &dev_priv->engine.vram.mm; struct nouveau_mm_node *r; struct nouveau_mem *mem; int comp = (memtype & 0x300) >> 8; |