]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
drm/amd/pm: Fix null pointer dereference issue
authorJinzhou Su <jinzhou.su@amd.com>
Wed, 21 Jan 2026 08:42:11 +0000 (16:42 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 28 Jan 2026 21:21:11 +0000 (16:21 -0500)
commit1197366cca89a4c44c541ddedb8ce8bf0757993d
tree2d69263e58dd3603d5f1a5c2ef9142755e583802
parente698127eb7249d6c70fa8f2bdba469c0e54f2e2b
drm/amd/pm: Fix null pointer dereference issue

If SMU is disabled, during RAS initialization,
there will be null pointer dereference issue here.

Signed-off-by: Jinzhou Su <jinzhou.su@amd.com>
Reviewed-by: Yang Wang <kevinyang.wang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/pm/swsmu/amdgpu_smu.c