linux/drivers/gpu/drm/mga
Dave Airlie 466e69b8b0 drm: move pci bus master enable into driver.
The current enabling of bus mastering in the drm midlayer allows a large
race condition under kexec. When a kexec'ed kernel re-enables bus mastering
for the GPU, previously setup dma blocks may cause writes to random pieces
of memory. On radeon the writeback mechanism can cause these sorts of issues.

This patch doesn't fix the problem, but it moves the bus master enable under
the individual drivers control so they can move enabling it until later in
their load cycle and close the race.

Fix for radeon kms driver will be in a follow-up patch.

Signed-off-by: Dave Airlie <airlied@redhat.com>
2012-02-16 18:31:07 +00:00
..
Makefile
mga_dma.c drm: move pci bus master enable into driver. 2012-02-16 18:31:07 +00:00
mga_drv.c drm: Make the per-driver file_operations struct const 2011-11-11 11:14:47 +00:00
mga_drv.h alpha, drm: Remove obsolete Alpha support in MGA DRM code 2011-06-14 09:32:56 +10:00
mga_ioc32.c drm: convert drm_ioctl to unlocked_ioctl 2009-12-18 11:22:31 +10:00
mga_irq.c drm/mga: fixed brace, macro and spacing coding style issues 2010-08-02 10:17:36 +10:00
mga_state.c drm: block userspace under allocating buffer and having drivers overwrite it (v2) 2010-08-17 14:52:25 +10:00
mga_warp.c gpu: add module.h to drivers/gpu files as required. 2011-10-31 19:32:03 -04:00