drm/amd/swsmu: allow asic to handle sensor type by itself
authorKevin Wang <kevin1.wang@amd.com>
Mon, 27 Jul 2020 01:08:22 +0000 (09:08 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 27 Jul 2020 20:23:06 +0000 (16:23 -0400)
commit0eb52d81565588797d031d50f09fe871112f1138
tree0a0a2a70cbf593d3337c5cda8c5fdd4d9d758ede
parent48ef409c25a632caeb19093b8513a17028372097
drm/amd/swsmu: allow asic to handle sensor type by itself

1. allow asic to handle sensor type by itself.
2. if not, use smu common sensor to handle it.

Signed-off-by: Kevin Wang <kevin1.wang@amd.com>
Reviewed-by: Kenneth Feng <kenneth.feng@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/powerplay/amdgpu_smu.c