aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorNicholas Kazlauskas <nicholas.kazlauskas@amd.com>2021-12-17 14:18:59 -0500
committerAlex Deucher <alexander.deucher@amd.com>2021-12-28 16:03:35 -0500
commit88eabcb8e6965b38331618f60567dfe92ad3c42c (patch)
treeaa0ce770f4a098635b68be07b52165084809c85f /tools/perf/scripts/python/export-to-postgresql.py
parentdrm/amdgpu: Send Message to SMU on aldebaran passthrough for sbr handling (diff)
downloadwireguard-linux-88eabcb8e6965b38331618f60567dfe92ad3c42c.tar.xz
wireguard-linux-88eabcb8e6965b38331618f60567dfe92ad3c42c.zip
drm/amd/display: Fix USB4 null pointer dereference in update_psp_stream_config
[Why] A porting error on a previous patch left the block of code that causes the crash from a NULL pointer dereference. More specifically, we try to access link_enc before it's assigned in the USB4 case in the following assignment: config.dio_output_idx = link_enc->transmitter - TRANSMITTER_UNIPHY_A; [How] That assignment occurs later depending on the ASIC version. It's only needed on DCN31 and only after link_enc is already assigned. Fixes: 986430446c917b ("drm/amd/display: fix a crash on USB4 over C20 PHY") Reviewed-by: Harry Wentland <harry.wentland@amd.com> Signed-off-by: Nicholas Kazlauskas <nicholas.kazlauskas@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions