drm/amdgpu/smu: use unified variable smu->is_apu to check apu asic platform
authorKevin Wang <kevin1.wang@amd.com>
Mon, 23 Dec 2019 10:17:36 +0000 (18:17 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 7 Jan 2020 16:57:22 +0000 (11:57 -0500)
commitd2f925ff9a239a49339d785f721c8cd89b743539
tree2761c34e67e2bba35c01b46fd3727e3a7ed01124
parent34e48caee40d95c598ee6d43a4a1055ef1fa4c5b
drm/amdgpu/smu: use unified variable smu->is_apu to check apu asic platform

use unified variable smu->is_apu to check apu asic in smu driver.

related patch:
drm/amd/powerplay: bypass dpm_context null pointer check guard for some
smu series

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