963ad33cb6Fix the debug build.
Eric Anholt
2003-08-19 02:22:57 +0000
ad78a613a4- Remove $FreeBSD$ tags as they weren't too useful and merges are now being done through perforce. - Add copyright headers to drm_os_*bsd.h, still need to research the other copyright-less files better.
Eric Anholt
2003-08-19 00:41:00 +0000
07a9b30082Clean up Radeon DRI resume code
Michel Daenzer
2003-08-18 23:46:19 +0000
0f094c33daMake r128_do_wait_for_idle static, as it's only used in this file. Noticed by: CScout
Eric Anholt
2003-08-18 23:42:16 +0000
6298d1a1e0Remove an unnecessary #define __NO_VERSION__ Noticed by: CScout
Eric Anholt
2003-08-18 23:41:05 +0000
9d7b01ebbeMerge from 2.6 kernel (Linus Torvalds)
Michel Daenzer
2003-08-15 10:31:54 +0000
a073ff7dc7DA: loads of whitespace .. some from Linus, some from me
Dave Airlie
2003-08-15 01:05:24 +0000
428cbe0b91DA: patch from Matthew upgraded to latest DRI head to solve issue with i810 compatibility
Dave Airlie
2003-08-13 23:35:40 +0000
03e6674c13Whitespace cleanup from the pageflipping commit.
Eric Anholt
2003-08-12 21:48:16 +0000
4c9daf6847Document change in interface version 1.9.
Eric Anholt
2003-08-12 21:47:34 +0000
fbdadde007Document the changes in interface version 2.5.
Eric Anholt
2003-08-12 21:34:03 +0000
02675a470eMerge from FreeBSD r1.11: We have memset in the kernel, no need to define it to bzero (which it was always used for).
Eric Anholt
2003-08-12 21:18:05 +0000
447d8c56bbDA: code cleanups for i810_dma.c from 2.4 kernel
Dave Airlie
2003-08-11 01:46:02 +0000
c99acb597fAdded some information as to when (which DRM version) various queries were added.
Ian Romanick
2003-08-08 21:06:44 +0000
e7944efc45build fix for kernels >= 2.6
Michel Daenzer
2003-08-07 10:13:50 +0000
da16867c84Fix maplist entries being used after they were freed; thanks to Benjamin Herrenschmidt for tracking this down
Michel Daenzer
2003-08-06 11:46:21 +0000
4b60cae90eIRQ code cleanup suggested by Linus Torvalds i830 build fix
Michel Daenzer
2003-07-29 10:11:48 +0000
c26ffeafcaDegrade uninformative error message to debug message, as in other drivers
Michel Daenzer
2003-07-26 15:59:09 +0000
aaf2105be9Add Rage 128 pageflipping support, defaults to off. DRM version bump to 2.5.0. It still has some issues, including a flicker in the fps meter in tuxracer and I've seen garbage left behind after moving/closing windows. However, it's usable. Add the Option "EnablePageFlip" "YES" to use it.
Eric Anholt
2003-07-26 03:25:40 +0000
983db58a26Fix FreeBSD build after IRQ changes.
Eric Anholt
2003-07-26 03:18:34 +0000
bef7017749Compile fixes for recent 2.5/2.6 Linux kernels. I hope this doesn't break the i830 driver or the BSDs. :)
Michel Daenzer
2003-07-25 10:50:39 +0000
32ef0f59a8Fail in DRM(agp_acquire) if the AGP aperture can't be used, such that the X server falls back to PCI GART or disables the DRI gracefully
Michel Daenzer
2003-07-25 10:31:37 +0000
3669639b21Restore __HAVE_KERNEL_CTX_SWITCH, required for the sparc drm module in the kernel tree. Added comments to that effect.
Keith Whitwell
2003-07-11 15:27:55 +0000
1654bc5752DA: fix for bug 484 in Bugzilla, originally from me, reworked by David Dawes to avoid backword incompatibilities...
Dave Airlie
2003-07-09 23:21:15 +0000
f4188a7518file drm_mem.h was initially added on branch newdrm-0-0-1-branch.
Jose Fonseca
2003-07-09 09:28:42 +0000
7dc959ed21file drm_dma.c was initially added on branch newdrm-0-0-1-branch.
Jose Fonseca
2003-07-09 09:26:17 +0000
49d152544efile drm_fops.c was initially added on branch newdrm-0-0-1-branch.
Jose Fonseca
2003-07-09 09:26:17 +0000
6a0e485457file drm_lock.c was initially added on branch newdrm-0-0-1-branch.
Jose Fonseca
2003-07-09 09:26:17 +0000
c7f9545482file drm_stub.c was initially added on branch newdrm-0-0-1-branch.
Jose Fonseca
2003-07-09 09:26:17 +0000
cf6e7980c9file drm_vm.c was initially added on branch newdrm-0-0-1-branch.
Jose Fonseca
2003-07-09 09:26:17 +0000
2daf147652Removed unused __HAVE_KERNEL_CTX_SWITCH, whatever that was.
Keith Whitwell
2003-07-08 17:10:13 +0000
39e1c534c0Don't need to include linux/wrapper.h - we only use Set/ClearPageReserved from linux/mm.h now and wrapper.h has been removed in 2.5.69 and later.
Leif Delgass
2003-07-04 18:31:42 +0000
01d6ae90d6file drm_agp.c was initially added on branch newdrm-0-0-1-branch.
Jose Fonseca
2003-07-01 18:56:57 +0000
a145363ee1file drm_bufs.c was initially added on branch newdrm-0-0-1-branch.
Jose Fonseca
2003-07-01 18:56:57 +0000
7c565e4961file drm_mem.c was initially added on branch newdrm-0-0-1-branch.
Jose Fonseca
2003-07-01 18:56:57 +0000
43d3934ac8file drm_pci.c was initially added on branch newdrm-0-0-1-branch.
Jose Fonseca
2003-07-01 18:56:57 +0000
8ec900afb4file drm_sg.c was initially added on branch newdrm-0-0-1-branch.
Jose Fonseca
2003-07-01 18:56:57 +0000
66d39b549efile savage_dma.c was initially added on branch savage-1_0_0-branch.
Alan Hourihane
2003-06-23 16:34:14 +0000
5640adddc8file savage_state.c was initially added on branch savage-1_0_0-branch.
Alan Hourihane
2003-06-23 16:34:14 +0000
1b0eb5e356file drm_pci_tmp.h was initially added on branch newdrm-0-0-1-branch.
Jose Fonseca
2003-06-21 15:27:51 +0000
dab537cbb1file drm_stub_tmp.h was initially added on branch newdrm-0-0-1-branch.
Jose Fonseca
2003-06-21 14:01:43 +0000
b568f83849file drm_memory_tmp.h was initially added on branch newdrm-0-0-1-branch.
Jose Fonseca
2003-06-21 13:18:47 +0000
7014016e08file drm_vm_tmp.h was initially added on branch newdrm-0-0-1-branch.
Jose Fonseca
2003-06-21 13:09:08 +0000
b816fa625ffile drm_dma_tmp.h was initially added on branch newdrm-0-0-1-branch.
Jose Fonseca
2003-06-21 12:49:34 +0000
d64200e830file drm_lock_tmp.h was initially added on branch newdrm-0-0-1-branch.
Jose Fonseca
2003-06-21 12:27:27 +0000
e7334f927ffile drm_bufs_tmp.h was initially added on branch newdrm-0-0-1-branch.
Jose Fonseca
2003-06-19 00:14:25 +0000
93522f6d3aRevert the janitorial - that works is now on the new branch newdrm-0-0-1-branch.
Jose Fonseca
2003-06-19 00:09:52 +0000
0a995b624dfile i830_compat.c was initially added on branch i865-agp-0-1-branch.
Keith Whitwell
2003-06-18 15:07:31 +0000
22e5f8d765file i830.h was initially added on branch i865-agp-0-1-branch.
Keith Whitwell
2003-06-18 15:07:31 +0000
2efebc956cfile i830_dma.c was initially added on branch i865-agp-0-1-branch.
Keith Whitwell
2003-06-18 15:07:31 +0000
a9611f0903file i830_drm.h was initially added on branch i865-agp-0-1-branch.
Keith Whitwell
2003-06-18 15:07:31 +0000
900bd6e437file i830_drv.c was initially added on branch i865-agp-0-1-branch.
Keith Whitwell
2003-06-18 15:07:31 +0000
cf840e71f2file i830_drv.h was initially added on branch i865-agp-0-1-branch.
Keith Whitwell
2003-06-18 15:07:31 +0000
4d0e244f8ffile i830_irq.c was initially added on branch i865-agp-0-1-branch.
Keith Whitwell
2003-06-18 15:07:31 +0000
fbde3dc0e6file i830_mem.c was initially added on branch i865-agp-0-1-branch.
Keith Whitwell
2003-06-18 15:07:31 +0000
9e7d6177d1Possibly fix stanford checker complaints about sarea
Keith Whitwell
2003-06-16 10:40:52 +0000
fdf320a1b8Move the linux AGP includes into drm_agp.h and only define the AGP data structures if AGP support is enabled in the kernel (__REALLY_HAVE_AGP). This fixes the compile errors on kernels without AGP support.
Jose Fonseca
2003-06-14 15:18:49 +0000
0b01c70d59Texture rectangle support for r100
Keith Whitwell
2003-06-10 18:54:17 +0000
98840144b1Revert bogus last commit
Keith Whitwell
2003-06-09 23:12:33 +0000
1062b9930fDon't activate blend fallbacks unless blending is enabled
Keith Whitwell
2003-06-09 23:11:23 +0000
1a2bb43329Verify 'drm_agp' is not NULL for all its wrappers - this causes no overhead and must be done if in future a driver tries to talk to the AGP directly from kernelspace instead of userspace, and the AGP is not present.
Jose Fonseca
2003-06-07 12:45:55 +0000
e3a149f080Check that the AGPGART "drm_agp" symbol pointer is valid before initializing the DRM device - this was causing a kernel oops when the AGPGART module wasn't loaded.
Jose Fonseca
2003-06-07 12:30:22 +0000
f723f743c5fix pitch compile error
Dave Airlie
2003-06-07 01:44:15 +0000
8eaa2d2450add page flipping support to the DRM, up version number to 1.3.0...
Dave Airlie
2003-06-05 23:31:40 +0000
8e7cd92f35Added the Doxygen configuration file. Minor documentation fixes.
Jose Fonseca
2003-06-03 23:50:23 +0000
6611a5fb7fSplit declarations/definitions in drm_scatter.h into drm_sg.h/drm_sg_tmp.h respectively. Splited the work out of the ioctls and renamed (with the _ioctl prefix). Added some more documentation. Did the same for drm_sgpsupport.h.
Jose Fonseca
2003-06-03 23:27:01 +0000
a709d4c97cfile i830_mem.c was initially added on branch i865-agp-0-1-branch.
Keith Whitwell
2003-06-03 11:23:58 +0000
8946394758file i830_compat.c was initially added on branch i865-agp-0-1-branch.
Keith Whitwell
2003-05-30 12:07:45 +0000
518db771deRestore change to _DRM_VBLANK_SIGNAL from rev. 1.41, which was reverted with the documentation merge.
Leif Delgass
2003-05-28 02:03:37 +0000
d2443b2186Merged DRM documentation.
Jose Fonseca
2003-05-27 00:37:33 +0000
aeb4bc3f5bAdd support to r128 for MESA_ycbcr_texture (Ian Romanick, Leif Delgass)
Leif Delgass
2003-05-26 20:04:53 +0000
c0efa1a777DRM part of Radeon DRI suspend/resume support (Charl Botha).
David Dawes
2003-05-20 22:43:39 +0000
2134577e31Support for building DRM module on OpenBSD (Wilbern Cobb, Matthieu Herrb). (resync with XFree86 trunk)
David Dawes
2003-05-20 22:42:24 +0000
b942999b59do allow reading from read only mappings...
Michel Daenzer
2003-05-17 00:37:34 +0000
e5d3c7f260Support AGP bridges where the AGP aperture can't be accessed directly by the CPU (David Mosberger, Benjamin Herrenschmidt, myself, Paul Mackerras, Jeff Wiedemeier)
Michel Daenzer
2003-05-16 23:41:27 +0000
1d5bf7a7defix warning on machines where sizeof(drm_addr_t) != 4 (Randy Dunlap)
Michel Daenzer
2003-05-06 21:10:33 +0000
285b1cdc39Merged texmem-0-0-1
Ian Romanick
2003-04-30 01:51:00 +0000
87ed795ff3Fix a typo: On takedown the mtrr operation is MEMRANGE_SET_REMOVE, not _UPDATE.
Eric Anholt
2003-04-28 23:18:43 +0000
5f1e2399ebRestore Eric Anholt's DRM_*MEMORYBARRIER changes from rev 1.11
Leif Delgass
2003-04-28 17:49:26 +0000
a57d320461Only free original pagelist in addbufs_pci if one already exists (fixes oops).
Leif Delgass
2003-04-28 16:20:31 +0000
6eb5364eb8DRM_READ/WRITEMEMORYBARRIER was given an argument in the bsd tree, fix for linux
Alan Hourihane
2003-04-28 15:29:46 +0000
c584292e30Put back __HAVE_KERNEL_CTX_SWITCH for David Miller's sparc drm driver (which doesn't live in our cvs).
Keith Whitwell
2003-04-27 09:53:58 +0000
22b9b720d5Use real endian conversion functions.
Eric Anholt
2003-04-27 00:43:14 +0000
9828bd24c8Fix formatting of hw.dri sysctl.
Eric Anholt
2003-04-26 23:55:30 +0000
766a1da2e5Remove the map argument from DRM_*MEMORYBARRIER. Not all of the uses of DRM_*MEMORYBARRIER we had were related to an MMIO space. This means arch-specific code on the BSDs, unfortunately. Also add DRM_MEMORYBARRIER() and change the DRM_READMEMORYBARRIER()s that used to be read/write barriers to it.
Eric Anholt
2003-04-26 23:32:00 +0000
a172ee2a18MFL: Don't install irq handler unless the driver has been initialized.
Eric Anholt
2003-04-26 23:04:22 +0000
ce514e08aaAdd PCI DMA memory functions and make addbufs_pci and associated code use it. To do this we need to save the bus address along with the virtual address in the seglist. Also fix some error handling and a few bits of whitespace.
Eric Anholt
2003-04-26 22:52:39 +0000
f2a0c5438dEnsure driver has been initialized (dev_private != NULL) before installing irq handler in DRM(irq_install). Modify all drivers to ensure irq handler is removed before cleanup and cleanup is called at takedown. Remove unused buffer private struct fields in i810, i830. Check for lock on init/cleanup in all drivers except i810/i830. The current DDX for i810 and i830 doesn't hold the lock on kernel init (FIXME?).
Leif Delgass
2003-04-26 22:28:56 +0000
a79adaab72Missed files in the last commit: Remove memory debugging sysctl unless MEMORY_DEBUG is set.
Eric Anholt
2003-04-26 22:21:37 +0000
8621ae310bMove the memory functions with debugging info to drm_memory_debug.h, and remove a couple of dead functions.
Eric Anholt
2003-04-26 22:18:39 +0000
79a0c5757eRemove #if 0'ed code.
Eric Anholt
2003-04-26 21:57:43 +0000
f5844cea132.5.x sync patch from Linus Torvalds
Keith Whitwell
2003-04-26 21:33:44 +0000
2c40a56393move prototypes for gamma functions to gamma_drv.h
Keith Whitwell
2003-04-26 21:22:08 +0000
2142b7840aRemove #if 0'd code
Keith Whitwell
2003-04-26 21:21:36 +0000
e60eb69bc0Replace the C atomic_cmpset_int compatibility function for -stable with the real i386 atomic_cmpset_int from -current. FreeBSD-stable won't ever have DRM support for non-i386.
Eric Anholt
2003-04-26 06:53:22 +0000
acb5d6b273Disable MTRRs on FreeBSD-stable. Without this, it hangs on boot in the MTRR setting for AGP cards on SMP machines.
Eric Anholt
2003-04-26 06:39:55 +0000
cb32dde3beFix potential oops and memory leaks when allocations fail in addbufs_agp/pci. Add support for buffer private structs with PCI DMA buffers. Also some debug format string fixes.
Leif Delgass
2003-04-25 19:42:47 +0000
77ee73f8cdMerge from FreeBSD-current.
Eric Anholt
2003-04-25 02:27:21 +0000