Revert "drm/amdgpu: Fix NULL dereference in dpm sysfs handlers"
authorAlex Deucher <alexander.deucher@amd.com>
Thu, 30 Jul 2020 15:02:30 +0000 (11:02 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 5 Aug 2020 07:58:37 +0000 (09:58 +0200)
commitf53aaf88742ccee0e9aa4ed7d700ceeb434d9a7a
tree0b62a3a875ca09d0fea1039dd58602958bc17a15
parent82742151b6df8ecd15cdabec74364f97fe02b51d
Revert "drm/amdgpu: Fix NULL dereference in dpm sysfs handlers"

commit 87004abfbc27261edd15716515d89ab42198b405 upstream.

This regressed some working configurations so revert it.  Will
fix this properly for 5.9 and backport then.

This reverts commit 38e0c89a19fd13f28d2b4721035160a3e66e270b.

Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Cc: stable@vger.kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c