drm/bsd-core
Ian Romanick dfc650bd80 Completely re-initialize DMA settings
There were two problems. First, the 'warp' and 'primary' pointers weren't
    cleared, so mga_do_cleanup_dma, which gets called multiple times, would
    try to ioremapfree them multiple times. This resulted in the new error
    messages to syslog. The second problem was the, since the dev_private
    structure isn't reallocated and cleaned out in mga_do_init_dma, when
    the server is reloaded idle-waits would wait for impossible values.
I have given this patch some more riggorous testing. This includes:
- Load module, start server, run GL app, stop server, unload module.
- Load module, start server, run GL app, stop server, unload module, reload
    module, restart server, run GL app.
- Load module, start server, run GL app, stop server, restart server, run
    GL app, stop server, unload module.
In all three cases, everything worked as expected. Please let me know if
    there are any further regressions with this patch.
Xorg bug: 3408 Reported by: Chris Rankin
2005-06-09 21:18:56 +00:00
..
drm Convert NOMAN to the new preferred spelling NO_MAN to quiet warnings. 2005-04-26 15:27:58 +00:00
i915 Convert NOMAN to the new preferred spelling NO_MAN to quiet warnings. 2005-04-26 15:27:58 +00:00
mach64 Convert NOMAN to the new preferred spelling NO_MAN to quiet warnings. 2005-04-26 15:27:58 +00:00
mga Convert NOMAN to the new preferred spelling NO_MAN to quiet warnings. 2005-04-26 15:27:58 +00:00
r128 Convert NOMAN to the new preferred spelling NO_MAN to quiet warnings. 2005-04-26 15:27:58 +00:00
radeon Convert NOMAN to the new preferred spelling NO_MAN to quiet warnings. 2005-04-26 15:27:58 +00:00
savage Convert NOMAN to the new preferred spelling NO_MAN to quiet warnings. 2005-04-26 15:27:58 +00:00
sis Convert NOMAN to the new preferred spelling NO_MAN to quiet warnings. 2005-04-26 15:27:58 +00:00
tdfx Convert NOMAN to the new preferred spelling NO_MAN to quiet warnings. 2005-04-26 15:27:58 +00:00
.cvsignore Add the drm Makefile and update .cvsignores. 2004-11-06 23:05:46 +00:00
Makefile Don't link in files which no longer exist. 2004-11-07 00:30:15 +00:00
ati_pcigart.c Convert BSD code to mostly use bus_dma, the dma abstraction for dealing 2005-04-26 05:19:11 +00:00
drmP.h Add a few more bits of Tonnerre's NetBSD port (Still need to deal with the 2005-06-06 06:45:41 +00:00
drm_agpsupport.c Modify drm_driver::device_is_agp to return a tri-state value to indicate 2005-05-27 23:42:11 +00:00
drm_atomic.h Use /*- to begin license blocks in BSD code to reduce diffs against FreeBSD 2005-04-16 03:02:52 +00:00
drm_auth.c Use /*- to begin license blocks in BSD code to reduce diffs against FreeBSD 2005-04-16 03:02:52 +00:00
drm_bufs.c Add a few more bits of Tonnerre's NetBSD port (Still need to deal with the 2005-06-06 06:45:41 +00:00
drm_context.c Use /*- to begin license blocks in BSD code to reduce diffs against FreeBSD 2005-04-16 03:02:52 +00:00
drm_dma.c Convert BSD code to mostly use bus_dma, the dma abstraction for dealing 2005-04-26 05:19:11 +00:00
drm_drawable.c Use /*- to begin license blocks in BSD code to reduce diffs against FreeBSD 2005-04-16 03:02:52 +00:00
drm_drv.c Add a few more bits of Tonnerre's NetBSD port (Still need to deal with the 2005-06-06 06:45:41 +00:00
drm_fops.c Use /*- to begin license blocks in BSD code to reduce diffs against FreeBSD 2005-04-16 03:02:52 +00:00
drm_ioctl.c Use /*- to begin license blocks in BSD code to reduce diffs against FreeBSD 2005-04-16 03:02:52 +00:00
drm_irq.c Add a few more bits of Tonnerre's NetBSD port (Still need to deal with the 2005-06-06 06:45:41 +00:00
drm_linux_list.h Use /*- to begin license blocks in BSD code to reduce diffs against FreeBSD 2005-04-16 03:02:52 +00:00
drm_lock.c Use /*- to begin license blocks in BSD code to reduce diffs against FreeBSD 2005-04-16 03:02:52 +00:00
drm_memory.c Use /*- to begin license blocks in BSD code to reduce diffs against FreeBSD 2005-04-16 03:02:52 +00:00
drm_pci.c Convert BSD code to mostly use bus_dma, the dma abstraction for dealing 2005-04-26 05:19:11 +00:00
drm_scatter.c Convert BSD code to mostly use bus_dma, the dma abstraction for dealing 2005-04-26 05:19:11 +00:00
drm_sysctl.c Use /*- to begin license blocks in BSD code to reduce diffs against FreeBSD 2005-04-16 03:02:52 +00:00
drm_vm.c Use /*- to begin license blocks in BSD code to reduce diffs against FreeBSD 2005-04-16 03:02:52 +00:00
i915_drv.c Modify drm_driver::device_is_agp to return a tri-state value to indicate 2005-05-27 23:42:11 +00:00
mach64_drv.c Use /*- to begin license blocks in BSD code to reduce diffs against FreeBSD 2005-04-16 03:02:52 +00:00
mga_drv.c Completely re-initialize DMA settings 2005-06-09 21:18:56 +00:00
r128_drv.c Add a few more bits of Tonnerre's NetBSD port (Still need to deal with the 2005-06-06 06:45:41 +00:00
radeon_drv.c Add a few more bits of Tonnerre's NetBSD port (Still need to deal with the 2005-06-06 06:45:41 +00:00
savage_drv.c Use /*- to begin license blocks in BSD code to reduce diffs against FreeBSD 2005-04-16 03:02:52 +00:00
sis_drv.c Add a few more bits of Tonnerre's NetBSD port (Still need to deal with the 2005-06-06 06:45:41 +00:00
tdfx_drv.c Add a few more bits of Tonnerre's NetBSD port (Still need to deal with the 2005-06-06 06:45:41 +00:00