linux/drivers/gpu/drm/i915
Imre Deak 732b87a409 drm/i915/dp: Fix determining SST/MST mode during MTP TU state computation
Determining the SST/MST mode during state computation must be done based
on the output type stored in the CRTC state, which in turn is set once
based on the modeset connector's SST vs. MST type and will not change as
long as the connector is using the CRTC. OTOH the MST mode indicated by
the given connector's intel_dp::is_mst flag can change independently of
the above output type, based on what sink is at any moment plugged to
the connector.

Fix the state computation accordingly.

Cc: Jani Nikula <jani.nikula@intel.com>
Fixes: f6971d7427 ("drm/i915/mst: adapt intel_dp_mtp_tu_compute_config() for 128b/132b SST")
Closes: https://gitlab.freedesktop.org/drm/xe/kernel/-/issues/4607
Reviewed-by: Jani Nikula <jani.nikula@intel.com>
Signed-off-by: Imre Deak <imre.deak@intel.com>
Link: https://lore.kernel.org/r/20250507151953.251846-1-imre.deak@intel.com
(cherry picked from commit 0f45696ddb)
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
2025-05-09 10:15:52 +03:00
..
display drm/i915/dp: Fix determining SST/MST mode during MTP TU state computation 2025-05-09 10:15:52 +03:00
gem Merge tag 'drm-intel-gt-next-2025-03-12' of https://gitlab.freedesktop.org/drm/i915/kernel into drm-next 2025-03-25 08:21:07 +10:00
gt drm/i915/slpc: Balance the inc/dec for num_waiters 2025-05-05 12:36:04 +03:00
gvt drm/i915/gvt: fix unterminated-string-initialization warning 2025-04-07 11:00:08 +03:00
pxp drm/i915/pxp: fix undefined reference to `intel_pxp_gsccs_is_ready_for_sessions' 2025-04-22 10:55:38 +03:00
selftests drm/i915: Disable RPG during live selftest 2025-04-07 11:00:07 +03:00
soc drm/i915/xe2hpd: Identify the memory type for SKUs with GDDR + ECC 2025-04-07 11:00:10 +03:00
.gitignore
Kconfig Backmerge v6.12-rc6 of git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux into drm-next 2024-11-04 14:25:33 +10:00
Kconfig.debug
Kconfig.profile
Makefile drm/i915/cmtg: Disable the CMTG 2025-01-27 14:06:23 -03:00
TODO.txt
i915_active.c Merge tag 'drm-intel-gt-next-2025-01-10' of https://gitlab.freedesktop.org/drm/i915/kernel into drm-next 2025-01-13 08:05:00 +10:00
i915_active.h drm/i915: Remove deadcode 2024-12-30 01:31:31 +01:00
i915_active_types.h
i915_cmd_parser.c
i915_cmd_parser.h
i915_config.c
i915_config.h
i915_debugfs.c drm/i915/power: move runtime power status info to power debugfs 2025-02-26 15:43:50 +02:00
i915_debugfs.h
i915_debugfs_params.c
i915_debugfs_params.h
i915_deps.c
i915_deps.h
i915_driver.c drm/{i915,xe}: Run DRM default client setup 2025-03-05 21:48:50 +01:00
i915_driver.h drm: remove driver date from struct drm_driver and all drivers 2024-12-05 12:35:42 +02:00
i915_drm_client.c drm: make drm-active- stats optional 2024-12-19 16:56:17 +01:00
i915_drm_client.h
i915_drv.h drm/i915/xe2hpd: Identify the memory type for SKUs with GDDR + ECC 2025-04-07 11:00:10 +03:00
i915_file_private.h
i915_gem.c drm/i915: fix typos in drm/i915 files 2025-01-23 05:48:23 -05:00
i915_gem.h
i915_gem_evict.c
i915_gem_evict.h
i915_gem_gtt.c drm/i915: Fixed an typo in i915_gem_gtt.c 2024-11-25 10:59:00 -05:00
i915_gem_gtt.h
i915_gem_ww.c
i915_gem_ww.h
i915_getparam.c drm/i915/overlay: add intel_overlay_available() and use it 2024-11-22 13:56:35 +02:00
i915_getparam.h
i915_gpu_error.c drm/i915: Constify 'struct bin_attribute' 2025-02-21 09:20:31 +01:00
i915_gpu_error.h drm/i915: move pending_fb_pin to struct intel_display 2025-03-05 12:48:22 +02:00
i915_gtt_view_types.h drm/i915: split out i915_gtt_view_types.h from i915_vma_types.h 2025-03-03 13:44:53 +02:00
i915_hwmon.c
i915_hwmon.h
i915_ioc32.c
i915_ioc32.h
i915_ioctl.c
i915_ioctl.h
i915_iosf_mbi.h x86/platform/iosf_mbi: Remove unused iosf_mbi_unregister_pmic_bus_access_notifier() 2025-04-01 20:31:39 +02:00
i915_irq.c drm/i915: Hook up display fault interrupts for VLV/CHV 2025-02-18 01:25:42 +02:00
i915_irq.h drm/i915: Introduce i915_error_regs 2025-02-18 01:25:31 +02:00
i915_memcpy.c
i915_memcpy.h
i915_mitigations.c
i915_mitigations.h
i915_mm.c drm/i915: ensure segment offset never exceeds allowed max 2024-12-05 14:29:48 +01:00
i915_mm.h
i915_module.c Merge tag 'drm-intel-gt-next-2025-02-26' of https://gitlab.freedesktop.org/drm/i915/kernel into drm-next 2025-03-13 07:54:41 +10:00
i915_params.c
i915_params.h
i915_pci.c drm/intel/pciids: rename i915_pciids.h to just pciids.h 2024-10-29 16:14:04 +02:00
i915_pci.h
i915_perf.c drm for 6.15-rc1 2025-03-28 17:44:52 -07:00
i915_perf.h
i915_perf_oa_regs.h
i915_perf_types.h
i915_pmu.c drm for 6.15-rc1 2025-03-28 17:44:52 -07:00
i915_pmu.h Merge tag 'drm-intel-gt-next-2025-02-26' of https://gitlab.freedesktop.org/drm/i915/kernel into drm-next 2025-03-13 07:54:41 +10:00
i915_priolist_types.h
i915_pvinfo.h
i915_query.c
i915_query.h
i915_reg.h drm/i915/display: convert intel_display.c to struct intel_display 2025-03-05 20:04:41 +02:00
i915_reg_defs.h drm/i915: Introduce i915_error_regs 2025-02-18 01:25:31 +02:00
i915_request.c drm for 6.15-rc1 2025-03-28 17:44:52 -07:00
i915_request.h drm/i915: fix typos in drm/i915 files 2025-01-23 05:48:23 -05:00
i915_scatterlist.c
i915_scatterlist.h
i915_scheduler.c drm/i915: Fix memory leak by correcting cache object name in error handler 2024-12-09 10:29:06 +00:00
i915_scheduler.h
i915_scheduler_types.h
i915_selftest.h
i915_sw_fence.c
i915_sw_fence.h
i915_sw_fence_work.c
i915_sw_fence_work.h
i915_switcheroo.c
i915_switcheroo.h
i915_syncmap.c
i915_syncmap.h
i915_sysfs.c drm/i915: Constify 'struct bin_attribute' 2025-02-21 09:20:31 +01:00
i915_sysfs.h
i915_tasklet.h
i915_trace.h drm/i915: extract intel_uncore_trace.[ch] 2024-12-16 18:09:31 +02:00
i915_trace_points.c
i915_ttm_buddy_manager.c
i915_ttm_buddy_manager.h
i915_user_extensions.c
i915_user_extensions.h
i915_utils.c treewide: Switch/rename to timer_delete[_sync]() 2025-04-05 10:30:12 +02:00
i915_utils.h
i915_vgpu.c
i915_vgpu.h
i915_vma.c drm/i915: Relocate intel_{rotation,remapped}_info_size() 2025-02-15 21:04:06 +02:00
i915_vma.h
i915_vma_resource.c
i915_vma_resource.h
i915_vma_types.h drm/i915: split out i915_gtt_view_types.h from i915_vma_types.h 2025-03-03 13:44:53 +02:00
intel_clock_gating.c drm/i915: fix typos in drm/i915 files 2025-01-23 05:48:23 -05:00
intel_clock_gating.h
intel_cpu_info.c drm/i915: Introduce intel_cpu_info.c for CPU IDs 2024-12-11 23:45:09 +01:00
intel_cpu_info.h drm/i915: Introduce intel_cpu_info.c for CPU IDs 2024-12-11 23:45:09 +01:00
intel_device_info.c drm/i915/dg2: Introduce DG2_D subplatform 2024-12-11 23:45:08 +01:00
intel_device_info.h drm/i915/dg2: Introduce DG2_D subplatform 2024-12-11 23:45:08 +01:00
intel_gvt.c drm/i915: fix typos in drm/i915 files 2025-01-23 05:48:23 -05:00
intel_gvt.h
intel_gvt_mmio_table.c drm/i915/pfit: split out intel_pfit_regs.h 2025-02-27 20:49:10 +02:00
intel_mchbar_regs.h
intel_memory_region.c
intel_memory_region.h
intel_pci_config.h
intel_pcode.c
intel_pcode.h
intel_region_ttm.c
intel_region_ttm.h
intel_runtime_pm.c drm/i915: fix typos in drm/i915 files 2025-01-23 05:48:23 -05:00
intel_runtime_pm.h drm/i915: fix typos in drm/i915 files 2025-01-23 05:48:23 -05:00
intel_sbi.c drm/i915/sbi: add a dedicated mutex for LPT/WPT IOSF sideband 2024-11-05 12:19:34 +02:00
intel_sbi.h drm/i915/sbi: add a dedicated mutex for LPT/WPT IOSF sideband 2024-11-05 12:19:34 +02:00
intel_step.c
intel_step.h
intel_uncore.c drm for 6.15-rc1 2025-03-28 17:44:52 -07:00
intel_uncore.h drm/i915/uncore: add to_intel_uncore() and use it 2024-12-16 18:09:38 +02:00
intel_uncore_trace.c drm/i915: extract intel_uncore_trace.[ch] 2024-12-16 18:09:31 +02:00
intel_uncore_trace.h drm/i915: extract intel_uncore_trace.[ch] 2024-12-16 18:09:31 +02:00
intel_wakeref.c treewide: Switch/rename to timer_delete[_sync]() 2025-04-05 10:30:12 +02:00
intel_wakeref.h drm/i915: switch intel_wakeref_t underlying type to struct ref_tracker * 2024-09-30 17:54:13 +03:00
vlv_sideband.c drm/i915: hide VLV PUNIT IOSF sideband qos handling better 2024-11-05 12:19:34 +02:00
vlv_sideband.h drm/i915: add a dedicated mutex for VLV/CHV IOSF sideband 2024-11-05 12:19:34 +02:00
vlv_sideband_reg.h
vlv_suspend.c drm/i915: extract intel_uncore_trace.[ch] 2024-12-16 18:09:31 +02:00
vlv_suspend.h