mirror-linux/drivers/gpu/drm/i915
Jani Nikula 6b8446859c drm/i915/dsi: fix DSS CTL register offsets for TGL+
On TGL+ the DSS control registers are at different offsets, and there's
one per pipe. Fix the offsets to fix dual link DSI for TGL+.

There would be helpers for this in the DSC code, but just do the quick
fix now for DSI. Long term, we should probably move all the DSS handling
into intel_vdsc.c, so exporting the helpers seems counter-productive.

Closes: https://gitlab.freedesktop.org/drm/intel/-/issues/8232
Cc: Ville Syrjala <ville.syrjala@linux.intel.com>
Cc: stable@vger.kernel.org
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20230301151409.1581574-1-jani.nikula@intel.com
(cherry picked from commit 1a62dd9895)
2023-04-11 11:41:57 +03:00
..
display drm/i915/dsi: fix DSS CTL register offsets for TGL+ 2023-04-11 11:41:57 +03:00
gem drm/i915/ttm: fix sparse warning 2023-04-03 11:36:14 +03:00
gt drm/i915: Fix context runtime accounting 2023-04-03 11:37:00 +03:00
gvt drm-next-fixes for 6.3-rc1 2023-03-02 15:08:54 -08:00
pxp drm/i915: remove a couple of superfluous i915_drm.h includes 2023-01-18 11:55:08 +02:00
selftests Merge tag 'drm-intel-gt-next-2023-02-01' of git://anongit.freedesktop.org/drm/drm-intel into drm-next 2023-02-03 04:51:18 +10:00
soc drm/i915/gmch: move VGA set state to GMCH code 2023-01-25 13:52:36 +02:00
.gitignore
Kconfig drm-next-fixes for 6.3-rc1 2023-03-02 15:08:54 -08:00
Kconfig.debug
Kconfig.profile drm/i915: Improve long running compute w/a for GuC submission 2022-10-24 12:12:47 -07:00
Kconfig.unstable
Makefile drm/i915/gmch: split out soc/intel_gmch 2023-01-25 13:52:29 +02:00
TODO.txt drm/i915/tasklet: separate local hacks around struct tasklet_struct 2022-06-07 21:47:19 +03:00
i915_active.c drm/i915/active: Fix missing debug object activation 2023-03-20 11:00:22 +02:00
i915_active.h
i915_active_types.h
i915_cmd_parser.c drm/i915: Wrap all access to i915_vma.node.start|size 2022-12-06 10:52:42 +01:00
i915_cmd_parser.h
i915_config.c drm/i915: add i915_config.h and move relevant declarations there 2023-01-20 10:13:50 +02:00
i915_config.h drm/i915: add i915_config.h and move relevant declarations there 2023-01-20 10:13:50 +02:00
i915_debugfs.c Merge drm/drm-next into drm-intel-next 2023-01-25 11:41:16 +02:00
i915_debugfs.h
i915_debugfs_params.c drm/i915/params: use generics for parameter debugfs file creation 2023-01-25 16:25:36 +02:00
i915_debugfs_params.h
i915_deps.c drm/ttm: merge ttm_bo_api.h and ttm_bo_driver.h v2 2022-12-06 12:54:14 +01:00
i915_deps.h
i915_driver.c Linux 6.2-rc6 2023-01-31 12:23:23 +01:00
i915_driver.h
i915_drm_client.c drm/i915/fdinfo: Don't show engine classes not present 2022-06-20 13:07:49 +03:00
i915_drm_client.h drm/i915/client: only include what's needed 2022-06-07 21:31:17 +03:00
i915_drv.h Merge tag 'drm-intel-gt-next-2023-02-01' of git://anongit.freedesktop.org/drm/drm-intel into drm-next 2023-02-03 04:51:18 +10:00
i915_file_private.h
i915_fixed.h
i915_gem.c Merge tag 'drm-intel-gt-next-2023-01-18' of git://anongit.freedesktop.org/drm/drm-intel into drm-next 2023-01-24 16:20:43 +01:00
i915_gem.h drm/i915: move I915_GEM_GPU_DOMAINS to i915_gem.h 2023-01-20 10:14:31 +02:00
i915_gem_evict.c drm/i915: improve the catch-all evict to handle lock contention 2022-12-30 03:04:39 -05:00
i915_gem_evict.h drm/i915: improve the catch-all evict to handle lock contention 2022-12-30 03:04:39 -05:00
i915_gem_gtt.c treewide: use get_random_u32() when possible 2022-10-11 17:42:58 -06:00
i915_gem_gtt.h Merge drm/drm-next into drm-intel-next 2023-01-25 11:41:16 +02:00
i915_gem_ww.c
i915_gem_ww.h
i915_getparam.c drm/i915: Partial abandonment of legacy DRM logging macros 2022-11-10 12:35:46 +00:00
i915_getparam.h
i915_gpu_error.c drm/i915: Fix up locking around dumping requests lists 2023-01-30 15:48:21 -05:00
i915_gpu_error.h drm/i915/guc: Rename GuC register state capture node to be more obvious 2023-01-27 13:01:26 -08:00
i915_hwmon.c Revert "drm/i915/hwmon: Enable PL1 power limit" 2023-03-20 12:31:01 +02:00
i915_hwmon.h drm/i915/hwmon: Add HWMON infrastructure 2022-10-17 14:49:29 +05:30
i915_ioc32.c
i915_ioc32.h
i915_ioctl.c
i915_ioctl.h
i915_iosf_mbi.h
i915_irq.c drm/i915/irq: split out vblank/scanline code to intel_vblank.[ch] 2023-01-18 11:05:41 +02:00
i915_irq.h drm/i915/irq: split out vblank/scanline code to intel_vblank.[ch] 2023-01-18 11:05:41 +02:00
i915_memcpy.c
i915_memcpy.h
i915_mitigations.c
i915_mitigations.h
i915_mm.c
i915_mm.h
i915_module.c
i915_params.c drm/i915/params: use generics for parameter free 2023-01-25 16:25:35 +02:00
i915_params.h drm/i915/uc: Introduce GSC FW 2022-12-09 08:28:41 -08:00
i915_pci.c drm/i915/display: add intel_display_limits.h for key enums 2023-01-25 13:59:12 +02:00
i915_pci.h drm/i915: Sanitycheck PCI BARs 2022-08-10 13:11:17 +03:00
i915_perf.c drm/i915: fix race condition UAF in i915_perf_add_config_ioctl 2023-04-03 11:36:55 +03:00
i915_perf.h drm/i915/perf: Apply Wa_18013179988 2022-10-27 12:36:53 -07:00
i915_perf_oa_regs.h drm/i915/perf: Enable bytes per clock reporting in OA 2022-10-27 12:36:19 -07:00
i915_perf_types.h drm/i915/perf: Drop wakeref on GuC RC error 2023-03-27 13:22:24 +03:00
i915_pmu.c drm/i915/pmu: Use functions common with sysfs to read actual freq 2023-03-27 13:21:40 +03:00
i915_pmu.h
i915_priolist_types.h
i915_pvinfo.h
i915_query.c drm/i915: Partial abandonment of legacy DRM logging macros 2022-11-10 12:35:46 +00:00
i915_query.h
i915_reg.h drm/i915/mtl: Disable MC6 for MTL A step 2023-03-20 11:00:11 +02:00
i915_reg_defs.h Merge drm/drm-next into drm-intel-next 2022-11-14 14:32:34 -05:00
i915_request.c drm/i915: add i915_config.h and move relevant declarations there 2023-01-20 10:13:50 +02:00
i915_request.h drm/i915/huc: stall media submission until HuC is loaded 2022-10-03 11:29:19 -07:00
i915_scatterlist.c drm/i915: Fix memory leaks in scatterlist 2023-02-15 17:33:07 +02:00
i915_scatterlist.h drm/i915: stop abusing swiotlb_max_segment 2022-10-31 12:32:04 +00:00
i915_scheduler.c
i915_scheduler.h drm/i915/tasklet: separate local hacks around struct tasklet_struct 2022-06-07 21:47:19 +03:00
i915_scheduler_types.h
i915_selftest.h drm/i915/guc: Delay disabling guc_id scheduling for better hysteresis 2022-10-26 17:29:43 -07:00
i915_suspend.c
i915_suspend.h
i915_sw_fence.c treewide: Convert del_timer*() to timer_shutdown*() 2022-12-25 13:38:09 -08:00
i915_sw_fence.h drm/i915: Remove unused function parameter 2022-09-24 00:59:13 -04:00
i915_sw_fence_work.c
i915_sw_fence_work.h
i915_switcheroo.c drm/i915: Allow switching away via vga-switcheroo if uninitialized 2023-01-18 17:12:23 +01:00
i915_switcheroo.h
i915_syncmap.c
i915_syncmap.h
i915_sysfs.c drm/i915: Partial abandonment of legacy DRM logging macros 2022-11-10 12:35:46 +00:00
i915_sysfs.h
i915_tasklet.h drm/i915/tasklet: separate local hacks around struct tasklet_struct 2022-06-07 21:47:19 +03:00
i915_trace.h Merge drm/drm-next into drm-intel-next 2022-11-14 14:32:34 -05:00
i915_trace_points.c
i915_ttm_buddy_manager.c drm/ttm: merge ttm_bo_api.h and ttm_bo_driver.h v2 2022-12-06 12:54:14 +01:00
i915_ttm_buddy_manager.h drm/i915/uapi: expose the avail tracking 2022-07-01 08:29:59 +01:00
i915_user_extensions.c overflow: Introduce overflows_type() and castable_to_type() 2022-11-02 12:39:27 -07:00
i915_user_extensions.h
i915_utils.c
i915_utils.h Merge drm/drm-next into drm-intel-gt-next 2022-12-30 04:18:36 -05:00
i915_vgpu.c
i915_vgpu.h
i915_vma.c drm/i915/display: add intel_display_limits.h for key enums 2023-01-25 13:59:12 +02:00
i915_vma.h drm/i915: Introduce guard pages to i915_vma 2022-12-06 10:52:45 +01:00
i915_vma_resource.c drm/i915: Introduce guard pages to i915_vma 2022-12-06 10:52:45 +01:00
i915_vma_resource.h drm/i915: Introduce guard pages to i915_vma 2022-12-06 10:52:45 +01:00
i915_vma_types.h drm/i915: Introduce guard pages to i915_vma 2022-12-06 10:52:45 +01:00
intel_device_info.c drm/i915/display: add intel_display_limits.h for key enums 2023-01-25 13:59:12 +02:00
intel_device_info.h drm/i915/display: add intel_display_limits.h for key enums 2023-01-25 13:59:12 +02:00
intel_gvt.c
intel_gvt.h
intel_gvt_mmio_table.c drm/i915/display: add intel_display_limits.h for key enums 2023-01-25 13:59:12 +02:00
intel_mchbar_regs.h drm/i915/hwmon: Display clamped PL1 limit 2023-01-06 15:53:59 +05:30
intel_memory_region.c drm/i915: drop cast from DEFINE_RES_MEM() usage 2023-01-18 11:45:23 +02:00
intel_memory_region.h drm/i915: remove intel_memory_region avail 2022-07-01 08:29:59 +01:00
intel_pci_config.h drm/i915: Name our BARs based on the spec 2022-10-20 21:08:42 +03:00
intel_pcode.c
intel_pcode.h
intel_pm.c drm/i915: Fix GEN8_MISCCPCTL 2023-02-15 17:33:07 +02:00
intel_pm.h drm/i915: Extract skl_watermark.c 2022-09-09 16:50:33 +03:00
intel_pm_types.h drm/i915/display: add intel_display_limits.h for key enums 2023-01-25 13:59:12 +02:00
intel_region_ttm.c Merge tag 'drm-intel-gt-next-2023-01-18' of git://anongit.freedesktop.org/drm/drm-intel into drm-next 2023-01-24 16:20:43 +01:00
intel_region_ttm.h drm/i915/ttm: fix 32b build 2022-07-17 14:53:47 -04:00
intel_runtime_pm.c Merge tag 'drm-intel-gt-next-2022-11-03' of git://anongit.freedesktop.org/drm/drm-intel into drm-next 2022-11-04 17:33:34 +10:00
intel_runtime_pm.h drm/i915: remove struct_member macro 2022-12-13 16:16:23 +01:00
intel_sbi.c
intel_sbi.h
intel_step.c drm/i915/rpl-p: Add stepping info 2022-11-18 08:30:42 -08:00
intel_step.h drm/i915: Parse and set stepping for platforms with GMD 2022-09-23 17:37:23 -07:00
intel_uncore.c Merge drm/drm-next into drm-intel-gt-next 2022-12-30 04:18:36 -05:00
intel_uncore.h drm/i915/gsc: Do a driver-FLR on unload if GSC was loaded 2022-12-09 08:28:46 -08:00
intel_wakeref.c
intel_wakeref.h drm/i915: Update docs in intel_wakeref.h 2023-01-06 08:06:08 -05:00
vlv_sideband.c drm/i915/display: add intel_display_limits.h for key enums 2023-01-25 13:59:12 +02:00
vlv_sideband.h
vlv_sideband_reg.h
vlv_suspend.c drm/i915: use proper helper for register updates 2022-10-11 13:36:45 +02:00
vlv_suspend.h