]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/powerplay: initlialize smu->is_apu is false by default
authorKevin Wang <kevin1.wang@amd.com>
Fri, 27 Sep 2019 06:52:10 +0000 (14:52 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 3 Oct 2019 14:11:04 +0000 (09:11 -0500)
commit81846d392357b559893f771a26d06a858990700c
tree93c56f442669c70443e7c9e60912a3ec5744f849
parentff11295136f56f30de4b1596e85290703287ae39
drm/amd/powerplay: initlialize smu->is_apu is false by default

the member of is_apu in smu_context need to initlialize by default.

set default value is false (dGPU)

for 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: Kenneth Feng <kenneth.feng@amd.com>
Reviewed-by: Prike Liang <Prike.Liang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/powerplay/amdgpu_smu.c