aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c
diff options
context:
space:
mode:
authorVille Syrjälä <[email protected]>2024-11-07 16:11:14 +0000
committerJoonas Lahtinen <[email protected]>2024-11-12 09:08:06 +0000
commit67e023b93d69e5a21b16f9602656a803d314e825 (patch)
tree178e792e0748da8a5af0c933ddecc41fc1ed7aac /drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c
parentdrm/i915/gsc: ARL-H and ARL-U need a newer GSC FW. (diff)
downloadkernel-67e023b93d69e5a21b16f9602656a803d314e825.tar.gz
kernel-67e023b93d69e5a21b16f9602656a803d314e825.zip
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: ab0b0eb5c85c ("drm/i915/tv: convert to struct intel_display") Signed-off-by: Ville Syrjälä <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected] Reviewed-by: Jani Nikula <[email protected]> (cherry picked from commit dc3806d9eb66d0105f8d55d462d4ef681d9eac59) Signed-off-by: Joonas Lahtinen <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c')
0 files changed, 0 insertions, 0 deletions