|
|
#1 | |
|
Registered User
Join Date: Jan 2009
Posts: 1
|
I am developing 9200M GS 2D display driver under the vxWorks operating system ,
Now encountering a problem: I reference the xf86-video-nv-2.1.12 source code of the x.org to develop the driver The 8400GS and 9600GT chips are running well under the driver.However, 9200M gs chip running a problem First of all, I in the process of transplantation code made some modifications: 1) In function G80DispPreInit() to add a statement: pNv->reg[0x006101E8/4] = pNv->reg[0x0061D000/4]; 2)original I2cAddr() function is as follows: static CARD32 i2cAddr(const int port) { const CARD32 base = (port > 3) ? 0x0000E1E0 : 0x0000E138; return base + port * 0x18; } modification as follows: static CARD32 i2cAddr(const int port) { const CARD32 base = (port > 3) ? 0xE1D4 : 0x0000E138; const CARD32 t= (port > 3) ? 0x20: 0x18 return base + port * t } The 9200M gs graphics card has two external DFP displays, G80ReadPortMapping() function display information as follows: G80ReadPortMapping: Connector map: G80ReadPortMapping: Bus 0 -> DAC1 G80ReadPortMapping: Bus 1 -> DAC2 G80ReadPortMapping: Bus 2 -> SOR1 G80ReadPortMapping: Bus 4 -> SOR2 G80ReadPortMapping: Load detection: 340 My program is initialized in the section are as follows: for(i=0;i<2;i++){ /*dpms set*/ if (G80Crtc[i].por == -1) continue; if (G80Crtc[i].type == G80DAC) G80DacDPMSSet(&G80Crtc[i], 0); else G80SorDPMSSet(&G80Crtc[i], 0); } for(i=0;i<2;i++){ if (G80Crtc[i].por == -1) continue; /*prepart */ if (G80Crtc[i].type == G80DAC) G80DacModeSet(&G80Crtc[i], 0); else G80SorModeSet(&G80Crtc[i], 0); /* modeset */ G80CrtcModeSet(&G80Crtc[i]); if (G80Crtc[i].type == G80DAC) G80DacModeSet(&G80Crtc[i], 1); else G80SorModeSet(&G80Crtc[i], 1); /*commit*/ G80CrtcCommit(&G80Crtc[i]); DPRINTK("crtc%d init ok!\n",i); } After BIOS initialized DFP display that can be successfully initialized under the Driver, and when initializing the other DFP display,function G80CrtcCommit () will be in a death cycle the contents inside the following Registers :0x61c000,0x61c800,0x61d000 have become 0 Hope to be able to get help here.Thanks! |
|
|
|
|
![]() |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| POSSIBLE AGP TROUBLE (mandrake 9.0) | chrono86 | NVIDIA Linux | 4 | 10-12-02 12:09 PM |
| Trouble with SuSE80 & NVIDIA_kernel-1.0-3123.tar.gz | mosquis | NVIDIA Linux | 6 | 10-08-02 07:20 PM |
| NVidia Trouble | ixion | NVIDIA Linux | 4 | 09-27-02 08:08 AM |
| Gentoo and agp trouble | john36 | NVIDIA Linux | 2 | 09-12-02 10:36 PM |
| trouble enabling 3d | mukluk123 | NVIDIA Linux | 3 | 08-12-02 01:52 PM |