drm/amdgpu/pm: add some checks for PX
authorAlex Deucher <alexander.deucher@amd.com>
Fri, 19 Feb 2016 20:30:15 +0000 (15:30 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 22 Feb 2016 16:30:56 +0000 (11:30 -0500)
commit0c67df48597f0e60eaf7f187ee38f6ccce56561e
tree7c57b98827bf09d12d161098fa8c068a040b1535
parent10f950f640e689336af0a0d587a4b3c26a73cd44
drm/amdgpu/pm: add some checks for PX

I.e., doesn't make sense to change power states or check the
temperature when the asic is powered off.

Reviewed-by: Christian König <christian.koenig@amd.com>
Acked-by: Harry Wentland <harry.wentland@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c