2
0
mirror of git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git synced 2025-09-04 20:19:47 +08:00
linux/drivers/gpu/drm/i915
Abel Vesa 6dcc3c5121 drm/i915/dp: Use the generic helper to control LTTPR transparent mode
LTTPRs operating modes are defined by the DisplayPort standard and the
generic framework now provides a helper to switch between them, which
is handling the explicit disabling of non-transparent mode and its
disable->enable sequence mentioned in the DP Standard v2.0 section
3.6.6.1.

So use the new drm generic helper instead as it makes the code a bit
cleaner. Since the driver specific implementation holds the
lttrp_common_caps, if the call to the drm generic helper fails, the
lttrp_common_caps need to be updated as the helper has already rolled
back to transparent mode.

Acked-by: Imre Deak <imre.deak@intel.com>
Signed-off-by: Abel Vesa <abel.vesa@linaro.org>
Reviewed-by: Suraj Kandpal <suraj.kandpal@intel.com>
Acked-by: Jani Nikula <jani.nikula@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20250203-drm-dp-msm-add-lttpr-transparent-mode-set-v5-3-c865d0e56d6e@linaro.org
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
2025-02-25 18:34:14 +02:00
..
display drm/i915/dp: Use the generic helper to control LTTPR transparent mode 2025-02-25 18:34:14 +02:00
gem drm/i915: Fix page cleanup on DMA remap failure 2025-02-03 09:26:49 -05:00
gt Linux 6.14-rc4 2025-02-25 17:36:09 +10:00
gvt drm/i915/gvt: always pass struct intel_display * to register macros 2024-12-16 18:09:18 +02:00
pxp Merge tag 'drm-intel-gt-next-2024-10-23' of https://gitlab.freedesktop.org/drm/i915/kernel into drm-next 2024-10-25 05:57:38 +10:00
selftests drm/i915/selftests: avoid using uninitialized context 2025-02-10 11:39:17 -05:00
soc drm/i915/soc: stop using IS_GEN9_LP() and IS_GEN9_BC() 2024-10-02 12:06:20 +03:00
.gitignore
i915_active_types.h
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_cmd_parser.c drm/i915: Use kmap_local_page() in i915_cmd_parser.c 2023-12-15 09:34:30 +00:00
i915_cmd_parser.h
i915_config.c
i915_config.h
i915_debugfs_params.c drm/i915: fix build with missing debugfs includes 2024-04-26 13:54:37 +10:00
i915_debugfs_params.h
i915_debugfs.c drm/i915/debugfs: add dedicated intel_display_caps debugfs for display 2024-09-19 12:43:13 +03:00
i915_debugfs.h
i915_deps.c
i915_deps.h
i915_driver.c Merge drm/drm-next into drm-intel-next 2025-01-07 18:07:54 +02: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 drm/i915: remove i915_drm_client::id 2024-02-19 15:35:23 -05:00
i915_drv.h drm/i915/dg2: Introduce DG2_D subplatform 2024-12-11 23:45:08 +01:00
i915_file_private.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_gem.c drm/i915: remove unnecessary display includes 2024-08-26 10:56:51 +03:00
i915_gem.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 Linux 6.13-rc3 2024-12-19 12:00:02 +10:00
i915_gpu_error.h drm/i915/display: move device info and params handling to snapshot 2024-09-13 10:44:15 +03:00
i915_hwmon.c drm/i915/hwmon: expose package temperature 2024-09-13 11:21:16 +02:00
i915_hwmon.h
i915_ioc32.c
i915_ioc32.h
i915_ioctl.c
i915_ioctl.h
i915_iosf_mbi.h
i915_irq.c drm/i915/irq: hide display_irqs_enabled access 2024-11-22 13:56:35 +02:00
i915_irq.h drm/i915/irq: s/gen3/gen2/ 2024-10-15 17:29:30 +03:00
i915_memcpy.c drm/i915: Add includes for BUG_ON/BUILD_BUG_ON in i915_memcpy.c 2024-03-28 10:42:46 -04:00
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 drm/i915/gem: Calculate object page offset for partial memory mapping 2024-08-21 15:28:33 +02:00
i915_module.c drm/i915: deprecate the i915.modeset module parameter 2024-08-29 17:53:02 +03:00
i915_params.c drm/i915: deprecate the i915.modeset module parameter 2024-08-29 17:53:02 +03:00
i915_params.h drm/i915: Support replaying GPU hangs with captured context image 2024-05-16 07:37:05 +00:00
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_oa_regs.h
i915_perf_types.h drm/i915: remove i915_perf_stream::size_exponent 2024-02-19 15:35:30 -05:00
i915_perf.c treewide: const qualify ctl_tables where applicable 2025-01-28 13:48:37 +01:00
i915_perf.h
i915_pmu.c drm/i915/pmu: Remove pointless synchronize_rcu() call 2024-11-05 11:24:33 -08:00
i915_pmu.h drm/i915/pmu: Replace closed with registered 2024-11-05 11:24:33 -08:00
i915_priolist_types.h
i915_pvinfo.h
i915_query.c drm/i915: Update IP_VER(12, 50) 2024-03-22 14:14:52 -07:00
i915_query.h
i915_reg_defs.h drm/i915/irq: add struct i915_irq_regs triplet 2024-10-03 15:42:41 +03:00
i915_reg.h drm/i915/ddi: Fix HDMI port width programming in DDI_BUF_CTL 2025-02-17 09:22:52 -05:00
i915_request.c drm/i915/request: Remove unnecessary modification of hrtimer:: Function 2024-11-07 02:47:04 +01:00
i915_request.h
i915_scatterlist.c drm/i915/gem: Suppress oom warning in favour of ENOMEM to userspace 2024-06-28 00:11:01 +02:00
i915_scatterlist.h drm/i915: Implement for_each_sgt_daddr_next 2023-09-30 13:49:22 +02:00
i915_scheduler_types.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_selftest.h
i915_sw_fence_work.c
i915_sw_fence_work.h
i915_sw_fence.c drm/i915/fence: Mark debug_fence_free() with __maybe_unused 2024-09-02 13:25:31 +03:00
i915_sw_fence.h
i915_switcheroo.c
i915_switcheroo.h
i915_syncmap.c drm/i915: Add flex arrays to struct i915_syncmap 2024-02-12 11:59:37 +00:00
i915_syncmap.h
i915_sysfs.c drm/i915: Replace double blank with single blank after comma 2024-08-08 12:26:33 +01:00
i915_sysfs.h
i915_tasklet.h
i915_trace_points.c
i915_trace.h drm/i915: extract intel_uncore_trace.[ch] 2024-12-16 18:09:31 +02:00
i915_ttm_buddy_manager.c drm/buddy: Implement tracking clear page feature 2024-04-22 19:44:16 +02:00
i915_ttm_buddy_manager.h
i915_user_extensions.c
i915_user_extensions.h
i915_utils.c drm next for 6.12-rc1 2024-09-19 10:18:15 +02:00
i915_utils.h drm/i915: use IS_ENABLED() instead of defined() on config options 2024-09-05 21:12:08 +03:00
i915_vgpu.c
i915_vgpu.h
i915_vma_resource.c drm/i915/vma: constify unbind_fence_ops 2023-08-25 09:02:55 +03:00
i915_vma_resource.h
i915_vma_types.h drm/i915: remove i915_vma::obj_hash 2024-02-19 15:36:34 -05:00
i915_vma.c drm/i915: use NULL for zero wakeref_t instead of plain integer 0 2024-10-04 10:29:24 +03:00
i915_vma.h drm: Fix kerneldoc for "Returns" section 2024-08-26 16:40:09 +02:00
intel_clock_gating.c drm/i915: remove all IS_<PLATFORM>_GT<N>() macros 2024-10-24 13:14:37 +03: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_mmio_table.c drm/i915: split out i9xx_wm_regs.h 2024-12-16 14:20:02 +02:00
intel_gvt.c module: Convert symbol namespace to string literal 2024-12-02 11:34:44 -08:00
intel_gvt.h
intel_mchbar_regs.h drm/i915/hwmon: expose package temperature 2024-09-13 11:21:16 +02:00
intel_memory_region.c drm/i915: Allow NULL memory region 2024-07-23 09:34:13 +00:00
intel_memory_region.h Merge drm/drm-next into drm-intel-gt-next 2024-05-16 07:33:01 +00:00
intel_pci_config.h drm: move i915_drm.h under include/drm/intel 2024-05-31 16:11:09 +03:00
intel_pcode.c
intel_pcode.h
intel_region_ttm.c drm/i915: Use struct resource for memory region IO as well 2024-02-07 01:58:40 +02:00
intel_region_ttm.h
intel_runtime_pm.c drm/i915: use NULL for zero wakeref_t instead of plain integer 0 2024-10-04 10:29:24 +03:00
intel_runtime_pm.h drm/i915/dp: Assume panel power is off if runtime suspended 2024-10-11 14:55:01 +03: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 drm/i915: remove display stepping handling 2024-08-22 15:48:17 +03:00
intel_step.h drm/i915: remove unused leftover basedie step code 2024-08-26 11:38:44 +03: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_uncore.c drm/i915/uncore: add to_intel_uncore() and use it 2024-12-16 18:09:38 +02:00
intel_uncore.h drm/i915/uncore: add to_intel_uncore() and use it 2024-12-16 18:09:38 +02:00
intel_wakeref.c drm/i915: use NULL for zero wakeref_t instead of plain integer 0 2024-10-04 10:29:24 +03:00
intel_wakeref.h drm/i915: switch intel_wakeref_t underlying type to struct ref_tracker * 2024-09-30 17:54:13 +03:00
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 drm/i915: Support replaying GPU hangs with captured context image 2024-05-16 07:37:05 +00:00
Kconfig.profile
Makefile drm/i915/display: add intel_display_conversion.c to hide stuff better 2024-12-16 18:09:35 +02:00
TODO.txt
vlv_sideband_reg.h
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_suspend.c drm/i915: extract intel_uncore_trace.[ch] 2024-12-16 18:09:31 +02:00
vlv_suspend.h