linux_dsm_epyc7002/drivers/gpu/drm/i915/display
Chris Wilson 22da5d846d drm/i915/display: Only query DP state of a DDI encoder
Avoid a NULL dereference for a mismatched encoder type, hit when
probing state for all encoders.

This is a band aid to prevent the OOPS as the right fix is "probably to
swap the psr vs infoframes.enable checks, or outright disappear from
this function" (Ville).

Closes: https://gitlab.freedesktop.org/drm/intel/-/issues/1892
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Acked-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20200525124912.16019-1-chris@chris-wilson.co.uk
2020-05-26 12:53:52 +01:00
..
dvo_ch7xxx.c
dvo_ch7017.c
dvo_ivch.c
dvo_ns2501.c
dvo_sil164.c
dvo_tfp410.c
icl_dsi.c drm/i915: Have pfit calculations return an error code 2020-04-24 17:37:22 +03:00
intel_acpi.c drm/i915/acpi: Move the code to populate ACPI device ID into intel_acpi 2020-01-24 12:58:39 +02:00
intel_acpi.h drm/i915/acpi: Move the code to populate ACPI device ID into intel_acpi 2020-01-24 12:58:39 +02:00
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/dsb: Pre allocate and late cleanup of cmd buffer 2020-05-23 15:42:28 +05:30
intel_atomic.h drm/i915: Introduce better global state handling 2020-01-31 17:00:44 +02:00
intel_audio.c drm/i915: Streamline the artihmetic 2020-05-04 18:44:53 +03:00
intel_audio.h
intel_bios.c drm/i915: significantly reduce the use of <drm/i915_drm.h> 2020-02-27 08:35:09 +02: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 includes and local vars order 2020-05-22 14:40:35 +01:00
intel_bw.h drm/i915: Fix includes and local vars order 2020-05-22 14:40:35 +01:00
intel_cdclk.c drm/i915: Fix includes and local vars order 2020-05-22 14:40:35 +01: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/rkl: RKL only uses PHY_MISC for PHY's A and B 2020-05-20 08:35:22 -07: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: Pass encoder all the way to intel_ddi_transcoder_func_reg_val_get() 2020-04-20 21:21:10 +03:00
intel_crt.h
intel_csr.c drm/i915/rkl: Load DMC firmware for Rocket Lake 2020-05-19 17:12:22 -07:00
intel_csr.h drm/i915: move intel_csr.[ch] under display/ 2020-02-14 08:48:12 +02:00
intel_ddi.c drm/i915/psr: Use new DP VSC SDP compute routine on PSR 2020-05-14 13:54:17 +03:00
intel_ddi.h drm/i915: Pass encoder all the way to intel_ddi_transcoder_func_reg_val_get() 2020-04-20 21:21:10 +03:00
intel_de.h drm/i915: add display engine uncore helpers 2020-01-23 11:07:00 +02:00
intel_display_debugfs.c drm/i915: Add i915_lpsp_status debugfs attribute 2020-04-17 13:12:11 +05:30
intel_display_debugfs.h drm/i915: split out display debugfs to a separate file 2020-02-14 13:26:51 +02:00
intel_display_power.c drm/i915/rkl: Add power well support 2020-05-20 08:35:22 -07: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/dsb: Pre allocate and late cleanup of cmd buffer 2020-05-23 15:42:28 +05:30
intel_display.c drm/i915/dsb: Pre allocate and late cleanup of cmd buffer 2020-05-23 15:42:28 +05:30
intel_display.h drm/i915: Introduce for_each_dbuf_slice_in_mask macro 2020-05-21 14:14:56 -07:00
intel_dp_aux_backlight.c drm/i915/dpcd_bl: Unbreak enable_dpcd_backlight modparam 2020-04-20 11:18:26 +03:00
intel_dp_aux_backlight.h
intel_dp_link_training.c drm/i915/dp: Made intel_dp_adjust_train() non-static 2020-04-08 14:40:48 +02: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: Wait for ACT sent before enabling the pipe 2020-05-11 15:52:52 +03:00
intel_dp_mst.h
intel_dp.c drm/i915/display: Only query DP state of a DDI encoder 2020-05-26 12:53:52 +01:00
intel_dp.h drm/i915/dp: Add compute routine for DP PSR VSC SDP 2020-05-14 13:54:15 +03:00
intel_dpio_phy.c drm/i915/dpio_phy: convert to drm_device based logging macros. 2020-02-11 15:28:52 +02:00
intel_dpio_phy.h
intel_dpll_mgr.c drm/i915/display/dpll_mgr: Prefer drm_WARN_ON over WARN_ON 2020-04-21 10:53:53 +03: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 early deref of 'dsb' 2020-05-26 09:36:34 +01: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 drm/i915/display: Make WARN* drm specific where drm_device ptr is available 2020-02-04 11:00:04 +02:00
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 drm/i915: Pass intel_encoder to enc_to_*() 2020-01-13 20:10:51 +02:00
intel_dvo_dev.h
intel_dvo.c drm/i915: Pass atomic state to encoder hooks 2020-04-03 19:49:57 +03:00
intel_dvo.h
intel_fbc.c drm/i915/display: Warn if the FBC is still writing to stolen on removal 2020-05-04 17:11:51 +01:00
intel_fbc.h drm/i915/fbc: Move the plane state check into the fbc functions 2020-01-15 17:16:32 +02:00
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/display/global_state: Prefer drm_WARN* over WARN* 2020-04-21 10:54:28 +03:00
intel_global_state.h drm/i915: Introduce better global state handling 2020-01-31 17:00:44 +02: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: drop a bunch of superfluous inlines 2020-04-21 09:31:37 +03:00
intel_hdcp.h drm/i915: Pass atomic state to encoder hooks 2020-04-03 19:49:57 +03:00
intel_hdmi.c drm/i915: Have pfit calculations return an error code 2020-04-24 17:37:22 +03:00
intel_hdmi.h drm/i915: significantly reduce the use of <drm/i915_drm.h> 2020-02-27 08:35:09 +02:00
intel_hotplug.c drm/i915: Add a retry counter for hotplug detect retries 2020-04-06 17:53:51 +03:00
intel_hotplug.h drm/i915: Add a retry counter for hotplug detect retries 2020-04-06 17:53:51 +03: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: Fix enabled infoframe states of lspcon 2020-05-14 13:54:08 +03:00
intel_lspcon.h
intel_lvds.c drm/i915: Have pfit calculations return an error code 2020-04-24 17:37:22 +03:00
intel_lvds.h
intel_opregion.c drm/i915: significantly reduce the use of <drm/i915_drm.h> 2020-02-27 08:35:09 +02: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 drm/i915: avoid unused scale_user_to_hw() warning 2020-05-15 21:34:51 +01: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/psr: Use new DP VSC SDP compute routine on PSR 2020-05-14 13:54:17 +03: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
intel_sdvo.c drm/i915/display/sdvo: Prefer drm_WARN* over WARN* 2020-05-19 16:01:16 +03: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 drm/i915/rkl: Limit number of universal planes to 5 2020-05-20 08:35:22 -07: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 drm/i915/display/tc: Prefer drm_WARN_ON over WARN_ON 2020-05-19 16:01:20 +03: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 drm/i915: Pass atomic state to encoder hooks 2020-04-03 19:49:57 +03:00
intel_tv.h
intel_vbt_defs.h drm/i915: Replace zero-length array with flexible-array 2020-05-09 12:59:23 +01:00
intel_vdsc.c drm/i915/rkl: Add power well support 2020-05-20 08:35:22 -07:00
intel_vdsc.h
intel_vga.c drm/i915/vga: conversion to drm_device based logging macros. 2020-02-04 11:13:20 +02:00
intel_vga.h
vlv_dsi_pll.c drm/i915/vlv_dsi_pll: conversion to struct drm_device logging macros. 2020-02-04 11:13:15 +02:00
vlv_dsi.c drm/i915: Have pfit calculations return an error code 2020-04-24 17:37:22 +03:00