drm/amdgpu: fix MGPU fan boost enablement for XGMI reset
authorEvan Quan <evan.quan@amd.com>
Wed, 26 Jun 2019 02:53:39 +0000 (10:53 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 1 Jul 2019 19:54:12 +0000 (14:54 -0500)
commitfdafb3597a2cc46217d67bc68253024744af59b9
tree466993fcc8fe0a18a640df4e912c464d1b8849b6
parent4b22e7e33f9666d902dc0f2dd8a24e27cedd1e64
drm/amdgpu: fix MGPU fan boost enablement for XGMI reset

MGPU fan boost feature should not be enabled until all the
devices from the same hive are all back from reset.

Signed-off-by: Evan Quan <evan.quan@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu.h
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c