Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
UBUNTU: SAUCE: drm/amdgpu: Fix oops when pp_funcs is unset in ACPI event
BugLink: https://bugs.launchpad.net/bugs/1871316 On ARCTURUS and RENOIR, powerplay is not supported yet. When plug in or unplug power jack, ACPI event will issue. Then kernel NULL pointer BUG will be triggered. Check for NULL pointers before calling. Signed-off-by: Aaron Ma <aaron.ma@canonical.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com> (cherry picked from commit 170dbbf git://people.freedesktop.org/~agd5f/linux drm-next) Signed-off-by: Aaron Ma <aaron.ma@canonical.com> Signed-off-by: Seth Forshee <seth.forshee@canonical.com> Signed-off-by: Timo Aaltonen <timo.aaltonen@canonical.com>
- Loading branch information