Dave Airlie
727e88c4f4
the old init path needs to set WAGP_ENABLE by default
2005-10-20 01:54:38 +00:00
Ian Romanick
4b3ee6c50e
Doig a full clean up from mga_do_dma_bootstrap when
...
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-14 05:01:19 +00:00
Ian Romanick
1505e316af
Fixed a cut-and-paste bug that could cause an oops in mga_do_cleanup_dma
...
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-14 01:25:38 +00:00
Adam Jackson
725e329cb2
Better pkgconfig-fu: -ldrm in Libs:
2005-10-13 21:03:31 +00:00
Dave Airlie
0a24095cd6
Add X300 RV370
2005-10-13 11:21:31 +00:00
Ian Romanick
308b40ea09
The Linux 2.6.9 (and earlier) fops structure does not contain a
...
.compat_ioctl field. This change makes the DRM build on those kernels.
Signed-off-by: Ian Romanick <idr@us.ibm.com>
2005-10-11 17:34:49 +00:00
Adam Jackson
62a4673034
Skeleton nv drm driver, to enable DMA in EXA. (Lars Knoll, minor updates by
...
me)
2005-10-06 23:31:29 +00:00
Dave Airlie
908ad0ed96
remove version not used anymore
2005-10-06 23:08:58 +00:00
Dave Airlie
ace8b912fb
fix header this is now a c file
2005-09-30 09:09:03 +00:00
Dave Airlie
483dc9bb92
now I've lindented kernel it might be useful again
2005-09-30 07:10:16 +00:00
Dave Airlie
f42cdc8dcb
Add support to turn writeback off via radeon module option
2005-09-30 06:41:10 +00:00
Dave Airlie
6ff57e2d7c
fix pci overriding from userspace
2005-09-30 06:35:09 +00:00
Dave Airlie
856bdf0f67
fixup bens fix so it works..
2005-09-30 03:39:02 +00:00
Dave Airlie
68b4ad3cce
Add Bens fix for radeon maps on ppc
2005-09-30 03:14:18 +00:00
Thomas Hellstrom
9d24d951f7
via: fix stray error printout message.
2005-09-25 14:38:07 +00:00
Thomas Hellstrom
903e5701ff
Add the via PCI DMA blit code.
2005-09-25 12:54:12 +00:00
Dave Airlie
d4dec1db80
hopefully fix server recycling on PCIE
2005-09-25 08:54:31 +00:00
Dave Airlie
c1b7df95be
add __ATTR
2005-09-25 05:19:06 +00:00
Dave Airlie
3a0230ef9c
use linux kernel macros don't make our own
2005-09-25 03:09:51 +00:00
Dave Airlie
cd16d96856
remove pci_find_class use for alpha
2005-09-18 09:31:06 +00:00
Dave Airlie
f5c81b2620
compat for pci_pretty_name
2005-09-17 04:16:51 +00:00
Dave Airlie
acb6abcc6d
update autogen from xserver tree
2005-09-12 06:21:24 +00:00
Eric Anholt
4b2a94db46
Fix the spelling of DRM_AUTH so that the bsd core stuff builds again. Next
...
up is pcigart.
2005-09-12 05:35:51 +00:00
Dave Airlie
f1276d3b43
add some pci express chips
2005-09-12 04:37:52 +00:00
Dave Airlie
ba8f4fb778
make PCI Express work on 64-bit machines, thanks to Alex Deucher (agd5f)
2005-09-12 04:35:31 +00:00
Dave Airlie
3f6fcbc676
back out change as gart is now in framebuffer for PCIE
2005-09-11 09:58:19 +00:00
Dave Airlie
5565a00916
Add GART in FB support for ati pcigart, and PCIE support for r300
2005-09-11 08:51:23 +00:00
Dave Airlie
29326c1a89
fix makefile bug
2005-09-11 07:08:46 +00:00
Roland Scheidegger
53c8037786
Add support for GL_ATI_fragment_shader, new packets R200_EMIT_PP_AFS_0/1,
...
R200_EMIT_PP_TXCTLALL_0-5 (replaces R200_EMIT_PP_TXFILTER_0-5, 2 more
regs) and R200_EMIT_ATF_TFACTOR (replaces R200_EMIT_TFACTOR_0 (8 consts
instead of 6)
2005-09-09 22:35:49 +00:00
Vladimir Dergachev
c8b5a9f8cc
Add another R300 PCI id. Submitted by: Daniel Estévez
2005-09-09 12:53:44 +00:00
Dave Airlie
0d346a07a8
convert ioctl flags to use flags instead of separate ints
2005-09-03 03:27:14 +00:00
Dave Airlie
80ed93c7bf
check is the map containing the lock
2005-09-03 02:21:22 +00:00
Eric Anholt
22ec8ebb17
- Don't try to allocate mappings of less than a PAGE_SIZE in MGA DMA code.
...
- Comment out the "is this mapping/bufs in allocated AGP" bits in BSD
because they break mga (which uses AGP allocation that doesn't track
entries). It's not a security issue when we still have the related
ioctls marked root-only.
- Apply some power-of-two alignment restrictions to hopefully avoid some
panicing in bad cases of drm_pci_alloc() on FreeBSD.
- Add verbosity to some error handling that I found useful while debugging.
2005-08-26 23:27:19 +00:00
Eric Anholt
c425ad1a34
Previously, drm_get_resource_start() and drm_get_resource_len() would
...
allocate the resource RF_ACTIVE, pull out the appropriate value, and
return it. However, allocating large framebuffers RF_ACTIVE would run
the system out of KVA, and this also left open the possibility of the
resource getting moved after getting the offset. Instead, when either
of these are called, allocate the resource if it isn't allocated
already (non-RF_ACTIVE) and store it in the DRM device, to be cleaned
up on lastclose.
2005-08-26 20:56:11 +00:00
Eric Anholt
5105f9ea59
Fix a lack of parenthesis in macro usage that showed up with INVARIANTS
...
turned on, i.e. in a kernel build.
2005-08-26 19:07:03 +00:00
Eric Anholt
55bea952b3
[1] Fix BSD DRM for the nonroot changes. [2] Don't attempt to acquire the
...
DMA lock in a non-DMA driver, as it will be uninitialized.
Submitted by: [1] jkim (minor changes by me)
2005-08-26 00:16:01 +00:00
Eric Anholt
9942cad1f6
Add missing .cvsignore files for autotoolery.
2005-08-25 23:11:28 +00:00
Eric Anholt
7d5130d8fb
Include appropriate CFLAGS to find X headers, needed to build libdrm.
2005-08-25 02:59:21 +00:00
Dave Airlie
5a52e533e1
add options for x86_64 and amd will small letters
2005-08-23 04:10:50 +00:00
Alan Hourihane
1163975f09
remove the README in the linux-2.6 directory
2005-08-22 09:52:18 +00:00
Alan Hourihane
01e4364a8f
remove i915_pm code as it causes too many issues with current software
...
suspend, and the DDX driver re-inits the board successfully anyway.
2005-08-22 09:50:12 +00:00
Dave Airlie
54947504ac
allocating the PCIE table from GFP_DMA seems to stop it NMI'ing
2005-08-21 11:07:03 +00:00
Dave Airlie
e2dc70593f
We don't need to install all the internal headers files only drm.h and
...
*_drm.h have user space interfaces
2005-08-21 03:04:32 +00:00
Dave Airlie
5c4ce6d93c
add x86_64 to the list as well
2005-08-20 07:38:11 +00:00
Dave Airlie
d12768f79a
remove checks that make ppc64 not work properly... also fix ppc64 check..
...
we should be safe doing this..
2005-08-20 07:33:07 +00:00
Dave Airlie
2e9bd9ac18
add powerpc64 to the list of archs that this test doesn't make sense on
2005-08-20 07:12:45 +00:00
Adam Jackson
017174085f
Fix silly install issue by moving the header install rules for shared-core
...
into shared-core/Makefile.am. Bump to 1.0.3.
2005-08-20 03:32:09 +00:00
Adam Jackson
1abd165f5b
Add r300_reg.h. Bump to 1.0.2.
2005-08-19 20:14:10 +00:00
Dave Airlie
8ac2fcb193
add agp buffer token
2005-08-17 22:59:00 +00:00
Dave Airlie
7779659390
revert reversion of a part of a patch from Jon, that I did last night while
...
checking things in in my sleep
2005-08-17 10:48:38 +00:00