ubject: RE: [PATCH] drm/amd/powerplay: initlialize smu->is_apu is false by
default
Does use the default value (false) for the Boolean variable of is_apu not
enough for identifying DGPU?
Anyway, initialize the is_apu during smu early initialize also fine and the
patch is
Reviewed-by: Prike L
Reviewed-by: Kenneth Feng
-Original Message-
From: Wang, Kevin(Yang)
Sent: Friday, September 27, 2019 2:58 PM
To: amd-gfx@lists.freedesktop.org
Cc: Huang, Ray ; Feng, Kenneth ;
Liang, Prike ; Wang, Kevin(Yang)
Subject: [PATCH] drm/amd/powerplay: initlialize smu->is_apu is false
> Sent: Friday, September 27, 2019 2:58 PM
> To: amd-gfx@lists.freedesktop.org
> Cc: Huang, Ray ; Feng, Kenneth
> ; Liang, Prike ; Wang,
> Kevin(Yang)
> Subject: [PATCH] drm/amd/powerplay: initlialize smu->is_apu is false by
> default
>
> the member of is_apu i
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
---
drivers/gpu/drm/amd/powerplay/amdgpu_smu.c | 1 +
1