OSDN Git Service
(root)
/
uclinux-h8
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
de5899b
)
drm/nouveau: PRAMIN is available from the start on pre-nv50.
author
Francisco Jerez
<currojerez@riseup.net>
Mon, 6 Sep 2010 18:25:28 +0000
(20:25 +0200)
committer
Ben Skeggs
<bskeggs@redhat.com>
Fri, 24 Sep 2010 06:25:28 +0000
(16:25 +1000)
This makes sure that RAMHT is cleared correctly on start up.
Signed-off-by: Francisco Jerez <currojerez@riseup.net>
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/nv04_instmem.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/nouveau/nv04_instmem.c
b/drivers/gpu/drm/nouveau/nv04_instmem.c
index
8831610
..
0b5ae29
100644
(file)
--- a/
drivers/gpu/drm/nouveau/nv04_instmem.c
+++ b/
drivers/gpu/drm/nouveau/nv04_instmem.c
@@
-25,6
+25,9
@@
int nv04_instmem_init(struct drm_device *dev)
u32 offset, length;
int ret;
+ /* RAMIN always available */
+ dev_priv->ramin_available = true;
+
/* Setup shared RAMHT */
ret = nouveau_gpuobj_new_fake(dev, 0x10000, ~0, 4096,
NVOBJ_FLAG_ZERO_ALLOC, &ramht);
@@
-81,7
+84,6
@@
int nv04_instmem_init(struct drm_device *dev)
return ret;
}
- dev_priv->ramin_available = true;
return 0;
}