drm/amdgpu: skip crit temperature values on APU (v2)
authorHuang Rui <ray.huang@amd.com>
Mon, 27 Jul 2020 08:19:45 +0000 (16:19 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 6 Aug 2020 20:43:15 +0000 (16:43 -0400)
commita676a97623d399f7a2174b347d688412864d385a
treec81eeffd10ffee8d11af589edd5e1dd1fb2b0bee
parent76d5ef4ff10bc64f84a4b301cf8c25229048edd8
drm/amdgpu: skip crit temperature values on APU (v2)

It doesn't expose PPTable descriptor on APU platform. So max/min
temperature values cannot be got from APU platform.

v2: Stoney needs to skip crit temperature as well.

Signed-off-by: Huang Rui <ray.huang@amd.com>
Reviewed-by: Kevin Wang <kevin1.wang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c