Files
linux/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
..
2024-08-28 12:06:07 +05:30
2022-08-10 13:11:17 +03:00
2023-11-20 12:36:56 +01:00
2024-03-22 14:14:52 -07:00
2024-08-08 17:33:51 +03:00
2024-04-25 20:55:49 -07:00
2022-07-17 14:53:47 -04:00
2023-11-20 12:36:56 +01:00
2023-11-20 12:36:56 +01:00
2023-11-22 19:13:02 +02:00