platform/upstream/libdrm.git
19 years agoFixed a bug that prevented the driver from ever emitting triangle strips or
Felix Kuehling [Sun, 16 Jan 2005 01:22:09 +0000 (01:22 +0000)]
Fixed a bug that prevented the driver from ever emitting triangle strips or
    fans. Bumped patchlevel and driver date.

19 years agoSetup MTRRs for frame buffer and aperture manually on Savage3D and
Felix Kuehling [Sat, 15 Jan 2005 16:55:01 +0000 (16:55 +0000)]
Setup MTRRs for frame buffer and aperture manually on Savage3D and
    Savage4-based cards. Automatic setup in drm_initmap doesn't work due to
    the weird alignment and size of the aperture.

19 years agodue to backways compat crap for IRQ_HANDLED etc.. this wouldn't build on
Dave Airlie [Thu, 13 Jan 2005 01:26:16 +0000 (01:26 +0000)]
due to backways compat crap for IRQ_HANDLED etc.. this wouldn't build on
    2.4

19 years agoUse virt_to_page instead of vmalloc_to_page in drm_do_vm_shm_nopage for
Felix Kuehling [Wed, 12 Jan 2005 16:07:49 +0000 (16:07 +0000)]
Use virt_to_page instead of vmalloc_to_page in drm_do_vm_shm_nopage for
    consistent pages allocated with drm_pci_alloc.

19 years agoImport Thomas' changes upto 2.4.3 to shared. Small tweak to install target.
Keith Whitwell [Tue, 11 Jan 2005 10:59:01 +0000 (10:59 +0000)]
Import Thomas' changes upto 2.4.3 to shared. Small tweak to install target.

19 years agoimport Thomas' shared-core via changes up to 2.4.1
Keith Whitwell [Tue, 11 Jan 2005 10:42:52 +0000 (10:42 +0000)]
import Thomas' shared-core via changes up to 2.4.1

19 years agoOnly try to find the agp_buffer_map if dma_type is AGP. This is all that's
Felix Kuehling [Mon, 10 Jan 2005 22:46:02 +0000 (22:46 +0000)]
Only try to find the agp_buffer_map if dma_type is AGP. This is all that's
    needed on the DRM side to support PCI Savages. Bumped patch level and
    driver date.

19 years agoImproved workaround for Savage3D DMA lockup to emit NOPs only before the
Felix Kuehling [Sun, 9 Jan 2005 19:49:21 +0000 (19:49 +0000)]
Improved workaround for Savage3D DMA lockup to emit NOPs only before the
    first indexed drawing command of a cmdbuf or if a wait command was
    emitted since the last indexed drawing command.

19 years agoAdjust 4 level page check for <= 2.6.10
Jon Smirl [Sun, 9 Jan 2005 17:30:44 +0000 (17:30 +0000)]
Adjust 4 level page check for <= 2.6.10

19 years agoFixed off-by-one error in savage_bci_wait_fifo_shadow.
Felix Kuehling [Sat, 8 Jan 2005 23:28:27 +0000 (23:28 +0000)]
Fixed off-by-one error in savage_bci_wait_fifo_shadow.

19 years agovia updates: moved the verifier state struct to dev_priv. Implemented AGP
Thomas Hellstrom [Fri, 7 Jan 2005 11:37:01 +0000 (11:37 +0000)]
via updates: moved the verifier state struct to dev_priv. Implemented AGP
    alignment check.

19 years agoUpdated via DRM with check for stray FIRE commands primitive list.
Thomas Hellstrom [Fri, 7 Jan 2005 08:21:29 +0000 (08:21 +0000)]
Updated via DRM with check for stray FIRE commands primitive list.

19 years agoAdd i915GM support Add resume functionality (must be used with later DDX)
Alan Hourihane [Thu, 6 Jan 2005 17:51:32 +0000 (17:51 +0000)]
Add i915GM support Add resume functionality (must be used with later DDX)
    Bump to 1.2

19 years agoAdjust drm-memory for 4 level page tables in 2.6.10 ifdef'd to use 3 levels
Jon Smirl [Thu, 6 Jan 2005 17:09:22 +0000 (17:09 +0000)]
Adjust drm-memory for 4 level page tables in 2.6.10 ifdef'd to use 3 levels
    in kernels older than 2.6.10

19 years agovia DRM: Updated the verifier to check the vertex lists more thorough. This
Thomas Hellstrom [Thu, 6 Jan 2005 15:53:38 +0000 (15:53 +0000)]
via DRM: Updated the verifier to check the vertex lists more thorough. This
    should hopefully stop it from getting out of sync.
The PCI command parser is still not updated.

19 years ago3D scissor regs are now managed by the DRM to iterate over clip rects
Felix Kuehling [Wed, 5 Jan 2005 23:45:42 +0000 (23:45 +0000)]
3D scissor regs are now managed by the DRM to iterate over clip rects
    passed to the cmdbuf ioctl (try xeyes on top of glxgears ;-)
Tightened the texture state check
Bumped Savage DRM version to 2.1.0 so that DRI driver can (theoretically)
    depend on the DRM to manage the scissor registers

19 years agoBumped driver date and minor version.
Thomas Hellstrom [Wed, 5 Jan 2005 17:46:34 +0000 (17:46 +0000)]
Bumped driver date and minor version.

19 years agoVIA update:
Thomas Hellstrom [Wed, 5 Jan 2005 17:44:43 +0000 (17:44 +0000)]
VIA update:
Release video futexes when context is destroyed (This was previously done
    by the X server).
Added New Unichrome Pro VIDEO DMA commands to the verifier.
Added Quiescent heavyweight lock mode.

19 years agoFixed the DMA buffer age test. Should fix occasional "soft" lockups. Bumped
Felix Kuehling [Wed, 5 Jan 2005 14:34:12 +0000 (14:34 +0000)]
Fixed the DMA buffer age test. Should fix occasional "soft" lockups. Bumped
    patch level and driver date.

19 years agoCompleteley rewritten Savage DRM which can be considered secure (modulo
Felix Kuehling [Sat, 1 Jan 2005 20:22:58 +0000 (20:22 +0000)]
Completeley rewritten Savage DRM which can be considered secure (modulo
    implementation errors). Direct hardware (MMIO, BCI) access is no longer
    needed in the Mesa driver. Bumped version to 2.0.0. Corresponding
    changes to the DDX and Mesa drivers are being committed.

19 years agoAdded a new DRM map type _DRM_CONSISTENT for consistent PCI memory. It uses
Felix Kuehling [Sat, 1 Jan 2005 20:03:15 +0000 (20:03 +0000)]
Added a new DRM map type _DRM_CONSISTENT for consistent PCI memory. It uses
    drm_pci_alloc/free for allocating/freeing the memory. Only implemented
    in the Linux DRM so far.

19 years agoi810/i830 bug with Jon's file operations changes
Dave Airlie [Sat, 1 Jan 2005 12:07:51 +0000 (12:07 +0000)]
i810/i830 bug with Jon's file operations changes

19 years agoVIA DRM: verifier: Added verbose palette error reporting, and support for
Thomas Hellstrom [Fri, 31 Dec 2004 11:44:27 +0000 (11:44 +0000)]
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.

19 years agoVIA DRM: Stability enhancements and cleanups in via_dma.c Added explicit
Thomas Hellstrom [Fri, 31 Dec 2004 11:27:57 +0000 (11:27 +0000)]
VIA DRM: Stability enhancements and cleanups in via_dma.c Added explicit
    licence notice in via_dma.c

19 years agovia DRM: Tightened the security for some functions of the
Thomas Hellstrom [Tue, 21 Dec 2004 17:13:22 +0000 (17:13 +0000)]
via DRM: Tightened the security for some functions of the
    DRM_IOCTL_VIA_DMA_INIT IOCTL. Bumped patchlevel and driver date.
XFree86 bug: 2119

19 years agoCopy HC_ParaType_Auto change to shared-core. Bump version numbers and
Keith Whitwell [Mon, 20 Dec 2004 12:03:02 +0000 (12:03 +0000)]
Copy HC_ParaType_Auto change to shared-core. Bump version numbers and
    dates.

19 years agoAdd a very simple install target. I expect there are more correct ways to
Keith Whitwell [Mon, 20 Dec 2004 11:57:10 +0000 (11:57 +0000)]
Add a very simple install target. I expect there are more correct ways to
    do this.

19 years agovia changes: Fixed typecasting bug in via_dma.c, and possible short-circuit
Thomas Hellstrom [Sun, 19 Dec 2004 19:13:47 +0000 (19:13 +0000)]
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.

19 years agoAdd the 'Auto' pageflipping command to the verifier. I don't think any
Keith Whitwell [Fri, 17 Dec 2004 14:11:05 +0000 (14:11 +0000)]
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.

19 years agodrm_pciids.h should only 'cleaned' when the shared/ directory exists. Which
Alan Hourihane [Thu, 16 Dec 2004 11:07:20 +0000 (11:07 +0000)]
drm_pciids.h should only 'cleaned' when the shared/ directory exists. Which
    the Makefile already knows about, but it was cleaning this file anyway.

19 years agoUse SYSCTL_ADD_OID macro instead of calling function directly.
Eric Anholt [Wed, 15 Dec 2004 03:34:09 +0000 (03:34 +0000)]
Use SYSCTL_ADD_OID macro instead of calling function directly.
Submitted by: reffie@FreeBSD.org

19 years agoVIA drm updates:
Thomas Hellstrom [Mon, 13 Dec 2004 13:53:12 +0000 (13:53 +0000)]
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.

19 years agoUse wbinvd macro instead of assembly for it,
Dave Airlie [Fri, 10 Dec 2004 11:53:24 +0000 (11:53 +0000)]
Use wbinvd macro instead of assembly for it,
From: Stefan Dirsch <sndirsch@suse.de> Signed-off-by: Dave Airlie
    <airlied@linux.ie>

19 years ago(Stephane Marchesin, me) add hyperz support to radeon drm. Only fast z
Roland Scheidegger [Wed, 8 Dec 2004 16:43:00 +0000 (16:43 +0000)]
(Stephane Marchesin, me) add hyperz support to radeon drm. Only fast z
    clear and z buffer compression are working correctly, hierarchical-z is
    not.

19 years agoPatch from Jon Smirl from Nov. 2nd that makes older X servers behave well
Thomas Hellstrom [Tue, 7 Dec 2004 12:18:47 +0000 (12:18 +0000)]
Patch from Jon Smirl from Nov. 2nd that makes older X servers behave well
    with linux-core. Without this, they will fail on their second
    invocation since the drm already has a busID assigned.
Submitted by: Jon Smirl

19 years agoFix up linux 2.4 series Makefiles for via_verifier.c
Thomas Hellstrom [Tue, 7 Dec 2004 12:09:11 +0000 (12:09 +0000)]
Fix up linux 2.4 series Makefiles for via_verifier.c

19 years agoSecurity and optimization fixes for the via drm:
Thomas Hellstrom [Mon, 6 Dec 2004 11:19:23 +0000 (11:19 +0000)]
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.

19 years agoAdded 3D functionality to the via command verifier. Modified the via
Thomas Hellstrom [Fri, 3 Dec 2004 23:03:36 +0000 (23:03 +0000)]
Added 3D functionality to the via command verifier. Modified the via
    ring-buffer code somewhat to workaround hardware problems. Bumped via
    minor version number.

19 years agoMake 1-bit fields be unsigned (no sign bit :). sparse complains about them:
Dave Airlie [Fri, 3 Dec 2004 10:22:15 +0000 (10:22 +0000)]
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>

19 years agoReworked PCI MMIO command buffer parser, and imported code from the Mesa
Thomas Hellstrom [Sat, 27 Nov 2004 22:55:31 +0000 (22:55 +0000)]
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.

19 years agopatch from bug 1803 - will try and push to kernel soon
Dave Airlie [Thu, 11 Nov 2004 11:09:11 +0000 (11:09 +0000)]
patch from bug 1803 - will try and push to kernel soon

19 years agoFix more build problems on linux-core
Jon Smirl [Tue, 9 Nov 2004 16:58:02 +0000 (16:58 +0000)]
Fix more build problems on linux-core

19 years agomake linux-core build again
Jon Smirl [Tue, 9 Nov 2004 03:36:06 +0000 (03:36 +0000)]
make linux-core build again

19 years agoadd missing CHIP_RV350 to radeon_enums
Roland Scheidegger [Tue, 9 Nov 2004 00:54:19 +0000 (00:54 +0000)]
add missing CHIP_RV350 to radeon_enums

19 years agoRefine the locking of the DRM. Most significant is covering the driver
Eric Anholt [Sun, 7 Nov 2004 04:11:15 +0000 (04:11 +0000)]
Refine the locking of the DRM. Most significant is covering the driver
    ioctls with dev_lock, which is a major step toward being able to remove
    Giant. Covers some new pieces (dev->unique*) in the core, and avoids
    one call down into system internals with the drm lock held, which is
    usually bad (FreeBSD LOR #23, #27).

19 years agoadd some more r300 pci ids
Dave Airlie [Sun, 7 Nov 2004 02:19:58 +0000 (02:19 +0000)]
add some more r300 pci ids

19 years agorespect cc and cflags
Dave Airlie [Sun, 7 Nov 2004 02:15:11 +0000 (02:15 +0000)]
respect cc and cflags

19 years agoDon't link in files which no longer exist.
Eric Anholt [Sun, 7 Nov 2004 00:30:15 +0000 (00:30 +0000)]
Don't link in files which no longer exist.

19 years agoNow that the memory debug code is gone, and all 3 BSDs have M_ZERO, stop
Eric Anholt [Sun, 7 Nov 2004 00:25:49 +0000 (00:25 +0000)]
Now that the memory debug code is gone, and all 3 BSDs have M_ZERO, stop
    using drm_alloc/drm_free in the core and instead use plain malloc/free.

19 years agoAdd the drm Makefile and update .cvsignores.
Eric Anholt [Sat, 6 Nov 2004 23:05:46 +0000 (23:05 +0000)]
Add the drm Makefile and update .cvsignores.

19 years agoConvert more drivers for bsd-core, moving the ioctl definitions to shared
Eric Anholt [Sat, 6 Nov 2004 23:02:07 +0000 (23:02 +0000)]
Convert more drivers for bsd-core, moving the ioctl definitions to shared
    code. Remove the "drv" from sisdrv, as it's unnecessary. Use the
    drm_pci functions in i915 instead of per-os implementations of the
    same. Avoid whitespace within fields in drm_pciids.txt (one of the r300
    definitions), since it breaks the bsd pciids script. Tested on sis,
    mga, r128. i915 needs more work.

19 years agoRemove some core stuff that ended up being unnecessary.
Eric Anholt [Sat, 6 Nov 2004 21:44:54 +0000 (21:44 +0000)]
Remove some core stuff that ended up being unnecessary.

19 years agoGet r128 basically working: Hook up the driver's dma ioctl, use the proper
Eric Anholt [Sat, 6 Nov 2004 21:18:49 +0000 (21:18 +0000)]
Get r128 basically working: Hook up the driver's dma ioctl, use the proper
    offset into the driver ioctl array, and don't make the ctx bitmap
    conditional.

19 years agoMove the lock/unlock ioctls to a more logical place, in drm_lock.c.
Eric Anholt [Sat, 6 Nov 2004 20:27:19 +0000 (20:27 +0000)]
Move the lock/unlock ioctls to a more logical place, in drm_lock.c.

19 years agoConnect up r128_ioctls in driver config.
Eric Anholt [Sat, 6 Nov 2004 20:21:55 +0000 (20:21 +0000)]
Connect up r128_ioctls in driver config.

19 years agoMove radeon i2c include to top of file
Jon Smirl [Sat, 6 Nov 2004 16:55:41 +0000 (16:55 +0000)]
Move radeon i2c include to top of file

19 years agoExport missing r128 ioctl symbol
Jon Smirl [Sat, 6 Nov 2004 16:51:36 +0000 (16:51 +0000)]
Export missing r128 ioctl symbol

19 years agoFix Linux build. Why won't this complile? extern int const foo; static
Jon Smirl [Sat, 6 Nov 2004 16:41:24 +0000 (16:41 +0000)]
Fix Linux build. Why won't this complile? extern int const foo; static
    struct drm_driver driver = { .var = foo }; error says foo is not
    constant

19 years agoHook the debug output up to a sysctl, so you can choose to enable at
Eric Anholt [Sat, 6 Nov 2004 11:50:08 +0000 (11:50 +0000)]
Hook the debug output up to a sysctl, so you can choose to enable at
    runtime.

19 years agoAdd file missed in last commit: Commit first pieces of port to OpenBSD,
Eric Anholt [Sat, 6 Nov 2004 11:19:38 +0000 (11:19 +0000)]
Add file missed in last commit: Commit first pieces of port to OpenBSD,
    done by Martin Lexa (martin at martinlexa dot cz). Now that we've got
    porting for all three major BSDs (and the fourth being very similar to
    FreeBSD), move the mostly-duplication drm_os_* files into drmP.h.
    Remove some cruft from linux heritage and from pieces of the DRM that
    have since been removed.
Note that things are still not quite working for even FreeBSD, but these
    are first steps at cleanup, and just a WIP checkpoint.

19 years agoCommit first pieces of port to OpenBSD, done by Martin Lexa (martin at
Eric Anholt [Sat, 6 Nov 2004 11:16:26 +0000 (11:16 +0000)]
Commit first pieces of port to OpenBSD, done by Martin Lexa (martin at
    martinlexa dot cz). Now that we've got porting for all three major BSDs
    (and the fourth being very similar to FreeBSD), move the
    mostly-duplication drm_os_* files into drmP.h. Remove some cruft from
    linux heritage and from pieces of the DRM that have since been removed.
Note that things are still not quite working for even FreeBSD, but these
    are first steps at cleanup, and just a WIP checkpoint.

19 years agoRemove the vestiges of the memory-debug code.
Eric Anholt [Sat, 6 Nov 2004 02:00:04 +0000 (02:00 +0000)]
Remove the vestiges of the memory-debug code.

19 years agoCommit WIP of BSD conversion to core model. Compiles for r128, radeon, but
Eric Anholt [Sat, 6 Nov 2004 01:41:47 +0000 (01:41 +0000)]
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.

19 years agoMove ati_pcigart shared routines into drm-core module
Jon Smirl [Fri, 5 Nov 2004 17:29:14 +0000 (17:29 +0000)]
Move ati_pcigart shared routines into drm-core module

19 years agoFixed bug in via_dma.c. The code didn't check that the lock was held by the
Thomas Hellstrom [Wed, 3 Nov 2004 13:37:37 +0000 (13:37 +0000)]
Fixed bug in via_dma.c. The code didn't check that the lock was held by the
    caller. Just that it was held.

19 years agoReworked the jump-code in via_dma.c. The command regulator now seems to
Thomas Hellstrom [Mon, 1 Nov 2004 20:48:49 +0000 (20:48 +0000)]
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

19 years agocorrect historic mis-attribution of copyright
Keith Whitwell [Mon, 1 Nov 2004 10:52:18 +0000 (10:52 +0000)]
correct historic mis-attribution of copyright

19 years agoAllow drivers to override reclaim_buffers in an OS-independent way by
Felix Kuehling [Sun, 31 Oct 2004 15:16:44 +0000 (15:16 +0000)]
Allow drivers to override reclaim_buffers in an OS-independent way by
    passing drm_device_t* as first parameter, like in the BSD version.

19 years agoSome stabilizing work to the DMA ring-buffer code. Temporarily replaced the
Thomas Hellstrom [Sat, 30 Oct 2004 13:01:48 +0000 (13:01 +0000)]
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.

19 years agoSwitch SPIN_LOCK_UNLOCKED to spin_lock_init()
Jon Smirl [Fri, 29 Oct 2004 17:09:54 +0000 (17:09 +0000)]
Switch SPIN_LOCK_UNLOCKED to spin_lock_init()

19 years agoAdd include of moduleparam.h
Jon Smirl [Fri, 29 Oct 2004 14:38:07 +0000 (14:38 +0000)]
Add include of moduleparam.h

19 years agoBreak poll() to make it match the Xserver's broken expectations.
Jon Smirl [Thu, 28 Oct 2004 15:52:31 +0000 (15:52 +0000)]
Break poll() to make it match the Xserver's broken expectations.

19 years agofix for 2.4 build
Dave Airlie [Thu, 28 Oct 2004 09:50:39 +0000 (09:50 +0000)]
fix for 2.4 build

19 years agoRound 2 of getting rid of inter_module_get()
Jon Smirl [Sat, 23 Oct 2004 18:12:34 +0000 (18:12 +0000)]
Round 2 of getting rid of inter_module_get()

19 years agoRevert symbol_get() changes from drm_drv
Jon Smirl [Sat, 23 Oct 2004 14:43:06 +0000 (14:43 +0000)]
Revert symbol_get() changes from drm_drv

19 years agofix inter module put/get
Dave Airlie [Sat, 23 Oct 2004 14:00:53 +0000 (14:00 +0000)]
fix inter module put/get

19 years agoactually 2.6.10 introduced pfn range so it should work now..
Dave Airlie [Sat, 23 Oct 2004 07:02:29 +0000 (07:02 +0000)]
actually 2.6.10 introduced pfn range so it should work now..

19 years agofix pfn vs page for older kernels (2.6.9-rc kernels many not work..)
Dave Airlie [Sat, 23 Oct 2004 06:59:15 +0000 (06:59 +0000)]
fix pfn vs page for older kernels (2.6.9-rc kernels many not work..)

19 years agoApply radeon r300 microcode patch to non-core
Dave Airlie [Sat, 23 Oct 2004 06:25:56 +0000 (06:25 +0000)]
Apply radeon r300 microcode patch to non-core

19 years agoPrepare to eliminate inter_module_get("agp")
Jon Smirl [Sat, 23 Oct 2004 04:21:27 +0000 (04:21 +0000)]
Prepare to eliminate inter_module_get("agp")

19 years agoBring in patch from kernel for remap_pfn_range
Jon Smirl [Fri, 22 Oct 2004 16:03:21 +0000 (16:03 +0000)]
Bring in patch from kernel for remap_pfn_range

19 years agoFix up the radeon i2c error handing
Jon Smirl [Thu, 21 Oct 2004 16:58:28 +0000 (16:58 +0000)]
Fix up the radeon i2c error handing

19 years agoDon't release an i2c channel that has not initialized correctly
Jon Smirl [Wed, 20 Oct 2004 16:23:42 +0000 (16:23 +0000)]
Don't release an i2c channel that has not initialized correctly

19 years agoSwitch linux-core from using dev->pdev->driver->name to
Jon Smirl [Wed, 20 Oct 2004 05:11:49 +0000 (05:11 +0000)]
Switch linux-core from using dev->pdev->driver->name to
    dev->driver->pci_driver.name. This avoids the stealth mode case where
    pdev is pointing to the wrong driver or no driver.

19 years agoFix dd vs di version typo in drm_setversion
Jon Smirl [Wed, 20 Oct 2004 04:41:38 +0000 (04:41 +0000)]
Fix dd vs di version typo in drm_setversion

19 years agoAdd a protective check against a possible buffer overflow
Jon Smirl [Tue, 19 Oct 2004 18:18:02 +0000 (18:18 +0000)]
Add a protective check against a possible buffer overflow

19 years agoFix missing I2C busses to be non-fatal error.
Jon Smirl [Tue, 19 Oct 2004 16:30:02 +0000 (16:30 +0000)]
Fix missing I2C busses to be non-fatal error.

19 years agodrm-core, Clean up bug error path on stealth mode exit
Jon Smirl [Tue, 19 Oct 2004 02:50:14 +0000 (02:50 +0000)]
drm-core, Clean up bug error path on stealth mode exit

19 years agoUpdate Doxygen configuration & comments.
Jose Fonseca [Mon, 18 Oct 2004 14:16:41 +0000 (14:16 +0000)]
Update Doxygen configuration & comments.

19 years agoFixed off by one errors in clipping.
Ville Syrjala [Sat, 16 Oct 2004 11:21:56 +0000 (11:21 +0000)]
Fixed off by one errors in clipping.

19 years agoFixed bad formatting.
Ville Syrjala [Sat, 16 Oct 2004 10:54:58 +0000 (10:54 +0000)]
Fixed bad formatting.

19 years agoRemove drm_init.c
Jon Smirl [Fri, 15 Oct 2004 20:37:01 +0000 (20:37 +0000)]
Remove drm_init.c

19 years agoMove drm_cpu_valid out of drm_init. drm_init is empty now.
Jon Smirl [Fri, 15 Oct 2004 20:36:15 +0000 (20:36 +0000)]
Move drm_cpu_valid out of drm_init. drm_init is empty now.

19 years agoSwitch linux-core over to 2.6 parameter model to enable debug use
Jon Smirl [Fri, 15 Oct 2004 02:59:35 +0000 (02:59 +0000)]
Switch linux-core over to 2.6 parameter model to enable debug use
    drm_debug=1

19 years agoAdd a poll function that alternates between zero and normal poll return to
Jon Smirl [Wed, 13 Oct 2004 16:40:53 +0000 (16:40 +0000)]
Add a poll function that alternates between zero and normal poll return to
    bring DRM into conformance with normal poll().

19 years agoVia updates. Fixed unlikely but possible uint32_t overflow in ring-buffer
Thomas Hellstrom [Tue, 12 Oct 2004 18:46:26 +0000 (18:46 +0000)]
Via updates. Fixed unlikely but possible uint32_t overflow in ring-buffer
    code. bumped patchlevel.

19 years agoBreakout heads into their own data structures.
Jon Smirl [Tue, 12 Oct 2004 03:59:17 +0000 (03:59 +0000)]
Breakout heads into their own data structures.

19 years agoRename fn_tbl to driver. Core driver now uses pci_driver name which
Jon Smirl [Sun, 10 Oct 2004 22:54:55 +0000 (22:54 +0000)]
Rename fn_tbl to driver. Core driver now uses pci_driver name which
    reflects the personality name.

19 years agoVladimir requested support so we can at least load r300 microcode for
Dave Airlie [Sun, 10 Oct 2004 05:52:19 +0000 (05:52 +0000)]
Vladimir requested support so we can at least load r300 microcode for
    helping
2D operations.
Ups radeon to version 1.12.0, Vladimir, you might want to add any extra
    pciids...
Approved-by: Dave Airlie <airlied@linux.ie>
19 years agoForgot to add the new Makefile
Jon Smirl [Sun, 10 Oct 2004 02:49:06 +0000 (02:49 +0000)]
Forgot to add the new Makefile