linux/drivers/gpu/drm/i915
Ville Syrjälä 09dba00c00 drm/i915: Don't call intel_plane_restore() when the prop value didn't change
No point in calling intel_plane_restore() in .set_property() if the
value didn't change.

More importantly this papers over a bug where the current primary plane
code forgets to update the user coordinates we store under intel_plane
unless the primary plane .update_plane() hook is actually called. This
means we have 0 in the coordinates straight after boot and any call
to intel_restore_plane() (such as from restore_fbdev_mode()) will
actually turn off the primary plane. This mess needs to be fixed properly
but that's a bigger task and the first step there is killing off
intel_pipe_set_base() and just calling the primary plane
.update_plane() hook. For the immediate problem of black screen after
boot this small patch is enough to hide it.

The problem originates from these two commits:
 commit 3a5f87c286
 Author: Thomas Wood <thomas.wood@intel.com>
 Date:   Wed Aug 20 14:45:00 2014 +0100

    drm: fix plane rotation when restoring fbdev configuration

 commit d91a2cb8e5104233c02bbde539bd4ee455ec12ac
 Author: Sonika Jindal <sonika.jindal@intel.com>
 Date:   Fri Aug 22 14:06:04 2014 +0530

    drm/i915: Add 180 degree primary plane rotation support

Cc: Thomas Wood <thomas.wood@intel.com>
Cc: Sonika Jindal <sonika.jindal@intel.com>
Tested-by: Mika Kuoppala <mika.kuoppala@linux.intel.com>
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Reviewed-by: Damien Lespiau <damien.lespiau@intel.com>
Tested-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
2014-09-03 11:05:31 +02:00
..
dvo.h
dvo_ch7xxx.c
dvo_ch7017.c
dvo_ivch.c
dvo_ns2501.c drm/i915: Check pixel clock in ns2501 mode_valid hook 2014-09-03 11:05:21 +02:00
dvo_sil164.c
dvo_tfp410.c
i915_cmd_parser.c drm/i915: Fix up checks for aliasing ppgtt 2014-08-13 14:23:31 +02:00
i915_debugfs.c drm/i915/bdw: Export workaround data to debugfs 2014-09-03 11:04:44 +02:00
i915_dma.c drm/i915: make fbdev initialization asynchronous v2 2014-09-03 11:05:01 +02:00
i915_drv.c drm/i915: Add "Intel Corporation" as module author 2014-09-03 11:04:32 +02:00
i915_drv.h drm/i915: Preserve VGACNTR bits from the BIOS 2014-09-03 11:05:26 +02:00
i915_gem.c drm/i915: Idle unused rings on gen2/3 during init/resume 2014-09-03 11:05:06 +02:00
i915_gem_context.c drm/i915/bdw: Apply workarounds in render ring init function 2014-09-03 11:04:42 +02:00
i915_gem_debug.c
i915_gem_dmabuf.c
i915_gem_evict.c
i915_gem_execbuffer.c drm/i915: Only track real ppgtt for a context 2014-08-13 14:23:33 +02:00
i915_gem_gtt.c drm/i915/bdw: Do not initialize PPGTT in the legacy way for execlists 2014-09-03 11:04:13 +02:00
i915_gem_gtt.h drm/i915: Rework GPU reset sequence to match driver load & thaw 2014-09-03 10:54:09 +02:00
i915_gem_render_state.c drm/i915/bdw: Render state init for Execlists 2014-09-03 11:04:52 +02:00
i915_gem_render_state.h drm/i915/bdw: Render state init for Execlists 2014-09-03 11:04:52 +02:00
i915_gem_stolen.c
i915_gem_tiling.c drm/i915/bdw: Let the memory controller do all the swizzling 2014-09-03 11:04:33 +02:00
i915_gem_userptr.c
i915_gpu_error.c drm/i915: Differentiate between LLC or snooped for the user 2014-09-03 11:04:25 +02:00
i915_ioc32.c
i915_irq.c drm/i915: Don't use WaGsvRC0ResidenncyMethod on chv 2014-09-03 11:05:27 +02:00
i915_params.c Merge tag 'drm-intel-next-2014-09-01' of git://anongit.freedesktop.org/drm-intel into drm-next 2014-09-03 08:30:48 +10:00
i915_reg.h drm/i915: Idle unused rings on gen2/3 during init/resume 2014-09-03 11:05:06 +02:00
i915_suspend.c
i915_sysfs.c drm/i915: Differentiate between LLC or snooped for the user 2014-09-03 11:04:25 +02:00
i915_trace.h
i915_trace_points.c
i915_ums.c
intel_acpi.c
intel_bios.c drm/i915: Gather the HDMI level shifter logic into one place 2014-08-08 17:43:46 +02:00
intel_bios.h drm/i915: Add support for Video Burst Mode for MIPI DSI 2014-08-08 17:43:45 +02:00
intel_crt.c drm/i915: Fix locking for intel_enable_pipe_a() 2014-08-18 10:42:40 +03:00
intel_ddi.c drm/i915/ddi: use struct for ddi buf translation tables 2014-09-03 11:04:38 +02:00
intel_display.c drm/i915: Preserve VGACNTR bits from the BIOS 2014-09-03 11:05:26 +02:00
intel_dp.c drm: i915: reduce memory footprint when debugging 2014-09-03 11:05:29 +02:00
intel_dp_mst.c
intel_drv.h drm/i915: Pass intel_crtc to intel_disable_pipe() and intel_wait_for_pipe_off() 2014-09-03 11:05:07 +02:00
intel_dsi.c drm/i915: Align intel_dsi*.c files a bit 2014-08-08 17:43:45 +02:00
intel_dsi.h drm/i915: Add support for Video Burst Mode for MIPI DSI 2014-08-08 17:43:45 +02:00
intel_dsi_cmd.c drm/i915: Align intel_dsi*.c files a bit 2014-08-08 17:43:45 +02:00
intel_dsi_cmd.h
intel_dsi_panel_vbt.c drm/i915: Add support for Video Burst Mode for MIPI DSI 2014-08-08 17:43:45 +02:00
intel_dsi_pll.c drm/i915: Align intel_dsi*.c files a bit 2014-08-08 17:43:45 +02:00
intel_dvo.c drm/i915: Don't call DVO mode_set hook on DPMS changes 2014-09-03 11:05:14 +02:00
intel_fbdev.c drm/i915: make fbdev initialization asynchronous v2 2014-09-03 11:05:01 +02:00
intel_hdmi.c drm/i915: Introduce a for_each_intel_encoder() macro 2014-08-08 17:43:50 +02:00
intel_i2c.c
intel_lrc.c drm/i915/bdw: Render state init for Execlists 2014-09-03 11:04:52 +02:00
intel_lrc.h drm/i915/bdw: Render state init for Execlists 2014-09-03 11:04:52 +02:00
intel_lvds.c drm/i915: Introduce a for_each_intel_encoder() macro 2014-08-08 17:43:50 +02:00
intel_modes.c
intel_opregion.c
intel_overlay.c
intel_panel.c drm/i915: Use dev_priv as first argument of for_each_pipe() 2014-09-03 11:03:43 +02:00
intel_pm.c drm/i915: Disable trickle feed for gen2/3 2014-09-03 11:05:04 +02:00
intel_renderstate.h drm/i915/bdw: Render state init for Execlists 2014-09-03 11:04:52 +02:00
intel_renderstate_gen6.c
intel_renderstate_gen7.c
intel_renderstate_gen8.c
intel_ringbuffer.c drm/i915: Init some CHV workarounds via LRIs in ring->init_context() 2014-09-03 11:04:59 +02:00
intel_ringbuffer.h drm/i915/bdw: Apply workarounds in render ring init function 2014-09-03 11:04:42 +02:00
intel_sdvo.c
intel_sdvo_regs.h
intel_sideband.c
intel_sprite.c drm/i915: Don't call intel_plane_restore() when the prop value didn't change 2014-09-03 11:05:31 +02:00
intel_tv.c drm/i915: Fix locking for intel_enable_pipe_a() 2014-08-18 10:42:40 +03:00
intel_uncore.c
Kconfig
Makefile drm/i915/bdw: New source and header file for LRs, LRCs and Execlists 2014-08-11 16:00:07 +02:00