mesa-drm/shared-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.h wrap config.h include with defined for KERNEL 2005-05-15 10:19:21 +00:00
drm_pciids.txt Change the MGA initialization and cleanup a bit. The dev_private structure 2005-05-21 02:27:51 +00:00
drm_sarea.h Lindent of core build. Drivers checked for no binary diffs. A few files 2004-09-30 21:12:10 +00:00
i915_dma.c Fix copyrights 2005-06-06 09:18:44 +00:00
i915_drm.h Fix copyrights 2005-06-06 09:18:44 +00:00
i915_drv.h Fix copyrights 2005-06-06 09:18:44 +00:00
i915_irq.c Fix copyrights 2005-06-06 09:18:44 +00:00
i915_mem.c Fix copyrights 2005-06-06 09:18:44 +00:00
i915_pm.c Fix copyrights 2005-06-06 09:18:44 +00:00
imagine_drv.h Add skeletal imagine driver (but don't build it yet). 2005-03-29 01:47:38 +00:00
mach64_dma.c Convert BSD code to mostly use bus_dma, the dma abstraction for dealing 2005-04-26 05:19:11 +00:00
mach64_drm.h Lindent of core build. Drivers checked for no binary diffs. A few files 2004-09-30 21:12:10 +00:00
mach64_drv.h Convert BSD code to mostly use bus_dma, the dma abstraction for dealing 2005-04-26 05:19:11 +00:00
mach64_irq.c Lindent of core build. Drivers checked for no binary diffs. A few files 2004-09-30 21:12:10 +00:00
mach64_state.c Convert more drivers for bsd-core, moving the ioctl definitions to shared 2004-11-06 23:02:07 +00:00
mga_dma.c Completely re-initialize DMA settings 2005-06-09 21:18:56 +00:00
mga_drm.h Minor clean-ups. The drm_mga_fullscreen_t stuff has been dead for a looong 2005-06-03 22:53:32 +00:00
mga_drv.h Completely re-initialize DMA settings 2005-06-09 21:18:56 +00:00
mga_irq.c Completely re-initialize DMA settings 2005-06-09 21:18:56 +00:00
mga_state.c cleanup patch from Adrian Bunk <bunk@stusta.de> 2005-02-01 11:08:31 +00:00
mga_ucode.h Lindent of core build. Drivers checked for no binary diffs. A few files 2004-09-30 21:12:10 +00:00
mga_warp.c Refactor the routines for "calculating" the size of the WARP microcode. The 2005-05-22 04:36:33 +00:00
r128_cce.c cleanup patch from Adrian Bunk <bunk@stusta.de> 2005-02-01 11:08:31 +00:00
r128_drm.h Lindent of core build. Drivers checked for no binary diffs. A few files 2004-09-30 21:12:10 +00:00
r128_drv.h cleanup patch from Adrian Bunk <bunk@stusta.de> 2005-02-01 11:08:31 +00:00
r128_irq.c Lindent of core build. Drivers checked for no binary diffs. A few files 2004-09-30 21:12:10 +00:00
r128_state.c Declare r128_do_cleanup_pageflip static since it's only used here and its 2005-02-03 01:06:10 +00:00
radeon_cp.c Use msleep instead of tsleep to drop the DRM device lock and avoid a 2005-04-26 05:11:20 +00:00
radeon_drm.h add R200_EMIT_PP_TRI_PERF_CNTL packet to support brilinear filtering on 2005-03-15 22:12:30 +00:00
radeon_drv.h add radeon registers from VHA code these are the "unknown" registers 2005-05-27 07:23:44 +00:00
radeon_irq.c fix some issues with radeon interrupt handling 2005-06-06 11:35:43 +00:00
radeon_mem.c janitor-list_for_each-drivers-char-drm-radeon_memc.patch from mm kernel 2004-10-02 19:11:30 +00:00
radeon_state.c add R200_EMIT_PP_TRI_PERF_CNTL packet to support brilinear filtering on 2005-03-15 22:12:30 +00:00
savage_bci.c Remove warnings about code mixed with declerations.. 2005-06-04 06:14:58 +00:00
savage_drm.h Completeley rewritten Savage DRM which can be considered secure (modulo 2005-01-01 20:22:58 +00:00
savage_drv.h Command DMA optimizations: 2005-03-13 02:16:10 +00:00
savage_state.c Remove warnings about code mixed with declerations.. 2005-06-04 06:14:58 +00:00
sis_drm.h Lindent of core build. Drivers checked for no binary diffs. A few files 2004-09-30 21:12:10 +00:00
sis_drv.h cleanup patch from Adrian Bunk <bunk@stusta.de> 2005-02-01 11:08:31 +00:00
sis_ds.c cleanup patch from Adrian Bunk <bunk@stusta.de> 2005-02-01 11:08:31 +00:00
sis_ds.h cleanup patch from Adrian Bunk <bunk@stusta.de> 2005-02-01 11:08:31 +00:00
sis_mm.c minor pointer cast typo 2005-03-07 09:40:18 +00:00
tdfx_drv.h Lindent of core build. Drivers checked for no binary diffs. A few files 2004-09-30 21:12:10 +00:00
via_3d_reg.h VIA update: 2005-01-05 17:44:43 +00:00
via_dma.c VIA: Fix for oops when AGP ring-buffer initialization is called and there 2005-05-08 20:33:04 +00:00
via_drm.h Via updates: 2005-03-28 21:21:42 +00:00
via_drv.c Via updates: 2005-03-28 21:21:42 +00:00
via_drv.h VIA: 2005-05-23 20:56:54 +00:00
via_ds.c cleanup patch from Adrian Bunk <bunk@stusta.de> 2005-02-01 11:08:31 +00:00
via_ds.h VIA: 2005-05-23 20:56:54 +00:00
via_irq.c VIA: Interrupt handler bugfixes. Bumped patchlevel to 2.6.2. 2005-04-20 10:16:52 +00:00
via_map.c Via updates: 2005-03-28 21:21:42 +00:00
via_mm.c VIA: 2005-05-23 20:56:54 +00:00
via_mm.h VIA: 2005-05-23 20:56:54 +00:00
via_verifier.c VIA: 2005-04-18 08:26:00 +00:00
via_verifier.h via updates: moved the verifier state struct to dev_priv. Implemented AGP 2005-01-07 11:37:01 +00:00
via_video.c Missing file via_video.c commited. 2005-03-29 09:48:12 +00:00