summaryrefslogtreecommitdiff
path: root/sys/src/cmd/aux/vga/nvidia.c
AgeCommit message (Collapse)Author
2021-11-26aux/vga: use vlong for pci bar sizecinap_lenrek
2018-03-14nvidia: add pci device id for GeForce 6200 AGB (thanks bitmapper)cinap_lenrek
2014-04-15vga: add support nVidia 7600GS (and possibly 7950) (from kenji okamoto)cinap_lenrek
2013-01-02vga: make kernel vga drivers more stupidcinap_lenrek
previously, we had to maintain 3 sets of pci vid/did's: 1) in /lib/vgadb for detection 2) in the userspace driver in aux/vga 3) in the kernel mode driver this change makes the kernel mode driver more dumb in the cases where possible. we let userspace do the pci enumeration and if needed, it can set the pci address of the vga card. kernel mode drivers can assume to get the right pci device passed in scr->pci for enable() and linear() functions and just do very basic sanity checking before mapping framebuffer and mmio regions. vgalinearpciid() was removed as userspace is responsible to pick pci device. theres a new vgactl message "pcidev" where userspace can set the bus address. we initialize scr->pci in vgareset() to the first pci graphics card found. this should cover cases when an old aux/vga binary is used that doesnt use the new pcidev message. userspace drivers will now use the pci device that got a match from /lib/vgadb and skip ther own enumeration. this way, vga cards can be made to work by simply adding an entry in vgadb with no need to modify userspace or kernelspace drivers. this is not always possible if the driver derives information from the specific card model.
2011-06-02aux/vga ccru/ccrb parsingtaruti
2011-05-31Fix nvidia 6200 0x161taruti
2011-05-27NVIDIA fix + 0x420 cardstaruti
2011-03-30Import sources from 2011-03-30 iso image - libTaru Karttunen
2011-03-30Import sources from 2011-03-30 iso imageTaru Karttunen