Alex Deucher 5ec36e2d70 drm/amdgpu/pm: handle fan properly when card is powered down
Return an error if the user tried to check or set the fan
parameters while the card is powered down (e.g., on a PX/HG
system for example).  This makes the fan consistent with the
temperature stuff.

Acked-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Rex Zhu <Rex.Zhu@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2018-02-19 14:18:49 -05:00
..
2018-02-19 14:17:41 -05:00
2017-12-27 11:34:02 -05:00
2017-12-27 11:34:02 -05:00
2017-10-20 13:28:44 -04:00
2018-02-19 14:17:41 -05:00
2018-02-19 14:18:10 -05:00
2018-02-19 14:17:41 -05:00
2017-09-26 17:01:32 -04:00
2016-08-31 15:21:09 -04:00
2017-12-27 11:34:02 -05:00
2018-02-19 14:17:41 -05:00
2018-02-19 14:17:41 -05:00
2018-02-19 14:18:11 -05:00