original_kernel/drivers/gpu/drm/i915
Ville Syrjälä 6e1b4fdad5 drm/i915: Delay disabling of VGA memory until vgacon->fbcon handoff is done
When transitioning away from vgacon the system tries to save the
current contents of the VGA memory, so that it can be cleanly handed
off to fbcon (or whatever comes afterwards).

The recent change

 commit 81b5c7bc8d
 Author: Alex Williamson <alex.williamson@redhat.com>
 Date:   Wed Aug 28 09:39:08 2013 -0600

    i915: Update VGA arbiter support for newer devices

caused i915 to disable VGA memory decode for the IGD when i915 is
initializing. Unfortunately that happens before the vgacon->fbcon
handoff so vgacon_save_screen() will read out all ones from the
VGA memory.

After the handoff fbcon will inherit the bogus state from vgacon,
and pre-fills the fb with matching contents. The end result is
a white rectangle in the top left corner of the screen, the size
of which matches the now inactive VGA console.

To remedy the situation delay the disabling of VGA memory until
the vgacon->fbcon handoff has happened.

Also rename i915_enable_vga to i915_enable_vga_mem to make
the relationship between these functions clearer.

Cc: Alex Williamson <alex.williamson@redhat.com>
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
2013-09-06 23:27:03 +02:00
..
Makefile
dvo.h
dvo_ch7xxx.c
dvo_ch7017.c
dvo_ivch.c
dvo_ns2501.c
dvo_sil164.c
dvo_tfp410.c
i915_debugfs.c drm/i915: Report requested frequency alongside current frequency in debugfs 2013-09-03 11:12:28 +02:00
i915_dma.c drm/i915: Delay disabling of VGA memory until vgacon->fbcon handoff is done 2013-09-06 23:27:03 +02:00
i915_drv.c drm/i915: split PCI IDs out into i915_drm.h v4 2013-09-03 19:17:56 +02:00
i915_drv.h drm/i915: fix hpd work vs. flush_work in the pageflip code deadlock 2013-09-04 17:34:02 +02:00
i915_gem.c drm/i915: Hold an object reference whilst we shrink it 2013-09-05 14:47:59 +02:00
i915_gem_context.c
i915_gem_debug.c
i915_gem_dmabuf.c drm/i915: Pin pages whilst mapping the dma-buf 2013-09-03 19:17:58 +02:00
i915_gem_evict.c
i915_gem_execbuffer.c drm/i915: fix up the relocate_entry refactoring 2013-09-03 19:18:01 +02:00
i915_gem_gtt.c
i915_gem_stolen.c drm/i915: Skip stolen region initialisation if none is reserved 2013-09-05 14:49:50 +02:00
i915_gem_tiling.c
i915_gpu_error.c drm/i915: Embed the ring->private within the struct intel_ring_buffer 2013-09-03 19:17:55 +02:00
i915_ioc32.c
i915_irq.c drm/i915: fix gpu hang vs. flip stall deadlocks 2013-09-05 14:48:04 +02:00
i915_reg.h drm/i915: enable trickle feed on Haswell 2013-09-03 19:17:57 +02:00
i915_suspend.c
i915_sysfs.c drm/i915: Adjust available RPS information through sysfs for vlv 2013-09-03 11:10:55 +02:00
i915_trace.h
i915_trace_points.c
i915_ums.c
intel_acpi.c
intel_bios.c
intel_bios.h
intel_crt.c drm/i915: Apply the force-detect VGA w/a to Valleyview 2013-09-03 11:10:55 +02:00
intel_ddi.c
intel_display.c drm/i915: Delay disabling of VGA memory until vgacon->fbcon handoff is done 2013-09-06 23:27:03 +02:00
intel_dp.c
intel_drv.h drm/i915: Delay disabling of VGA memory until vgacon->fbcon handoff is done 2013-09-06 23:27:03 +02:00
intel_dvo.c
intel_fb.c
intel_hdmi.c Merge tag 'drm-intel-next-2013-08-23' of git://people.freedesktop.org/~danvet/drm-intel into drm-next 2013-08-30 09:47:41 +10:00
intel_i2c.c
intel_lvds.c drm/i915: Fix pipe config warnings when dealing with LVDS fixed mode 2013-09-03 19:18:00 +02:00
intel_modes.c
intel_opregion.c drm/i915: try not to lose backlight CBLV precision 2013-09-06 09:41:20 +02:00
intel_overlay.c
intel_panel.c drm/i915: Fix pipe config warnings when dealing with LVDS fixed mode 2013-09-03 19:18:00 +02:00
intel_pm.c drm/i915: enable trickle feed on Haswell 2013-09-03 19:17:57 +02:00
intel_ringbuffer.c drm/i915: Embed the ring->private within the struct intel_ring_buffer 2013-09-03 19:17:55 +02:00
intel_ringbuffer.h drm/i915: Embed the ring->private within the struct intel_ring_buffer 2013-09-03 19:17:55 +02:00
intel_sdvo.c drm/i915: handle sdvo input pixel multiplier correctly again 2013-09-04 17:34:03 +02:00
intel_sdvo_regs.h
intel_sideband.c
intel_sprite.c drm/i915: enable trickle feed on Haswell 2013-09-03 19:17:57 +02:00
intel_tv.c
intel_uncore.c drm/i915: sanitize forcewake registers on reset 2013-09-03 11:10:54 +02:00