summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorFangzhi Zuo <Jerry.Zuo@amd.com>2026-08-31 12:50:56 -0400
committerAlex Deucher <alexander.deucher@amd.com>2026-09-10 12:06:45 -0400
commitdd601ed4ce28efe8b1452b9323a2c5499060d71b (patch)
tree495216357a4c696d2e88afd05d6eed9135af00a8 /tools/perf/scripts/python
parentc96a5de851c88ac1809f1fc494fc551fa5804d2b (diff)
downloadlinux-dd601ed4ce28efe8b1452b9323a2c5499060d71b.tar.gz
linux-dd601ed4ce28efe8b1452b9323a2c5499060d71b.zip
drm/amd/display: Fix NULL deref of new_stream->sink in VTEM guard
[Why & How] amdgpu_dm_update_freesync_state_on_stream() keyed the VTEM guard off new_stream->sink->sink_signal, but new_stream->sink can be NULL, leading to a NULL pointer dereference. Use new_stream->signal instead, which is a direct field of the already validated new_stream and carries the same HDMI signal type. This matches the ALLM block in the same function, which already uses new_stream->signal. Fixes: 640fd039dc8b ("drm/amd/display: Emit VTEM for HF-VSDB VRR on TMDS links") Reviewed-by: Tom Chung <chiahsuan.chung@amd.com> Signed-off-by: Fangzhi Zuo <Jerry.Zuo@amd.com> Signed-off-by: Ray Wu <ray.wu@amd.com> Tested-by: Dan Wheeler <daniel.wheeler@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions