drm/amdgpu/pm: Fix the null pointer dereference in apply_state_adjust_rules
authorjsg <jsg@openbsd.org>
Thu, 15 Aug 2024 02:59:50 +0000 (02:59 +0000)
committerjsg <jsg@openbsd.org>
Thu, 15 Aug 2024 02:59:50 +0000 (02:59 +0000)
commit26f37df53e62fafa6a69e36f433e4a435d5f6882
treeb80735fafa160713a18badc0e70a57d7614008fc
parent8602cf8bff3de046a319b2e7feed6f8e80a7ae8c
drm/amdgpu/pm: Fix the null pointer dereference in apply_state_adjust_rules

From Ma Jun
3a01bf2ca9f860fdc88c358567b8fa3033efcf30 in linux-6.6.y/6.6.46
d19fb10085a49b77578314f69fff21562f7cd054 in mainline linux
sys/dev/pci/drm/amd/pm/powerplay/hwmgr/smu7_hwmgr.c
sys/dev/pci/drm/amd/pm/powerplay/hwmgr/smu8_hwmgr.c
sys/dev/pci/drm/amd/pm/powerplay/hwmgr/vega10_hwmgr.c