aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/bin
diff options
context:
space:
mode:
authorVille Syrjälä <ville.syrjala@linux.intel.com>2024-11-07 18:11:14 +0200
committerVille Syrjälä <ville.syrjala@linux.intel.com>2024-11-11 23:50:00 +0200
commitdc3806d9eb66d0105f8d55d462d4ef681d9eac59 (patch)
tree8fe117460cd9576ac489bed59dfcbc9260de2362 /tools/perf/scripts/python/bin
parentdrm/i915/psr: stop using bitwise OR with booleans in wm_optimization_wa() (diff)
downloadlinux-dc3806d9eb66d0105f8d55d462d4ef681d9eac59.tar.gz
linux-dc3806d9eb66d0105f8d55d462d4ef681d9eac59.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: 40eb34c3f491 ("drm/i915/crt: convert to struct intel_display") Fixes: ab0b0eb5c85c ("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>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions