linux/drivers/gpu/drm/i810
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
..
i810_dma.c drm: move pci bus master enable into driver. 2012-02-16 18:31:07 +00:00
i810_drv.c Revert "drm/i810: cleanup reclaim_buffers" 2012-01-30 09:31:25 +00:00
i810_drv.h Revert "drm/i810: cleanup reclaim_buffers" 2012-01-30 09:31:25 +00:00
Makefile drm: reorganise drm tree to be more future proof. 2008-07-14 10:45:01 +10:00