linux/drivers/gpu/drm/i915/display
Kai Vehmanen 0c4c801b31 drm/i915: fix regression leading to display audio probe failure on GLK
In commit 4f0b4352bd ("drm/i915: Extract cdclk requirements checking
to separate function") the order of force_min_cdclk_changed check and
intel_modeset_checks(), was reversed. This broke the mechanism to
immediately force a new CDCLK minimum, and lead to driver probe
errors for display audio on GLK platform with 5.9-rc1 kernel. Fix
the issue by moving intel_modeset_checks() call later.

[vsyrjala: It also broke the ability of planes to bump up the cdclk
and thus could lead to underruns when eg. flipping from 32bpp to
64bpp framebuffer. To be clear, we still compute the new cdclk
correctly but fail to actually program it to the hardware due to
intel_set_cdclk_{pre,post}_plane_update() not getting called on
account of state->modeset==false.]

Fixes: 4f0b4352bd ("drm/i915: Extract cdclk requirements checking to separate function")
BugLink: https://github.com/thesofproject/linux/issues/2410
Signed-off-by: Kai Vehmanen <kai.vehmanen@linux.intel.com>
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20200901151036.1312357-1-kai.vehmanen@linux.intel.com
(cherry picked from commit cf696856bc)
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
2020-09-08 14:38:46 +03:00
..
dvo_ch7xxx.c
dvo_ch7017.c
dvo_ivch.c
dvo_ns2501.c
dvo_sil164.c
dvo_tfp410.c
icl_dsi.c treewide: Use fallthrough pseudo-keyword 2020-08-23 17:36:59 -05:00
intel_acpi.c
intel_acpi.h
intel_atomic_plane.c drm/i915/display/atomic_plane: Prefer drm_WARN_ON over WARN_ON 2020-04-21 09:49:30 +03:00
intel_atomic_plane.h drm/i915: Fix crtc nv12 etc. plane bitmasks for DPMS off 2020-03-20 15:12:11 +02:00
intel_atomic.c drm/i915: Replace I915_MODE_FLAG_INHERITED with a boolean 2020-05-29 18:05:13 +03:00
intel_atomic.h
intel_audio.c drm/i915: Streamline the artihmetic 2020-05-04 18:44:53 +03:00
intel_audio.h
intel_bios.c treewide: Use fallthrough pseudo-keyword 2020-08-23 17:36:59 -05:00
intel_bios.h drm/i915: significantly reduce the use of <drm/i915_drm.h> 2020-02-27 08:35:09 +02:00
intel_bw.c drm/i915: Fix wrong CDCLK adjustment changes 2020-06-04 11:11:56 -07:00
intel_bw.h drm/i915: Fix includes and local vars order 2020-05-22 14:40:35 +01:00
intel_cdclk.c treewide: Use fallthrough pseudo-keyword 2020-08-23 17:36:59 -05:00
intel_cdclk.h drm/i915: Fix includes and local vars order 2020-05-22 14:40:35 +01:00
intel_color.c drm/i915/dsb: Pre allocate and late cleanup of cmd buffer 2020-05-23 15:42:28 +05:30
intel_color.h
intel_combo_phy.c drm/i915/display: Ensure that ret is always initialized in icl_combo_phy_verify_state 2020-09-02 10:48:09 +03:00
intel_combo_phy.h
intel_connector.c drm/i915: Add connector dbgfs for all connectors 2020-04-17 13:12:10 +05:30
intel_connector.h
intel_crt.c drm/i915/params: switch to device specific parameters 2020-06-22 23:26:40 +03:00
intel_crt.h
intel_csr.c drm/i915/params: switch to device specific parameters 2020-06-22 23:26:40 +03:00
intel_csr.h
intel_ddi.c treewide: Use fallthrough pseudo-keyword 2020-08-23 17:36:59 -05:00
intel_ddi.h drm/i915: Add {preemph,voltage}_max() vfuncs 2020-06-03 16:23:21 +03:00
intel_de.h
intel_display_debugfs.c drm/i915/display: Check for an LPSP encoder before dereferencing 2020-08-19 15:23:13 +03:00
intel_display_debugfs.h drm/i915: have *_debugfs_init() functions return void. 2020-03-18 16:27:22 +01:00
intel_display_power.c drm/i915/tgl: Make sure TC-cold is blocked before enabling TC AUX power wells 2020-08-19 15:23:43 +03:00
intel_display_power.h drm/i915: Introduce for_each_dbuf_slice_in_mask macro 2020-05-21 14:14:56 -07:00
intel_display_types.h drm/i915/display: prefer dig_port to reference intel_digital_port 2020-07-02 11:26:37 -07:00
intel_display.c drm/i915: fix regression leading to display audio probe failure on GLK 2020-09-08 14:38:46 +03:00
intel_display.h drm/i915/fbc: Fix fence_y_offset handling 2020-07-06 17:15:57 -07:00
intel_dp_aux_backlight.c drm/i915/params: switch to device specific parameters 2020-06-22 23:26:40 +03:00
intel_dp_aux_backlight.h
intel_dp_link_training.c drm/i915: WARN if max vswing/pre-emphasis violates the DP spec 2020-07-13 14:43:56 -07:00
intel_dp_link_training.h drm/i915/dp: Made intel_dp_adjust_train() non-static 2020-04-08 14:40:48 +02:00
intel_dp_mst.c drm/i915/mst: filter out the display mode exceed sink's capability 2020-07-13 13:30:52 -04:00
intel_dp_mst.h drm/i915/display: prefer dig_port to reference intel_digital_port 2020-07-02 11:26:37 -07:00
intel_dp.c Revert "drm/i915/dp: Correctly advertise HBR3 for GEN11+" 2020-07-06 10:17:19 -07:00
intel_dp.h drm/i915/display: prefer dig_port to reference intel_digital_port 2020-07-02 11:26:37 -07:00
intel_dpio_phy.c drm/i915/display: prefer dig_port to reference intel_digital_port 2020-07-02 11:26:37 -07:00
intel_dpio_phy.h
intel_dpll_mgr.c treewide: Use fallthrough pseudo-keyword 2020-08-23 17:36:59 -05:00
intel_dpll_mgr.h drm/i915: Fix documentation for intel_dpll_get_freq() 2020-03-09 12:37:23 +02:00
intel_dsb.c drm/i915/display: fix missing null check on allocated dsb object 2020-06-30 14:26:51 +03:00
intel_dsb.h drm/i915/dsb: Pre allocate and late cleanup of cmd buffer 2020-05-23 15:42:28 +05:30
intel_dsi_dcs_backlight.c
intel_dsi_dcs_backlight.h
intel_dsi_vbt.c drm/i915: drop a bunch of superfluous inlines 2020-04-21 09:31:37 +03:00
intel_dsi.c drm/i915/dsi: use struct drm_device based logging 2020-03-25 19:45:49 +02:00
intel_dsi.h
intel_dvo_dev.h
intel_dvo.c drm/i915/dvo: Make .get_modes() return the number of modes 2020-07-09 16:30:48 +03:00
intel_dvo.h
intel_fbc.c drm next for 5.9-rc1 2020-08-05 19:50:06 -07:00
intel_fbc.h
intel_fbdev.c Merge drm/drm-next into drm-intel-next-queued 2020-04-16 14:35:16 +03:00
intel_fbdev.h
intel_fifo_underrun.c drm/i915/fifo_underrun: convert to drm_device based logging. 2020-03-11 12:20:43 +02:00
intel_fifo_underrun.h
intel_frontbuffer.c drm/i915/display/frontbuffer: Prefer drm_WARN_ON over WARN_ON 2020-04-21 10:54:22 +03:00
intel_frontbuffer.h
intel_global_state.c drm/i915: Fix global state use-after-frees with a refcount 2020-06-02 16:35:24 +03:00
intel_global_state.h drm/i915: Fix global state use-after-frees with a refcount 2020-06-02 16:35:24 +03:00
intel_gmbus.c drm/i915: drop a bunch of superfluous inlines 2020-04-21 09:31:37 +03:00
intel_gmbus.h
intel_hdcp.c drm/i915: Clear the repeater bit on HDCP disable 2020-09-02 10:48:23 +03:00
intel_hdcp.h drm/i915: Pass atomic state to encoder hooks 2020-04-03 19:49:57 +03:00
intel_hdmi.c Linux 5.8-rc6 2020-07-24 08:48:05 +10:00
intel_hdmi.h drm/i915/sdvo: Implement limited color range for SDVO HDMI properly 2020-07-09 16:21:30 +03:00
intel_hotplug.c drm-misc-next for v5.9: 2020-07-20 17:30:23 +10:00
intel_hotplug.h drm-misc-next for v5.9: 2020-06-24 15:45:51 +10:00
intel_lpe_audio.c drm/i915/lpe_audio: convert to drm_device based logging macros. 2020-03-11 12:20:43 +02:00
intel_lpe_audio.h
intel_lspcon.c drm/i915/display: prefer dig_port to reference intel_digital_port 2020-07-02 11:26:37 -07:00
intel_lspcon.h drm/i915/display: prefer dig_port to reference intel_digital_port 2020-07-02 11:26:37 -07:00
intel_lvds.c drm/i915/params: switch to device specific parameters 2020-06-22 23:26:40 +03:00
intel_lvds.h
intel_opregion.c drm/i915/params: switch to device specific parameters 2020-06-22 23:26:40 +03:00
intel_opregion.h
intel_overlay.c drm/i915: Protect overlay colorkey macro arguments 2020-05-15 20:12:56 +03:00
intel_overlay.h
intel_panel.c treewide: Use fallthrough pseudo-keyword 2020-08-23 17:36:59 -05:00
intel_panel.h drm/i915: Have pfit calculations return an error code 2020-04-24 17:37:22 +03:00
intel_pipe_crc.c drm/i915/crc: move pipe_crc from drm_i915_private to intel_crtc 2020-03-02 12:58:26 +02:00
intel_pipe_crc.h drm/i915/crc: move pipe_crc from drm_i915_private to intel_crtc 2020-03-02 12:58:26 +02:00
intel_psr.c drm/i915/display: prefer dig_port to reference intel_digital_port 2020-07-02 11:26:37 -07:00
intel_psr.h drm/i915/psr: Use new DP VSC SDP compute routine on PSR 2020-05-14 13:54:17 +03:00
intel_quirks.c drm/i915: Add invert-brightness quirk for Thundersoft TST178 tablet 2020-03-04 16:54:36 +01:00
intel_quirks.h
intel_sdvo_regs.h drm/i915/sdvo: Fix SDVO colorimetry bit defines 2020-07-09 16:14:47 +03:00
intel_sdvo.c treewide: Use fallthrough pseudo-keyword 2020-08-23 17:36:59 -05:00
intel_sdvo.h drm/i915: significantly reduce the use of <drm/i915_drm.h> 2020-02-27 08:35:09 +02:00
intel_sprite.c treewide: Use fallthrough pseudo-keyword 2020-08-23 17:36:59 -05:00
intel_sprite.h drm/i915/rkl: Limit number of universal planes to 5 2020-05-20 08:35:22 -07:00
intel_tc.c treewide: Use fallthrough pseudo-keyword 2020-08-23 17:36:59 -05:00
intel_tc.h drm/i915: Turn intel_digital_port_connected() in a vfunc 2020-05-11 16:25:15 +03:00
intel_tv.c Merge drm/drm-next into drm-intel-next-queued 2020-06-25 18:05:03 +03:00
intel_tv.h
intel_vbt_defs.h drm/i915/bios: Parse HOBL parameter 2020-07-09 12:33:24 -07:00
intel_vdsc.c drm/i915/display: prefer dig_port to reference intel_digital_port 2020-07-02 11:26:37 -07:00
intel_vdsc.h
intel_vga.c
intel_vga.h
vlv_dsi_pll.c
vlv_dsi.c drm/i915: Stop using mode->private_flags 2020-05-29 17:59:21 +03:00