diff options
author | 2023-11-08 13:31:57 -0600 | |
---|---|---|
committer | 2023-11-17 00:50:15 -0500 | |
commit | b71f4ade1b8900d30c661d6c27f87c35214c398c (patch) | |
tree | 865dec8b4d667dcd1b81c2c97cc4f4ae0e040a12 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | drm/amd/display: Add null checks for 8K60 lightup (diff) | |
download | wireguard-linux-b71f4ade1b8900d30c661d6c27f87c35214c398c.tar.xz wireguard-linux-b71f4ade1b8900d30c661d6c27f87c35214c398c.zip |
drm/amd/display: fix a NULL pointer dereference in amdgpu_dm_i2c_xfer()
When ddc_service_construct() is called, it explicitly checks both the
link type and whether there is something on the link which will
dictate whether the pin is marked as hw_supported.
If the pin isn't set or the link is not set (such as from
unloading/reloading amdgpu in an IGT test) then fail the
amdgpu_dm_i2c_xfer() call.
Cc: stable@vger.kernel.org
Fixes: 22676bc500c2 ("drm/amd/display: Fix dmub soft hang for PSR 1")
Link: https://github.com/fwupd/fwupd/issues/6327
Signed-off-by: Mario Limonciello <mario.limonciello@amd.com>
Reviewed-by: Harry Wentland <harry.wentland@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