OpenCloudOS-Kernel/drivers/gpu/drm/gma500
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
..
Kconfig gma500: Fix Cedarview support (Correct version) 2012-01-03 09:30:07 +00:00
Makefile gma500: Fix Cedarview support (Correct version) 2012-01-03 09:30:07 +00:00
accel_2d.c drm: Replace pitch with pitches[] in drm_framebuffer 2011-12-20 10:06:27 +00:00
backlight.c gma500: Add device framework 2011-11-16 11:25:08 +00:00
cdv_device.c gma500: Fix Cedarview support (Correct version) 2012-01-03 09:30:07 +00:00
cdv_device.h gma500: Add support for Cedarview 2011-11-16 11:27:35 +00:00
cdv_intel_crt.c gma500: Discard modes that don't fit in stolen memory 2012-01-13 09:02:06 +00:00
cdv_intel_display.c gma500: Convert Cedarview to work with new output handling 2011-12-20 10:23:15 +00:00
cdv_intel_hdmi.c gma500: Discard modes that don't fit in stolen memory 2012-01-13 09:02:06 +00:00
cdv_intel_lvds.c gma500: Convert Cedarview to work with new output handling 2011-12-20 10:23:15 +00:00
framebuffer.c drm: do not set fb_info->pixmap fields 2012-02-09 10:34:43 +00:00
framebuffer.h gma500: kill virtual mapping support 2011-12-06 09:55:29 +00:00
gem.c gma500: do a pass over the FIXME tags 2011-12-06 09:55:33 +00:00
gem_glue.c gma500: GEM and GEM glue 2011-11-16 11:22:36 +00:00
gem_glue.h gma500: GEM and GEM glue 2011-11-16 11:22:36 +00:00
gtt.c gma500: Fix shmem mapping 2012-01-24 17:35:53 +00:00
gtt.h gma500: gtt based hardware scrolling console 2011-12-06 09:55:39 +00:00
intel_bios.c gma500: Move the API 2011-12-06 09:54:23 +00:00
intel_bios.h gma500: Add the glue to the various BIOS and firmware interfaces 2011-11-16 11:25:28 +00:00
intel_gmbus.c drm: Fix kcalloc parameters swapped 2012-02-13 12:07:36 +00:00
intel_i2c.c gma500: fixup build versus latest header changes. 2011-11-16 12:14:04 +00:00
intel_opregion.c gma500: do a pass over the FIXME tags 2011-12-06 09:55:33 +00:00
mid_bios.c gma500: silence gcc warnings in mid_get_vbt_data() 2012-01-10 10:01:22 +00:00
mid_bios.h gma500: Add the glue to the various BIOS and firmware interfaces 2011-11-16 11:25:28 +00:00
mmu.c gma500: introduce the GTT and MMU handling logic 2011-11-16 11:23:38 +00:00
oaktrail.h gma500: Add Oaktrail support 2011-11-16 11:27:12 +00:00
oaktrail_crtc.c gma500: Convert Oaktrail to work with new output handling 2011-12-20 10:23:17 +00:00
oaktrail_device.c gma500: Oaktrail BIOS handling 2011-12-06 09:55:42 +00:00
oaktrail_hdmi.c gma500: Discard modes that don't fit in stolen memory 2012-01-13 09:02:06 +00:00
oaktrail_hdmi_i2c.c gma500: fixup build versus latest header changes. 2011-11-16 12:14:04 +00:00
oaktrail_lvds.c gma500/oaktrail: panel display quality fix 2011-12-20 15:50:13 +00:00
power.c gma500: Fix backlight crash 2011-12-06 09:55:37 +00:00
power.h gma500: Add device framework 2011-11-16 11:25:08 +00:00
psb_device.c gma500: Add support for Intel GMBUS 2011-12-20 10:23:13 +00:00
psb_drv.c drm: move pci bus master enable into driver. 2012-02-16 18:31:07 +00:00
psb_drv.h gma500: Convert Cedarview to work with new output handling 2011-12-20 10:23:15 +00:00
psb_intel_display.c gma500: Replace SDVO code with slightly modified version from i915 2011-12-20 10:23:14 +00:00
psb_intel_display.h gma500: Add Poulsbo support 2011-11-16 11:26:55 +00:00
psb_intel_drv.h gma500: Convert Cedarview to work with new output handling 2011-12-20 10:23:15 +00:00
psb_intel_lvds.c gma500: Convert PSB LVDS to new output handling 2011-12-20 10:23:12 +00:00
psb_intel_modes.c gma500: Remove psb_intel_output from ddc_probe and ddc_get_modes 2011-12-20 10:23:06 +00:00
psb_intel_reg.h gma500: Replace SDVO code with slightly modified version from i915 2011-12-20 10:23:14 +00:00
psb_intel_sdvo.c drm: add convenience function to create an range property 2012-02-09 10:15:25 +00:00
psb_intel_sdvo_regs.h gma500: Replace SDVO code with slightly modified version from i915 2011-12-20 10:23:14 +00:00
psb_irq.c gma500: Add VBLANK support for Poulsbo hardware 2011-12-06 09:55:32 +00:00
psb_irq.h gma500: Add the core DRM files and headers 2011-11-16 11:26:35 +00:00
psb_lid.c gma500: do a pass over the FIXME tags 2011-12-06 09:55:33 +00:00
psb_reg.h gma500: Add the core DRM files and headers 2011-11-16 11:26:35 +00:00