Dave Airlie
6c8a3194f4
due to backways compat crap for IRQ_HANDLED etc.. this wouldn't build on
...
2.4
2005-01-13 01:26:16 +00:00
Keith Whitwell
ee57636763
Import Thomas' changes upto 2.4.3 to shared. Small tweak to install target.
2005-01-11 10:59:01 +00:00
Keith Whitwell
9904319b95
import Thomas' shared-core via changes up to 2.4.1
2005-01-11 10:42:52 +00:00
Alan Hourihane
fcece3cf34
Add i915GM support Add resume functionality (must be used with later DDX)
...
Bump to 1.2
2005-01-06 17:51:32 +00:00
Thomas Hellstrom
e19fa7ada1
VIA DRM: verifier: Added verbose palette error reporting, and support for
...
stipple palettes together with rudimentary checks for texture palette
sizes.
other: Bumped version patchlevel and driver date.
2004-12-31 11:44:27 +00:00
Thomas Hellstrom
590b230119
VIA DRM: Stability enhancements and cleanups in via_dma.c Added explicit
...
licence notice in via_dma.c
2004-12-31 11:27:57 +00:00
Thomas Hellstrom
02c35ec0a2
via DRM: Tightened the security for some functions of the
...
DRM_IOCTL_VIA_DMA_INIT IOCTL. Bumped patchlevel and driver date.
XFree86 bug: 2119
2004-12-21 17:13:22 +00:00
Keith Whitwell
47c178da08
Copy HC_ParaType_Auto change to shared-core. Bump version numbers and
...
dates.
2004-12-20 12:03:02 +00:00
Thomas Hellstrom
ae0db704b4
via changes: Fixed typecasting bug in via_dma.c, and possible short-circuit
...
bug in the cmdbuf_size ioctl. Modified ring-buffer jump code AGAIN, due
to new oddities discovered on the Unichrome Pro with faster processors.
Bumped patchlevel and driver date.
2004-12-19 19:13:47 +00:00
Keith Whitwell
eaaf0a5211
Add the 'Auto' pageflipping command to the verifier. I don't think any
...
verification is required for the arguments of this packet from a
security point of view.
2004-12-17 14:11:05 +00:00
Thomas Hellstrom
aff0a25485
VIA drm updates:
...
1. Improved security check of AGP texture adresses.
2. Hopefully last fix of ring-buffer jump oddities.
3. Added ioctl to check available space and command regulator lag in
ring-buffer. This is needed for 3D application responsiveness.
2004-12-13 13:53:12 +00:00
Roland Scheidegger
c4a87c6883
(Stephane Marchesin, me) add hyperz support to radeon drm. Only fast z
...
clear and z buffer compression are working correctly, hierarchical-z is
not.
2004-12-08 16:43:00 +00:00
Thomas Hellstrom
1fbfd9eb32
Security and optimization fixes for the via drm:
...
1. The command verifier was never initialized in the non-core source tree.
2. Check added that the AGP ring buffer has been initialized before
accepting command buffer.
3. Free space check in the AGP buffer is moved to after command
verification, which is more optimal in most cases.
2004-12-06 11:19:23 +00:00
Thomas Hellstrom
267e064527
Added 3D functionality to the via command verifier. Modified the via
...
ring-buffer code somewhat to workaround hardware problems. Bumped via
minor version number.
2004-12-03 23:03:36 +00:00
Dave Airlie
f197110e07
Make 1-bit fields be unsigned (no sign bit :). sparse complains about them:
...
drivers/char/drm/sis_ds.h:88:12: warning: dubious one-bit signed
bitfield drivers/char/drm/sis_ds.h:89:16: warning: dubious one-bit
signed bitfield
Signed-off-by: Randy Dunlap <rddunlap@osdl.org> Signed-off-by: Dave Airlie
<airlied@linux.ie>
2004-12-03 10:22:15 +00:00
Thomas Hellstrom
4f8fa60286
Reworked PCI MMIO command buffer parser, and imported code from the Mesa
...
driver. It can now handle the 3D OpenGL commands from the Mesa
unichrome driver.
Added vsync frequency detection support. This will be used in the future
for XvMC and better frame timing.
Bumped minor version number and driver date.
2004-11-27 22:55:31 +00:00
Roland Scheidegger
6483e7a1ac
add missing CHIP_RV350 to radeon_enums
2004-11-09 00:54:19 +00:00
Dave Airlie
c5bededa51
add some more r300 pci ids
2004-11-07 02:19:58 +00:00
Eric Anholt
c9202c8965
Commit WIP of BSD conversion to core model. Compiles for r128, radeon, but
...
doesn't run yet. Moves the ioctl definitions for these two drivers back
to the shared code -- they aren't OS-specific.
2004-11-06 01:41:47 +00:00
Thomas Hellstrom
f08a01c0e2
Fixed bug in via_dma.c. The code didn't check that the lock was held by the
...
caller. Just that it was held.
2004-11-03 13:37:37 +00:00
Thomas Hellstrom
9409d8231c
Reworked the jump-code in via_dma.c. The command regulator now seems to
...
pause correctly after a jump. Removed the debug message from within the
interrupt handler of via_irq.c
2004-11-01 20:48:49 +00:00
Keith Whitwell
08758b2fb7
correct historic mis-attribution of copyright
2004-11-01 10:52:18 +00:00
Thomas Hellstrom
8264e2c8aa
Some stabilizing work to the DMA ring-buffer code. Temporarily replaced the
...
rewind jump with a reinitialization. This makes the code stable on
CLE266 and KM400.
2004-10-30 13:01:48 +00:00
Dave Airlie
8d7e798d4c
Apply radeon r300 microcode patch to non-core
2004-10-23 06:25:56 +00:00
Ville Syrjala
d403173005
Fixed off by one errors in clipping.
2004-10-16 11:21:56 +00:00
Thomas Hellstrom
bbfe18e3bf
Via updates. Fixed unlikely but possible uint32_t overflow in ring-buffer
...
code. bumped patchlevel.
2004-10-12 18:46:26 +00:00
Dave Airlie
8727326371
cleanup VIA driver to look a bit like others before kernel merge
2004-10-09 12:42:52 +00:00
Dave Airlie
fec94a8274
Lindent the via stuff so I can include it in kernel
2004-10-09 11:12:24 +00:00
Thomas Hellstrom
d24194e904
Changed unsigned to uint32_t in some ioctl parameters. Introduced first
...
rudimentary command verifier for dma buffers. Changed the decoder futex
ioctl parameters. Bumped the via major version number.
2004-10-08 21:11:02 +00:00
Jon Smirl
9e421181dd
Fix the shared directory I accidentally stomped on
2004-09-27 20:14:31 +00:00
Jon Smirl
fa6b1d129e
First check in for DRM that splits core from personality modules
2004-09-27 19:51:38 +00:00
Jon Smirl
74f063fc9d
Create new linux-2.6 build. Move all gpl files into the 2.6 build. If you
...
edit files for 2.6 be sure and break the link to the 2.4 directory and
copy the cvs history.
2004-09-24 03:12:17 +00:00
Jon Smirl
c158a36c4c
1) switches from class_sysfs to drm sysfs implementation to allow
...
customization
2) compiles again on 2.4, but doesn't work
2004-09-23 05:39:15 +00:00
Felix Kuehling
af326f6f0c
Create permanent maps of framebuffer, aperture and MMIO registers. Added
...
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-22 22:51:18 +00:00
Jon Smirl
27fc998f7d
Remove hotplug reset support from DRM driver. This will be handled by the
...
VGA driver when it gets written.
2004-09-22 19:13:02 +00:00
Jon Smirl
6f31c42fe9
Remove size restriction on permanent addmap
2004-09-20 19:23:27 +00:00
Dave Airlie
5654880eee
remove HAVE_COUNTERS
2004-09-20 11:29:16 +00:00
Jon Smirl
0c6fb0fbe1
Add linux sysfs i2c support to radeon driver. This patch adds GPL licensed
...
files to the linux build but not to the BSD directories.
2004-09-17 04:02:28 +00:00
Jon Smirl
c7c9d3ef7b
Let's try adding the dyn-minor patch again. This patch will reuse minor
...
numbers if a card is hotplugged in/out instead of just having them
increase.
2004-09-16 18:42:03 +00:00
Jon Smirl
eeb0ef1a70
Back dyn-minor patch out for now. fops handling is broken on some cards
2004-09-15 17:44:30 +00:00
Jon Smirl
64ef12c55c
Dynamic device minor support. Minor device numbers will be reused if the
...
device is hotplugged in/out of the system
2004-09-15 00:20:21 +00:00
Jon Smirl
03c2e674e4
Add chip family names to the radeon driver
2004-09-14 03:59:25 +00:00
Jon Smirl
36050cc958
Fix DRM to compile cleanly with recent kernel changes in PCI IO and
...
DRM_COPY_FROM_USER. PCI IO changes in 2.6.9-rc1 bk currently.
2004-09-12 03:23:50 +00:00
Jon Smirl
e6d468ad7f
More general patch to mark resources in use by all DRM drivers. Makes the
...
code Linux specific.
2004-09-10 16:44:28 +00:00
Jose Fonseca
1fb27632c3
Update doxygen configuration file. Minor documentation updates/fixes.
2004-09-08 20:57:39 +00:00
Thomas Hellstrom
b0c73b7fcb
Added IOCTL for writing 2D DMA command buffers over PCI. Bumped minor
...
version number.
2004-09-07 16:48:44 +00:00
Dave Airlie
eeae6a0a38
merge back bunch of whitespace and misc changes from kernel
2004-09-05 10:54:59 +00:00
Dave Airlie
7809efc8c3
drm-memory patch, cleans up alloc/free and makes calloc look more libc like
2004-08-30 09:01:50 +00:00
Erdi Chen
08de6e5b04
Fix copy_from_user return value ignored warning at via_dma.c:168.
2004-08-30 04:58:24 +00:00
Dave Airlie
73e606753f
run i915 through lindent
2004-08-27 09:14:30 +00:00