[Nouveau] strange change in commit 38c34b28f04518fec8ec474a6530d0fb37002cf5
Maarten Maathuis
madman2003 at gmail.com
Thu Dec 3 13:57:57 PST 2009
diff --git a/drivers/gpu/drm/nouveau/nv10_fifo.c
b/drivers/gpu/drm/nouveau/nv10_fifo.c
index 877f00e..ed7f466 100644
--- a/drivers/gpu/drm/nouveau/nv10_fifo.c
+++ b/drivers/gpu/drm/nouveau/nv10_fifo.c
@@ -216,7 +216,7 @@ nv10_fifo_init_ramxx(struct drm_device *dev)
(dev_priv->ramht_offset >> 8));
nv_wr32(dev, NV03_PFIFO_RAMRO, dev_priv->ramro_offset>>8);
- if (dev_priv->card_type > NV_11) {
+ if (dev_priv->chipset < 0x17) {
nv_wr32(dev, NV03_PFIFO_RAMFC, (dev_priv->ramfc_offset >> 8) |
(1 << 16) /* 64 Bytes entry*/);
/* XXX nvidia blob set bit 18, 21,23 for nv20 & nv30 */
That strikes me as somewhat odd.
Maarten.
More information about the Nouveau
mailing list