OpenCloudOS-Kernel/drivers/gpu/drm/i915/display
Chris Wilson 8e9ecb3e1e drm/i915/display: Handle lost primary_port across suspend
icl-dsi is dying on suspend/resume at

	RIP: 0010:icl_update_active_dpll+0x2c/0xa0 [i915]

which appears due to the loss of the time primary_port across suspend.
Protect against the potential NULL dereference by assuming
ICL_PORT_DPLL_DEFAULT unless the port is actively specified otherwise.

Fixes: 24a7bfe0c2 ("drm/i915: Keep the TypeC port mode fixed when the port is active")
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Imre Deak <imre.deak@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20190702140950.7069-1-chris@chris-wilson.co.uk
2019-07-03 10:09:58 +01:00
..
Makefile drm/i915: add header search path to subdir Makefiles 2019-06-27 10:25:48 +03:00
Makefile.header-test
dvo_ch7xxx.c
dvo_ch7017.c
dvo_ivch.c
dvo_ns2501.c
dvo_sil164.c
dvo_tfp410.c
icl_dsi.c drm/i915/ehl/dsi: Enable AFE over PPI strap 2019-06-20 13:18:04 -07:00
intel_acpi.c
intel_acpi.h
intel_atomic.c
intel_atomic.h
intel_atomic_plane.c drm/i915: Pass intel state to plane functions as well 2019-07-01 10:32:45 +02:00
intel_atomic_plane.h drm/i915: Pass intel state to plane functions as well 2019-07-01 10:32:45 +02:00
intel_audio.c
intel_audio.h
intel_bios.c drm/i915/ehl: Allow combo PHY A to drive a third external display 2019-06-19 11:28:02 -07:00
intel_bios.h drm/i915: Check backlight type while doing eDP backlight initializaiton 2019-06-26 17:48:12 +03:00
intel_bw.c
intel_bw.h
intel_cdclk.c drm/i915/ehl: Add voltage level requirement table 2019-06-26 12:01:54 -07:00
intel_cdclk.h
intel_color.c
intel_color.h
intel_combo_phy.c drm/i915/ehl: Don't program PHY_MISC on EHL PHY C 2019-07-01 08:28:15 -07:00
intel_combo_phy.h
intel_connector.c
intel_connector.h
intel_crt.c
intel_crt.h
intel_ddi.c drm/i915/icl: Drop port parameter to icl_get_combo_buf_trans() 2019-07-01 08:28:15 -07:00
intel_ddi.h
intel_display.c drm/i915: Keep the TypeC port mode fixed when the port is active 2019-07-01 15:02:34 +03:00
intel_display.h drm/i915: Sanitize the terminology used for TypeC port modes 2019-07-01 14:49:40 +03:00
intel_display_power.c drm/i915: synchronize_irq() against the actual irq 2019-07-03 10:07:13 +01:00
intel_display_power.h
intel_dp.c drm/i915: Keep the TypeC port mode fixed for detect/AUX transfers 2019-07-01 14:50:29 +03:00
intel_dp.h drm/i915: Move the TypeC port handling code to a separate file 2019-07-01 14:48:46 +03:00
intel_dp_aux_backlight.c drm/i915: Check backlight type while doing eDP backlight initializaiton 2019-06-26 17:48:12 +03:00
intel_dp_aux_backlight.h
intel_dp_link_training.c
intel_dp_link_training.h
intel_dp_mst.c
intel_dp_mst.h drm/i915: Fix the TypeC port mode sanitization during loading/resume 2019-07-01 14:50:25 +03:00
intel_dpio_phy.c
intel_dpio_phy.h
intel_dpll_mgr.c drm/i915/display: Handle lost primary_port across suspend 2019-07-03 10:09:58 +01:00
intel_dpll_mgr.h drm/i915: Keep the TypeC port mode fixed when the port is active 2019-07-01 15:02:34 +03:00
intel_dsi.c
intel_dsi.h
intel_dsi_dcs_backlight.c
intel_dsi_dcs_backlight.h
intel_dsi_vbt.c
intel_dvo.c
intel_dvo.h
intel_dvo_dev.h
intel_fbc.c
intel_fbc.h
intel_fbdev.c
intel_fbdev.h
intel_fifo_underrun.c
intel_fifo_underrun.h
intel_frontbuffer.c
intel_frontbuffer.h
intel_gmbus.c drm/i915/ehl: Introduce Mule Creek Canyon PCH 2019-06-17 13:40:20 -07:00
intel_gmbus.h
intel_hdcp.c
intel_hdcp.h
intel_hdmi.c drm/i915/ehl: Introduce Mule Creek Canyon PCH 2019-06-17 13:40:20 -07:00
intel_hdmi.h
intel_hotplug.c
intel_hotplug.h
intel_lpe_audio.c
intel_lpe_audio.h
intel_lspcon.c
intel_lspcon.h
intel_lvds.c
intel_lvds.h
intel_opregion.c
intel_opregion.h
intel_overlay.c
intel_overlay.h
intel_panel.c
intel_panel.h
intel_pipe_crc.c drm/i915: synchronize_irq() against the actual irq 2019-07-03 10:07:13 +01:00
intel_pipe_crc.h
intel_psr.c drm/i915/psr: Force manual PSR exit in older gens 2019-06-18 12:33:14 -07:00
intel_psr.h
intel_quirks.c
intel_quirks.h
intel_sdvo.c
intel_sdvo.h
intel_sdvo_regs.h
intel_sprite.c
intel_sprite.h
intel_tc.c drm/i915: Remove unneeded disconnect in TypeC legacy port mode 2019-07-01 15:06:32 +03:00
intel_tc.h drm/i915: Remove unneeded disconnect in TypeC legacy port mode 2019-07-01 15:06:32 +03:00
intel_tv.c
intel_tv.h
intel_vbt_defs.h drm/i915/ehl: Introduce Mule Creek Canyon PCH 2019-06-17 13:40:20 -07:00
intel_vdsc.c
intel_vdsc.h
vlv_dsi.c
vlv_dsi_pll.c