]> asedeno.scripts.mit.edu Git - linux.git/commit
drm/amdgpu: don't skip attributes when powerplay is enabled
authorAlex Deucher <alexander.deucher@amd.com>
Mon, 20 Nov 2017 22:49:53 +0000 (17:49 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 21 Nov 2017 04:06:23 +0000 (23:06 -0500)
commit135f971181d779c96ff3725c1a350a721785cc66
tree81a9073361c72ada9adabdc8ab82f7fc098c5511
parent8d8258bdab735d9f3c4b78e091ecfbb2b2b1f2ca
drm/amdgpu: don't skip attributes when powerplay is enabled

The function checks non-powerplay structures so regressed when
the pp_enabled check was removed.  This should ideally be
implemented similarly for powerplay.

Fixes: 6d07fe7bcae57 ("drm/amdgpu: delete pp_enable in adev")
Tested-by: Dieter Nützel <Dieter@nuetzel-hh.de>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c