]> asedeno.scripts.mit.edu Git - linux.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)
commitfe9c32a63c0d3ba48f9aaccbcbb6c7f3fac60141
tree93c56f442669c70443e7c9e60912a3ec5744f849
parent542b50e044bfc51be7fdac3c8d112fcdfcb88842
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