Re: [PATCH 3/3] drm/amd/pm: explicitly initialize cached power limits in smu struct

2021-10-04 Thread Lazar, Lijo
--- *From:* Lazar, Lijo *Sent:* Monday, October 4, 2021 6:43 AM *To:* Powell, Darren ; amd-gfx@lists.freedesktop.org *Subject:* Re: [PATCH 3/3] drm/amd/pm: explicitly initialize cached power limits in smu struct On 10/3/2021 10:16 AM, Darren Powell wrote: Code appears to initialize

Re: [PATCH 3/3] drm/amd/pm: explicitly initialize cached power limits in smu struct

2021-10-04 Thread Powell, Darren
his altogether? /* seed the cached smu power limit values iff get_power_limit is defined, otherwise they remain 0 */ Thanks Darren From: Lazar, Lijo Sent: Monday, October 4, 2021 6:43 AM To: Powell, Darren ; amd-gfx@lists.freedesktop.org Subject: Re: [PATCH

Re: [PATCH 3/3] drm/amd/pm: explicitly initialize cached power limits in smu struct

2021-10-04 Thread Lazar, Lijo
On 10/3/2021 10:16 AM, Darren Powell wrote: Code appears to initialize values but macro will exit without error or initializing value if function is not implmented Signed-off-by: Darren Powell --- drivers/gpu/drm/amd/pm/swsmu/amdgpu_smu.c | 4 1 file changed, 4 insertions(+) diff --

[PATCH 3/3] drm/amd/pm: explicitly initialize cached power limits in smu struct

2021-10-02 Thread Darren Powell
Code appears to initialize values but macro will exit without error or initializing value if function is not implmented Signed-off-by: Darren Powell --- drivers/gpu/drm/amd/pm/swsmu/amdgpu_smu.c | 4 1 file changed, 4 insertions(+) diff --git a/drivers/gpu/drm/amd/pm/swsmu/amdgpu_smu.c b/