summaryrefslogtreecommitdiff
path: root/linux
AgeCommit message (Collapse)AuthorFilesLines
2005-08-05Rename the driver hooks in the DRM to something a little moreEric Anholt1-0/+1
understandable: preinit -> load postinit -> (removed) presetup -> firstopen postsetup -> (removed) open_helper -> open prerelease -> preclose free_filp_priv -> postclose pretakedown -> lastclose postcleanup -> unload release -> reclaim_buffers_locked version -> (removed) postinit and version were replaced with generic code in the Linux DRM (drivers now set their version numbers and description in the driver structure, like on BSD). postsetup wasn't used at all. Fixes the savage hooks for initializing and tearing down mappings at the right times. Testing involved at least starting X, running glxgears, killing glxgears, exiting X, and repeating. Tested on: FreeBSD (g200, g400, r200, r128) Linux (r200, savage4)
2005-04-20A fix for a locking bug which is triggered when a client tries to lock withThomas Hellstrom1-9/+12
flag DMA_QUIESCENT (typically the X server), but gets interrupted by a signal. The locking IOCTL should then return an error, but if DMA_QUIESCENT succeeds it returns 0, and the client falsely thinks it has the lock. In addition The client waits for DMA_QUISCENT and possibly DMA_READY without having the lock.
2005-03-28Via updates:Thomas Hellstrom2-2/+3
New PCI command parser. Moved from via_dma.c to via_verifier.c so functions with similar functionality are close to eachother. Moved video related functions to via_video.c, which might be extended in the future, as new video functionality is added. New device-specific generic IRQ IOCTL, similar to the general VBLANK IOCTL, but with support for multiple device IRQ sources and functionality. Support for Unichrome Pro PM800/CN400 video DMA commands in verifier and PCI parser. Support for Unichrome Pro PM800/CN400 HQV IRQs in the new generic IRQ IOCTL. Bumped minor. New version 2.6.0.
2005-01-19Fix a cut & paste problemAlan Hourihane1-1/+1
2005-01-16The patch makes drmAddBufs/drmMapBufs can handle buffers in video memoryDave Airlie2-9/+183
The attached patch adds a new buffer type DRM_FB_BUFFER. It works like AGP memory but uses video memory. From: austinyuan@viatech.com.cn (fd.o bug 1668) Signed-off-by: Dave Airlie <airlied@linux.ie>
2005-01-11Import Thomas' changes upto 2.4.3 to shared. Small tweak to install target.Keith Whitwell1-1/+1
2004-12-16drm_pciids.h should only 'cleaned' when the shared/ directory exists. WhichAlan Hourihane1-1/+1
the Makefile already knows about, but it was cleaning this file anyway.
2004-12-07Fix up linux 2.4 series Makefiles for via_verifier.cThomas Hellstrom2-2/+2
2004-10-31Allow drivers to override reclaim_buffers in an OS-independent way byFelix Kuehling7-16/+10
passing drm_device_t* as first parameter, like in the BSD version.
2004-10-29Switch SPIN_LOCK_UNLOCKED to spin_lock_init()Jon Smirl1-1/+1
2004-10-28fix for 2.4 buildDave Airlie1-0/+1
2004-10-09remove unused dma remnants that were gamma only - these could cause an oopsDave Airlie2-11/+0
on via
2004-10-08Fix refcount bug in stealth modeJon Smirl1-0/+1
2004-10-07Fix drm_exit to allow for DRM(global) being deleted when framebuffer isJon Smirl1-1/+1
loaded.
2004-09-27Flip the 2.4 check so that it looks for 2.6 instead. This will allow buildsJon Smirl1-1/+1
where we can't determine the version through.
2004-09-24Makefile reminder to build in 2.6 when on 2.6Jon Smirl1-0/+4
2004-09-24Create new linux-2.6 build. Move all gpl files into the 2.6 build. If youJon Smirl6-395/+2
edit files for 2.6 be sure and break the link to the 2.4 directory and copy the cvs history.
2004-09-23Remove 2.6 code that allow DRM major device number to be shared. We can addJon Smirl3-50/+10
it back later if needed. Checked DRM on both 2.4 and 2.6 to ensure that it builds and runs.
2004-09-23Add new sysfs support filesJon Smirl2-0/+250
2004-09-231) switches from class_sysfs to drm sysfs implementation to allowJon Smirl18-220/+82
customization 2) compiles again on 2.4, but doesn't work
2004-09-22Create permanent maps of framebuffer, aperture and MMIO registers. AddedFelix Kuehling2-1/+94
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 Smirl3-75/+1
VGA driver when it gets written.
2004-09-22Add *.flags to cvsignore.Eric Anholt1-0/+1
2004-09-21Make DRM permanent maps match broken X behavior. X is mapping regions thatJon Smirl1-0/+1
are both smaller and larger than what the hardware supports. If DRM tries to fix these requests X will fail.
2004-09-20Remove size restriction on permanent addmapJon Smirl2-3/+7
2004-09-20Felix's fix for map request smaller than permanent map sizeJon Smirl2-2/+2
2004-09-20remove HAVE_COUNTERSDave Airlie6-61/+26
2004-09-20another fix after the macro stuffDave Airlie1-1/+1
2004-09-18Fix from: Nishanth Aravamudan replace direct assignment withJon Smirl1-2/+2
__set_current_state()
2004-09-17Add the two GPL licensed I2C support files.Jon Smirl2-0/+181
2004-09-17Add linux sysfs i2c support to radeon driver. This patch adds GPL licensedJon Smirl1-1/+1
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 Smirl3-271/+345
numbers if a card is hotplugged in/out instead of just having them increase.
2004-09-16Fix drm_scatter to properly report it's availabilityJon Smirl1-1/+1
2004-09-15Back dyn-minor patch out for now. fops handling is broken on some cardsJon Smirl3-313/+254
2004-09-15Don't use module_param if it isn't defined in older kernels.Jon Smirl1-2/+6
2004-09-15Dynamic device minor support. Minor device numbers will be reused if theJon Smirl3-254/+309
device is hotplugged in/out of the system
2004-09-12Fix error path in probe() to release resources if there is an error.Jon Smirl1-15/+20
2004-09-12Make the comment match the codeJon Smirl1-1/+1
2004-09-12Fix DRM to compile cleanly with recent kernel changes in PCI IO andJon Smirl1-0/+15
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 Smirl1-1/+4
code Linux specific.
2004-09-08Update doxygen configuration file. Minor documentation updates/fixes.Jose Fonseca5-212/+319
2004-09-08Adjust permanent mapping code to account for more than one framebuffer mapJon Smirl1-9/+17
2004-09-05missed fix as part of last checkinDave Airlie1-2/+2
2004-09-05merge back bunch of whitespace and misc changes from kernelDave Airlie12-50/+43
2004-09-05bad code copy for alpha.. fix the member namesDave Airlie1-1/+1
2004-09-05make the AMD64 check a compat thingDave Airlie3-3/+8
2004-09-04Fixup OS_HAS_AGP/OS_HAS_MTRR along lines of patches going to kernel, asDave Airlie6-81/+119
suggested by Arjan.. Signed-off-by: Dave Airlie <airlied@linux.ie>
2004-09-04doh.. that makes no sense.. thinko in removal of OS_HAS_AGPDave Airlie1-1/+2
2004-09-02oops called ctor instead of dtor.. found this on the kernel mergeDave Airlie1-2/+2
2004-09-02Fix ref count problem in stealth mode. pci_get_subsys() with last parameterJon Smirl1-1/+0
set does the pci_dev_put for you.