Eric Anholt
40b70e3244
Use __LP64__ instead of checking the linux-specific BITS_PER_LONG.
2006-04-18 05:57:28 +00:00
Eric Anholt
63c4d02576
Revert a change that accidentally went in with whitespace changes from
...
Linux, which broke on FreeBSD. DRM_COPY_*_IOCTL checks for the size
parameter matching the ioctl's command size there, since the copin/out
happened earlier.
2006-04-09 20:10:32 +00:00
Eric Anholt
6cb366b5a8
Compile fixes for FreeBSD.
2006-04-08 09:45:43 +00:00
Dave Airlie
299aad03c2
coverity bugfix from the kernel
2006-04-05 08:34:24 +00:00
Dave Airlie
4f53bf3545
remove stupid init and exit flags..
2006-04-05 01:23:57 +00:00
Dave Airlie
ac5bd25208
make add context non master...
2006-04-03 08:06:51 +00:00
Dave Airlie
985738f203
radeon fix up the PCI ids for new memory map like the kernel one.. not
...
perfect but should be very safe... align some other kernel bits i810
align with kernel
2006-03-25 07:16:14 +00:00
Adam Jackson
9c92b55953
Bump driver date to reflect airlied's last fix.
2006-03-20 21:40:54 +00:00
Dave Airlie
6bb92ab086
fix issue in mga from kernel
2006-03-19 07:53:46 +00:00
Dave Airlie
8c8f937b3d
make some functions static in via driver
2006-03-19 07:52:53 +00:00
Roland Scheidegger
38376c7fa6
Add missing pci ids for new radeons (most but not all are pcie, r420,
...
rv380, rv410), with the exception of the rs400 igps. Hopefully they no
longer lock up with new ddx, but no guarantees... (bug #5413 )
2006-03-17 01:35:34 +00:00
Adam Jackson
14d1219442
Avoid walking off the end of the hash table. (Coverity report #465 )
2006-03-15 01:02:54 +00:00
Dave Airlie
ea40d3dd41
Fix bug I reintroduced
2006-03-08 23:01:32 +00:00
Dave Airlie
ef835973b2
fix some use before NULL check
2006-03-08 06:03:45 +00:00
Aapo Tahkola
4436ab86d8
ia64 support for r300_scratch. (not tested)
2006-03-07 01:08:35 +00:00
Aapo Tahkola
b3fdf9bb7a
Add general-purpose packet for manipulating scratch registers (r300)
2006-03-06 20:08:50 +00:00
Thomas Hellstrom
02f76f41b1
file xf86mm.c was initially added on branch drm-ttm-branch.
2006-03-01 22:22:25 +00:00
Thomas Hellstrom
0f13b3e1b1
file xf86mm.h was initially added on branch drm-ttm-branch.
2006-03-01 22:22:25 +00:00
Roland Scheidegger
06e8bd2a0d
Add all radeon pci ids known by ddx, but only r350/rv350 and below (new
...
chips may be problematic). Leave the existing entries for new chips in
though. Remove ids not known by ddx (secondary ids, non-existant,...).
Correct some entries (name/family). Make the radeon family enum look
more alike the ddx/dri versions. See #5413
2006-02-25 09:51:15 +00:00
Dave Airlie
9c0634bbad
set dma pages reserved
2006-02-21 11:10:05 +00:00
Dave Airlie
abd3904bf0
use coherent memory for PCI allocations with COMP flag
2006-02-21 10:28:47 +00:00
Adam Jackson
22e41ef083
Formatting cleanup, dead code removal. Remove N() namespacing macro,
...
useless. Remove SIGIO handling functions as they're server-only and
properly belong in libdri.
2006-02-20 23:09:00 +00:00
Dave Airlie
0a211db23c
experimental PCI DMA fixes use proper Linux interfaces
2006-02-19 12:08:14 +00:00
Dave Airlie
4c1c05ad96
missed a piece of benh patch
2006-02-19 12:06:27 +00:00
Dave Airlie
a25667894a
make some functions static from the kernel
2006-02-18 05:43:19 +00:00
Dave Airlie
d75fa645ed
fix brace placement
2006-02-18 05:30:03 +00:00
Dave Airlie
b2523e7aa1
always enable and set master on pci device
2006-02-18 04:18:45 +00:00
Dave Airlie
eb5666b089
clear i915 interrupts sources on server exit
2006-02-18 04:13:36 +00:00
Dave Airlie
7c18b2565e
add proper checking for bitblt multi
2006-02-18 03:21:29 +00:00
Dave Airlie
9fad101da9
add benh's memory management patch
2006-02-18 03:04:30 +00:00
Dave Airlie
08fafc424a
fix build wrong function call
2006-02-18 03:01:38 +00:00
Dave Airlie
4791dc8856
major realigment of DRM CVS with kernel code, makes integration much easier
2006-02-18 02:53:36 +00:00
Dave Airlie
585f34c3e5
fix card unload
2006-02-18 02:38:07 +00:00
Dave Airlie
ff9ecc09f9
Fixup test for memory at end of memory space
2006-02-18 02:34:53 +00:00
Thomas Hellstrom
659e9a091d
via: Change via_drm.h versioning scheme after lenghty discussion on
...
unichrome-users.
2006-02-17 17:25:41 +00:00
Thomas Hellstrom
75bf1c268f
file i915_ttm.c was initially added on branch drm-ttm-branch.
2006-02-17 16:54:37 +00:00
Keith Whitwell
292d4a5b28
Update the hardware breadcrumb in the sarea on irq reception so that
...
clients can avoid an ioctl waiting on fences that have already been
received. Would be even better if the hardware did the update itself.
2006-02-09 23:14:16 +00:00
Thomas Hellstrom
f99fc2c12d
file drm_mm.c was initially added on branch drm-ttm-branch.
2006-02-01 12:58:38 +00:00
Alan Hourihane
07e1126bde
add missing name, desc, date, major, minor and patchlevel entries
2006-01-26 12:14:09 +00:00
Alan Hourihane
1f0da9daca
fix an error message typo Unkown -> Unknown
2006-01-24 21:24:53 +00:00
Alan Hourihane
f19c9eecd1
other part of revert
2006-01-24 21:18:41 +00:00
Alan Hourihane
788750fc8c
put back some of Dave's code related to vblank support - accidentally
...
reverted.
2006-01-24 21:16:54 +00:00
Thomas Hellstrom
3e8918adc8
file Makefile.am was initially added on branch drm-ttm-branch.
2006-01-24 14:08:05 +00:00
Thomas Hellstrom
8a9ecf45fa
file drm_hashtab.c was initially added on branch drm-ttm-branch.
2006-01-24 11:20:05 +00:00
Alan Hourihane
270cffbe43
Fix CMDBUFFER path, add heap destroy and flesh out sarea for rotation
...
(Tungsten Graphics)
2006-01-23 10:05:22 +00:00
Aapo Tahkola
9a01593f1a
Add support for texture cache flushes (R300_TX_CNTL)
2006-01-20 21:45:28 +00:00
Aapo Tahkola
534bfb3742
Sync from r300_reg.h from Mesa.
2006-01-20 21:30:07 +00:00
Alan Hourihane
e9732865b7
add Intel i945GM support
2006-01-19 14:14:06 +00:00
Thomas Hellstrom
d394c9fa08
via: direction bug in get_user_pages call in via_dmablit.c fixed. Bumped
...
minor since this causes the via DDX to fail with vlc video player.
2006-01-12 19:08:16 +00:00
Thomas Hellstrom
2e0c281d1a
via: Version via_drm.h Alter the drm_via_dmablit_t IOCTL arg.
2006-01-06 11:57:40 +00:00