From 69cf084e73a32e0e756d1333ee404f44450ced4d Mon Sep 17 00:00:00 2001 From: Rudolf Cornelissen Date: Fri, 7 Apr 2006 20:02:35 +0000 Subject: [PATCH] checked G73 setup against today's XFree86 CVS. G73 should be supported now, that is, after the kerneldriver is updated as well (for cardIDs) git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17047 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/add-ons/accelerants/nvidia/engine/nv_acc_dma.c | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/src/add-ons/accelerants/nvidia/engine/nv_acc_dma.c b/src/add-ons/accelerants/nvidia/engine/nv_acc_dma.c index b57ac2ec57..5323760691 100644 --- a/src/add-ons/accelerants/nvidia/engine/nv_acc_dma.c +++ b/src/add-ons/accelerants/nvidia/engine/nv_acc_dma.c @@ -173,7 +173,6 @@ status_t nv_acc_init_dma() ACCW(NV41_FBTILAED, (si->ps.memory_size - 1)); ACCW(NV41_FBTILBED, (si->ps.memory_size - 1)); - //fixme: still confirm G73... if (si->ps.card_type >= G70) { ACCW(G70_FBTILCAD, 0); @@ -691,7 +690,7 @@ status_t nv_acc_init_dma() ACCW(NV44_WHAT2, 0x00000000); ACCW(NV44_WHAT3, 0x00000000); break; -/* case NV44 type 2: +/* case NV44 type 2: (cardID 0x022x) //fixme if needed: doesn't seem to need the strapinfo thing.. ACCW(NV40P_WHAT0, 0x83280eff); ACCW(NV40P_WHAT1, 0x000000a0); @@ -701,12 +700,12 @@ status_t nv_acc_init_dma() break; */ case G70: case G71: + case G73: ACCW(NV40P_WHAT0, 0x83280eff); ACCW(NV40P_WHAT1, 0x000000a0); ACCW(NV40P_WHAT2, 0x07830610); ACCW(NV40P_WHAT3, 0x0000016a); break; - //fixme: still confirm G73... default: ACCW(NV40P_WHAT0, 0x83280eff); ACCW(NV40P_WHAT1, 0x000000a0); @@ -785,7 +784,7 @@ status_t nv_acc_init_dma() else { /* NV41, 43, 44, G70 and later */ - if (si->ps.card_type >= G70) //fixme: still confirm G73... + if (si->ps.card_type >= G70) { for (cnt = 0; cnt < 60; cnt++) { @@ -839,7 +838,7 @@ status_t nv_acc_init_dma() /* NV41, 43, 44, G70 and later */ /* copy some RAM configuration info(?) */ - if (si->ps.card_type >= G70) //fixme: still confirm G73... + if (si->ps.card_type >= G70) { ACCW(G70_WHAT_T0, NV_REG32(NV32_PFB_CONFIG_0)); ACCW(G70_WHAT_T1, NV_REG32(NV32_PFB_CONFIG_1));