summaryrefslogtreecommitdiff
path: root/shared
AgeCommit message (Collapse)Author
2004-11-06Commit WIP of BSD conversion to core model. Compiles for r128, radeon, butEric Anholt
doesn't run yet. Moves the ioctl definitions for these two drivers back to the shared code -- they aren't OS-specific.
2004-11-03Fixed bug in via_dma.c. The code didn't check that the lock was held by theThomas Hellstrom
caller. Just that it was held.
2004-11-01Reworked the jump-code in via_dma.c. The command regulator now seems toThomas Hellstrom
pause correctly after a jump. Removed the debug message from within the interrupt handler of via_irq.c
2004-11-01correct historic mis-attribution of copyrightKeith Whitwell
2004-10-30Some stabilizing work to the DMA ring-buffer code. Temporarily replaced theThomas Hellstrom
rewind jump with a reinitialization. This makes the code stable on CLE266 and KM400.
2004-10-23Apply radeon r300 microcode patch to non-coreDave Airlie
2004-10-16Fixed off by one errors in clipping.Ville Syrjala
2004-10-12Via updates. Fixed unlikely but possible uint32_t overflow in ring-bufferThomas Hellstrom
code. bumped patchlevel.
2004-10-09cleanup VIA driver to look a bit like others before kernel mergeDave Airlie
2004-10-09Lindent the via stuff so I can include it in kernelDave Airlie
2004-10-08Changed unsigned to uint32_t in some ioctl parameters. Introduced firstThomas Hellstrom
rudimentary command verifier for dma buffers. Changed the decoder futex ioctl parameters. Bumped the via major version number.
2004-09-27Fix the shared directory I accidentally stomped onJon Smirl
2004-09-27First check in for DRM that splits core from personality modulesJon Smirl
2004-09-24Create new linux-2.6 build. Move all gpl files into the 2.6 build. If youJon Smirl
edit files for 2.6 be sure and break the link to the 2.4 directory and copy the cvs history.
2004-09-231) switches from class_sysfs to drm sysfs implementation to allowJon Smirl
customization 2) compiles again on 2.4, but doesn't work
2004-09-22Create permanent maps of framebuffer, aperture and MMIO registers. AddedFelix Kuehling
chipset-type information in driver data field of Savage PCI-IDs. Added missing PCI-ID 0x8d03 (ProSavageDDR on Pentium boards). Don't require AGP.
2004-09-22Remove hotplug reset support from DRM driver. This will be handled by theJon Smirl
VGA driver when it gets written.
2004-09-20Remove size restriction on permanent addmapJon Smirl
2004-09-20remove HAVE_COUNTERSDave Airlie
2004-09-17Add linux sysfs i2c support to radeon driver. This patch adds GPL licensedJon Smirl
files to the linux build but not to the BSD directories.
2004-09-16Let's try adding the dyn-minor patch again. This patch will reuse minorJon Smirl
numbers if a card is hotplugged in/out instead of just having them increase.
2004-09-15Back dyn-minor patch out for now. fops handling is broken on some cardsJon Smirl
2004-09-15Dynamic device minor support. Minor device numbers will be reused if theJon Smirl
device is hotplugged in/out of the system
2004-09-14Add chip family names to the radeon driverJon Smirl
2004-09-12Fix DRM to compile cleanly with recent kernel changes in PCI IO andJon Smirl
DRM_COPY_FROM_USER. PCI IO changes in 2.6.9-rc1 bk currently.
2004-09-10More general patch to mark resources in use by all DRM drivers. Makes theJon Smirl
code Linux specific.
2004-09-08Update doxygen configuration file. Minor documentation updates/fixes.Jose Fonseca
2004-09-07Added IOCTL for writing 2D DMA command buffers over PCI. Bumped minorThomas Hellstrom
version number.
2004-09-05merge back bunch of whitespace and misc changes from kernelDave Airlie
2004-08-30drm-memory patch, cleans up alloc/free and makes calloc look more libc likeDave Airlie
2004-08-30Fix copy_from_user return value ignored warning at via_dma.c:168.Erdi Chen
2004-08-27run i915 through lindentDave Airlie
2004-08-27__NO_VERSION__ hasn't been needed since 2.3 days ditch it...Dave Airlie
2004-08-26Rearrange things so that via_dma.c will compile with inline via_check_dmaJon Smirl
2004-08-24Merged drmfntbl-0-0-2Dave Airlie
2004-08-24This patch adds three new ioctl's to the VIA Unichrome/Pro DRM driver:Erdi Chen
DRM_IOCTL_VIA_DMA_INIT DRM_IOCTL_VIA_CMDBUFFER DRM_IOCTL_VIA_FLUSH The first ioctl sets up an area in AGP memory that will be used as the ring buffer. The second ioctl copies a command buffer from user space memory to the ring buffer. The third ioctl waits for engine idle until it returns. The motivation for this patch is to avoid the wait for engine idle call before each buffer flush in the current DRI driver. With this patch, the DRI driver can continue to flush its buffer as long as there is free space in the ring buffer. This patch adds an additional copy operation on the command buffer. This buffer copying is necessary to support multiple DRI clients rendering simultaneously. Otherwise, more CPU time will be spent in the busy loop waiting for engine idle between DRI context switch. Even in the single client case, the tradeoff is reasonable in comparision to the kernel call to check for free buffer space for the client to render directly to the ring buffer.
2004-08-23set pointers to NULL after freeing, remove some extra debuggingDave Airlie
2004-08-17Merged drmfntbl-0-0-1Dave Airlie
2004-08-17preparation patch for radeon permanent mapping registers/framebuffer makesDave Airlie
dev_priv live always, and add AGP detection in kernel patch: radeon-pre-2.patch From: Jon Smirl
2004-08-14Add a "dev" argument to DRIVER_CTX_[CD]TOR. This will be used in anEric Anholt
upcoming commit for the SiS driver.
2004-08-13Fix apparent copy'n'paste-o of the card attributes commit that broke theEric Anholt
FreeBSD build.
2004-08-10Patch from Jon Smirl to add attribute field to the pciids, and use this forDave Airlie
certain radeon combinations - intel drivers can probably use this for dual head capable devices etc..
2004-08-02forgot to check these in.. thanks to Jon for reminding me ..Dave Airlie
2004-07-31patch from RH xorg-x11 tree ported to drm.hDave Airlie
2004-07-31fixes for using userspace pointers found by sparse utilityDave Airlie
From: Dave Airlie
2004-07-29initial port of i915 to BSD, not finished doesn't work.. no idea why...Dave Airlie
2004-07-25check for __user if not there define itDave Airlie
2004-07-25sync up with current 2.6 kernel bk tree - mostly __user annotationsDave Airlie
2004-07-23Correct a couple of packet length calculations.Keith Whitwell
2004-07-20Add NULLs instead of 0 for i915Dave Airlie