diff options
author | Alex Deucher <alexander.deucher@amd.com> | 2018-01-24 16:41:50 -0500 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2018-02-19 14:18:49 -0500 |
commit | 5ec36e2d7030c17bd00c9766f9b97b421eae8cdf (patch) | |
tree | 1ab279ad59d5be75668d6465d7bd83876ae00974 /drivers/gpu/drm/amd/amdgpu/vcn_v1_0.c | |
parent | 6f05c4e9d1a1a743eca76ddbad788386d7bb534e (diff) |
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>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/vcn_v1_0.c')
0 files changed, 0 insertions, 0 deletions