summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2005-11-30Bump package and DSO numbers to 2.0libdrm-2_0_0libdrm-2_0-branchAdam Jackson2-2/+2
2005-11-30Resync from Xorg CVS: Fixes for mixed 32/64 client and server (Egbert Eich)Adam Jackson2-18/+18
2005-11-30Resync from Xorg head: conditional include of xorg-config.hAdam Jackson4-0/+16
2005-11-30Resync from Xorg head (Bug #3815, GNU/kFreeBSD hack)Adam Jackson1-1/+1
2005-11-08Correct a LOR on FreeBSD by allocating a temporary buffer and doing aEric Anholt1-15/+16
single COPY_FROM_USER into it, rather than VERIFYAREA followed by many COPY_FROM_USER_UNCHECKEDs.
2005-11-08Correct a LOR related to the PCI resource allocations by simply moving theEric Anholt2-8/+17
uninit to unload time rather than lastclose.
2005-11-08Fix FreeBSD DRM for latest MGA changes to agp support, which cleans thingsEric Anholt4-60/+121
up a good bit, I think. Also, remove the agp_uninit() function which has lain around as a noop for years now. The FreeBSD DRM is now all compiling, with the exception of via. One known sleeping-with-lock-held issue remains.
2005-11-08Catch FreeBSD up to the pcie gart changes. Required minor modification toEric Anholt6-43/+59
radeon_cp.c to use a drm_local_map_t-type mapping (drm_core_ioremap rather than drm_ioremap), which contains private device mapping information on BSD. I also changed the ati_pcigart interface to use "void *" for pointers to kva rather than "unsigned long". While PCIGART support appears to be broken on FreeBSD currently, I think this is not new, and BusType PCI remains working on my r100 in Linux.
2005-11-08Correct a recursion on non-recursive mutex in drm_addmap from radeon'sEric Anholt1-5/+6
firstopen, by making drm_addmap require the drm device lock to be held. Also, make matching of kernel maps match linux by requiring shm matches to have the contains_lock flag set if the offset doesn't match.
2005-11-07Fix bug #4908 for now. Alternative is highlighted in this bug report as theAlan Hourihane1-2/+12
better future direction.
2005-11-06Re-disable the via driver while it's broken on BSD.Eric Anholt1-1/+1
2005-11-03Converts the remaining drm_agp_foo functions to be a drm_agp_foo andIan Romanick9-76/+154
drm_agp_foo_ioctl pair. Modifies the MGA DRM to use the drm_agp_foo functions instead of the drm_foo_agp functions. The drm_foo_agp functions are no longer exported by drm.ko. Ensures that dma->seg_count and dma->page_count are properly set in drm_addbufs_{agp,sg,fb}. drm_addbufs_pci was already correct. Ensures that mga_do_agp_dma_bootstrap correctly sets agp_buffer_token. At this point PCI DMA is still broken. Xorg bug: #4797 Reviewed by: Dave Airlie, Eric Anholt Signed-off-by: Ian Romanick <idr@us.ibm.com>
2005-10-31Bump to 1.0.5 for new via headerlibdrm-1_0_5Adam Jackson1-1/+1
2005-10-23we don't use this stuff anymore .. remove 1k buffer from driver ..Dave Airlie2-8/+0
2005-10-22via: Sync via_drm.h with 3D driver. Bump via patchlevel and date.Thomas Hellstrom3-13/+22
2005-10-22Bug #328: Silence read-from-uninitialized warnings in DRM_CAS on Alpha.Adam Jackson1-2/+2
(David Dawes)
2005-10-21Don't set MTRR's for intel hardwareAlan Hourihane1-1/+4
2005-10-20fix G550 cardsDave Airlie2-2/+2
2005-10-20Bump to 1.0.4.libdrm-1_0_4Adam Jackson1-1/+1
2005-10-20Remove the remaining references to Xlib. libdrm is totally independent now.Adam Jackson2-5/+1
2005-10-20via and r300 still need installed reg headers.Adam Jackson1-1/+7
2005-10-20via: PCI DMA bugfixes and DOS due to too many mapped pages checks.Thomas Hellstrom2-3/+16
2005-10-20Remove bogus Xlib dependency.Adam Jackson1-3/+2
2005-10-20dma access also needs some workDave Airlie1-0/+1
2005-10-20the old init path needs to set WAGP_ENABLE by defaultDave Airlie1-0/+3
2005-10-14Doig a full clean up from mga_do_dma_bootstrap whenIan Romanick1-11/+15
mga_do_agp_dma_bootstrap fails causes problems if mga_do_pci_dma_bootstrap succeeds. This commit makes it possible to do a "minimal" clean up instead. I'm still trying to figure out what is causing the failures in mga_do_agp_dma_bootstrap... Signed-off-by: Ian Romanick <idr@us.ibm.com>
2005-10-14Fixed a cut-and-paste bug that could cause an oops in mga_do_cleanup_dmaIan Romanick1-2/+2
when mga_do_init_dma fails. Still trying to determine why mga_do_init_dma is failing. Signed-off-by: Ian Romanick <idr@us.ibm.com>
2005-10-13Better pkgconfig-fu: -ldrm in Libs:Adam Jackson1-1/+1
2005-10-13Add X300 RV370Dave Airlie1-0/+1
2005-10-11The Linux 2.6.9 (and earlier) fops structure does not contain aIan Romanick3-3/+3
.compat_ioctl field. This change makes the DRM build on those kernels. Signed-off-by: Ian Romanick <idr@us.ibm.com>
2005-10-06Skeleton nv drm driver, to enable DMA in EXA. (Lars Knoll, minor updates byAdam Jackson5-2/+339
me)
2005-10-06remove version not used anymoreDave Airlie1-1/+0
2005-09-30fix header this is now a c fileDave Airlie1-1/+1
2005-09-30now I've lindented kernel it might be useful againDave Airlie1-3/+3
2005-09-30Add support to turn writeback off via radeon module optionDave Airlie4-0/+11
2005-09-30fix pci overriding from userspaceDave Airlie2-1/+7
2005-09-30fixup bens fix so it works..Dave Airlie1-3/+4
2005-09-30Add Bens fix for radeon maps on ppcDave Airlie1-42/+43
2005-09-25via: fix stray error printout message.Thomas Hellstrom1-1/+0
2005-09-25Add the via PCI DMA blit code.Thomas Hellstrom8-17/+1055
2005-09-25hopefully fix server recycling on PCIEDave Airlie1-3/+9
2005-09-25add __ATTRDave Airlie1-0/+9
2005-09-25use linux kernel macros don't make our ownDave Airlie1-3/+3
2005-09-18remove pci_find_class use for alphaDave Airlie1-2/+4
2005-09-17compat for pci_pretty_nameDave Airlie1-0/+4
2005-09-12update autogen from xserver treeDave Airlie1-1/+10
2005-09-12Fix the spelling of DRM_AUTH so that the bsd core stuff builds again. NextEric Anholt1-3/+3
up is pcigart.
2005-09-12add some pci express chipsDave Airlie1-0/+2
2005-09-12make PCI Express work on 64-bit machines, thanks to Alex Deucher (agd5f)Dave Airlie1-3/+3
2005-09-11back out change as gart is now in framebuffer for PCIEDave Airlie1-1/+1