Commit Graph

7076 Commits (9d7024218f80c15465314eb9a07ffcffe5beae50)

Author SHA1 Message Date
Eric Anholt fabc64dd57 Port the SiS DRM to FreeBSD. This includes the ability for the DRM to
allocate framebuffer memory without sisfb, and a new ioctl to be used
    by the X Server which tells the DRM what region of framebuffer memory
    to allocate from. Also fixes a possibility to panic the kernel I
    believe. Tested on linux with sisfb and FreeBSD (without sisfb) with
    new DRI only.
2003-08-29 19:24:36 +00:00
Eric Anholt a7aebb6dac Add DRM(calloc), which is convenient, used by the new sis code, and takes
advantage of M_ZERO on BSDs.
2003-08-29 19:16:13 +00:00
Eric Anholt db78129116 Update radeon PCI IDs. 2003-08-29 19:08:06 +00:00
Eric Anholt bd3bc9f23d This PCI header has been living in dev/pci/ for a while now. 2003-08-29 19:07:27 +00:00
Michel Daenzer ba804e7864 Remove superfluous TLB flush 2003-08-28 12:14:17 +00:00
Michel Daenzer b83d2f909e Rename agp to gart for radeon 2003-08-26 16:49:33 +00:00
Michel Daenzer 062751ac47 Remove artificial PCI GART limitations, rename AGP to GART where
appropriate
2003-08-26 15:44:01 +00:00
Eric Anholt 963ad33cb6 Fix the debug build. 2003-08-19 02:22:57 +00:00
Eric Anholt 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.
2003-08-19 00:41:00 +00:00
Michel Daenzer 07a9b30082 Clean up Radeon DRI resume code 2003-08-18 23:46:19 +00:00
Eric Anholt 0f094c33da Make r128_do_wait_for_idle static, as it's only used in this file.
Noticed by: CScout
2003-08-18 23:42:16 +00:00
Eric Anholt 6298d1a1e0 Remove an unnecessary #define __NO_VERSION__
Noticed by: CScout
2003-08-18 23:41:05 +00:00
Michel Daenzer 9d7b01ebbe Merge from 2.6 kernel (Linus Torvalds) 2003-08-15 10:31:54 +00:00
Dave Airlie a073ff7dc7 DA: loads of whitespace .. some from Linus, some from me 2003-08-15 01:05:24 +00:00
Dave Airlie 428cbe0b91 DA: patch from Matthew upgraded to latest DRI head to solve issue with i810
compatibility
2003-08-13 23:35:40 +00:00
Eric Anholt 03e6674c13 Whitespace cleanup from the pageflipping commit. 2003-08-12 21:48:16 +00:00
Eric Anholt 4c9daf6847 Document change in interface version 1.9. 2003-08-12 21:47:34 +00:00
Eric Anholt fbdadde007 Document the changes in interface version 2.5. 2003-08-12 21:34:03 +00:00
Eric Anholt 02675a470e Merge from FreeBSD r1.11: We have memset in the kernel, no need to define
it to bzero (which it was always used for).
2003-08-12 21:18:05 +00:00
Dave Airlie 447d8c56bb DA: code cleanups for i810_dma.c from 2.4 kernel 2003-08-11 01:46:02 +00:00
Ian Romanick c99acb597f Added some information as to when (which DRM version) various queries were
added.
2003-08-08 21:06:44 +00:00
Michel Daenzer e7944efc45 build fix for kernels >= 2.6 2003-08-07 10:13:50 +00:00
Michel Daenzer da16867c84 Fix maplist entries being used after they were freed; thanks to Benjamin
Herrenschmidt for tracking this down
2003-08-06 11:46:21 +00:00
Michel Daenzer 4b60cae90e IRQ code cleanup suggested by Linus Torvalds
i830 build fix
2003-07-29 10:11:48 +00:00
Michel Daenzer c26ffeafca Degrade uninformative error message to debug message, as in other drivers 2003-07-26 15:59:09 +00:00
Eric Anholt aaf2105be9 Add 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.
2003-07-26 03:25:40 +00:00
Eric Anholt 983db58a26 Fix FreeBSD build after IRQ changes. 2003-07-26 03:18:34 +00:00
Michel Daenzer bef7017749 Compile fixes for recent 2.5/2.6 Linux kernels. I hope this doesn't break
the i830 driver or the BSDs. :)
2003-07-25 10:50:39 +00:00
Michel Daenzer 32ef0f59a8 Fail 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
2003-07-25 10:31:37 +00:00
Keith Whitwell 3669639b21 Restore __HAVE_KERNEL_CTX_SWITCH, required for the sparc drm module in the
kernel tree. Added comments to that effect.
2003-07-11 15:27:55 +00:00
Dave Airlie 1654bc5752 DA: fix for bug 484 in Bugzilla, originally from me, reworked by David
Dawes to avoid backword incompatibilities...
2003-07-09 23:21:15 +00:00
Jose Fonseca f4188a7518 file drm_mem.h was initially added on branch newdrm-0-0-1-branch. 2003-07-09 09:28:42 +00:00
Jose Fonseca 7dc959ed21 file drm_dma.c was initially added on branch newdrm-0-0-1-branch. 2003-07-09 09:26:17 +00:00
Jose Fonseca 49d152544e file drm_fops.c was initially added on branch newdrm-0-0-1-branch. 2003-07-09 09:26:17 +00:00
Jose Fonseca 6a0e485457 file drm_lock.c was initially added on branch newdrm-0-0-1-branch. 2003-07-09 09:26:17 +00:00
Jose Fonseca c7f9545482 file drm_stub.c was initially added on branch newdrm-0-0-1-branch. 2003-07-09 09:26:17 +00:00
Jose Fonseca cf6e7980c9 file drm_vm.c was initially added on branch newdrm-0-0-1-branch. 2003-07-09 09:26:17 +00:00
Keith Whitwell 2daf147652 Removed unused __HAVE_KERNEL_CTX_SWITCH, whatever that was. 2003-07-08 17:10:13 +00:00
Leif Delgass 39e1c534c0 Don'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.
2003-07-04 18:31:42 +00:00
Jose Fonseca 01d6ae90d6 file drm_agp.c was initially added on branch newdrm-0-0-1-branch. 2003-07-01 18:56:57 +00:00
Jose Fonseca a145363ee1 file drm_bufs.c was initially added on branch newdrm-0-0-1-branch. 2003-07-01 18:56:57 +00:00
Jose Fonseca 7c565e4961 file drm_mem.c was initially added on branch newdrm-0-0-1-branch. 2003-07-01 18:56:57 +00:00
Jose Fonseca 43d3934ac8 file drm_pci.c was initially added on branch newdrm-0-0-1-branch. 2003-07-01 18:56:57 +00:00
Jose Fonseca 8ec900afb4 file drm_sg.c was initially added on branch newdrm-0-0-1-branch. 2003-07-01 18:56:57 +00:00
Alan Hourihane 66d39b549e file savage_dma.c was initially added on branch savage-1_0_0-branch. 2003-06-23 16:34:14 +00:00
Alan Hourihane 5640adddc8 file savage_state.c was initially added on branch savage-1_0_0-branch. 2003-06-23 16:34:14 +00:00
Jose Fonseca 1b0eb5e356 file drm_pci_tmp.h was initially added on branch newdrm-0-0-1-branch. 2003-06-21 15:27:51 +00:00
Jose Fonseca dab537cbb1 file drm_stub_tmp.h was initially added on branch newdrm-0-0-1-branch. 2003-06-21 14:01:43 +00:00
Jose Fonseca b568f83849 file drm_memory_tmp.h was initially added on branch newdrm-0-0-1-branch. 2003-06-21 13:18:47 +00:00
Jose Fonseca 7014016e08 file drm_vm_tmp.h was initially added on branch newdrm-0-0-1-branch. 2003-06-21 13:09:08 +00:00