linux-yocto/drivers/gpu/drm/i915
Ville Syrjälä 67e023b93d drm/i915: Grab intel_display from the encoder to avoid potential oopsies
Grab the intel_display from 'encoder' rather than 'state'
in the encoder hooks to avoid the massive footgun that is
intel_sanitize_encoder(), which passes NULL as the 'state'
argument to encoder .disable() and .post_disable().

TODO: figure out how to actually fix intel_sanitize_encoder()...

Fixes: ab0b0eb5c8 ("drm/i915/tv: convert to struct intel_display")
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20241107161123.16269-2-ville.syrjala@linux.intel.com
Reviewed-by: Jani Nikula <jani.nikula@intel.com>
(cherry picked from commit dc3806d9eb)
Signed-off-by: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
2024-11-12 11:08:06 +02:00
..
display drm/i915: Grab intel_display from the encoder to avoid potential oopsies 2024-11-12 11:08:06 +02:00
gem drm/i915/gem: fix bitwise and logical AND mixup 2024-10-01 10:28:29 +03:00
gt drm/i915/gsc: ARL-H and ARL-U need a newer GSC FW. 2024-11-12 09:44:55 +02:00
gvt drm-misc-next for v6.12: 2024-08-22 09:42:23 +02:00
pxp drm: move i915_pxp_tee_interface.h under include/drm/intel 2024-05-31 16:11:25 +03:00
selftests drm/i915 & drm/xe: save struct drm_device to drvdata 2024-09-02 15:01:59 +03:00
soc drm/i915: move comments about FSB straps to proper place 2024-06-17 11:54:31 +03:00
.gitignore
i915_active_types.h
i915_active.c
i915_active.h
i915_cmd_parser.c
i915_cmd_parser.h
i915_config.c
i915_config.h
i915_debugfs_params.c
i915_debugfs_params.h
i915_debugfs.c drm/i915/display: convert params to struct intel_display 2024-08-23 11:52:04 +03:00
i915_debugfs.h
i915_deps.c
i915_deps.h
i915_driver.c drm next for 6.12-rc1 2024-09-19 10:18:15 +02:00
i915_driver.h
i915_drm_client.c
i915_drm_client.h
i915_drv.h drm/i915/gsc: ARL-H and ARL-U need a newer GSC FW. 2024-11-12 09:44:55 +02:00
i915_file_private.h
i915_gem_evict.c
i915_gem_evict.h
i915_gem_gtt.c drm/i915: remove unnecessary display includes 2024-08-26 10:56:51 +03: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
i915_getparam.h
i915_gpu_error.c drm/i915/display: convert params to struct intel_display 2024-08-23 11:52:04 +03:00
i915_gpu_error.h
i915_hwmon.c drm/i915/hwmon: expose fan speed 2024-08-28 12:06:07 +05:30
i915_hwmon.h
i915_ioc32.c
i915_ioc32.h
i915_ioctl.c
i915_ioctl.h
i915_iosf_mbi.h
i915_irq.c drm/i915: remove unnecessary display includes 2024-08-26 10:56:51 +03:00
i915_irq.h
i915_memcpy.c
i915_memcpy.h
i915_mitigations.c
i915_mitigations.h
i915_mm.c drm/i915/gem: Calculate object page offset for partial memory mapping 2024-08-21 15:28:33 +02: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/i915: remove unnecessary display includes 2024-08-26 10:56:51 +03:00
i915_pci.h
i915_perf_oa_regs.h
i915_perf_types.h
i915_perf.c [tree-wide] finally take no_llseek out 2024-09-27 08:18:43 -07:00
i915_perf.h
i915_pmu.c
i915_pmu.h
i915_priolist_types.h
i915_pvinfo.h
i915_query.c
i915_query.h
i915_reg_defs.h
i915_reg.h drm/i915/dsb: Hook up DSB error interrupts 2024-08-29 14:53:48 +03:00
i915_request.c
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
i915_scheduler_types.h
i915_scheduler.c
i915_scheduler.h
i915_selftest.h
i915_suspend.c drm/i915: pass dev_priv explicitly to SWF3 2024-06-07 11:28:55 +03:00
i915_suspend.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
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
i915_ttm_buddy_manager.c
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: remove __i915_printk() 2024-08-08 17:33:51 +03:00
i915_vgpu.c
i915_vgpu.h
i915_vma_resource.c
i915_vma_resource.h
i915_vma_types.h
i915_vma.c
i915_vma.h drm: Fix kerneldoc for "Returns" section 2024-08-26 16:40:09 +02:00
intel_clock_gating.c drm/i915: reduce includes in intel_clock_gating.c 2024-05-31 15:51:26 +03:00
intel_clock_gating.h
intel_device_info.c drm/i915/gsc: ARL-H and ARL-U need a newer GSC FW. 2024-11-12 09:44:55 +02:00
intel_device_info.h drm/i915/gsc: ARL-H and ARL-U need a newer GSC FW. 2024-11-12 09:44:55 +02:00
intel_gvt_mmio_table.c drm/i915: pass dev_priv explicitly to PIPE_LINK_N2 2024-06-07 11:29:02 +03:00
intel_gvt.c
intel_gvt.h
intel_mchbar_regs.h
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
intel_region_ttm.h
intel_runtime_pm.c
intel_runtime_pm.h
intel_sbi.c
intel_sbi.h
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.c drm/i915/gt: Mark the GT as dead when mmio is unreliable 2024-08-09 12:51:17 +01:00
intel_uncore.h
intel_wakeref.c
intel_wakeref.h
Kconfig i915: fix DRM_I915_GVT_KVMGT dependencies 2024-10-21 09:51:05 +03:00
Kconfig.debug drm/i915: Support replaying GPU hangs with captured context image 2024-05-16 07:37:05 +00:00
Kconfig.profile
Makefile Merge drm/drm-next into drm-intel-next 2024-06-19 11:38:31 +03:00
TODO.txt
vlv_sideband_reg.h
vlv_sideband.c
vlv_sideband.h
vlv_suspend.c
vlv_suspend.h