Revert "Revert "drm/amdgpu: Fix NULL dereference in dpm sysfs handlers""
authorEvan Quan <evan.quan@amd.com>
Thu, 28 Jan 2021 07:16:46 +0000 (15:16 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 1 Feb 2021 16:51:46 +0000 (11:51 -0500)
commitce7c1d047629235158b7d6d05874704a0b74b3e5
tree8b186b7d5e046f1241d02f0c910c1a233635ea97
parentcd63989e0e6aa2eb66b461f2bae769e2550e47ac
Revert "Revert "drm/amdgpu: Fix NULL dereference in dpm sysfs handlers""

This reverts commit 2456c290a7889be492cb96092b62d16c11176f72. Got lost
during code rebase/merge. No need to port this to other branches.

Signed-off-by: Evan Quan <evan.quan@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/pm/amdgpu_pm.c