Re: [PATCH] drm/amdgpu/pm: Fix the power source flag error

2024-01-17 Thread Ma, Jun
On 1/18/2024 1:05 PM, Lazar, Lijo wrote: > On 1/18/2024 7:54 AM, Ma, Jun wrote: >> Hi Lijo, >> >> On 1/17/2024 5:41 PM, Lazar, Lijo wrote: >>> On 1/17/2024 2:22 PM, Ma Jun wrote: The power source flag should be updated when [1] System receives an interrupt indicating that the power sou

Re: [PATCH] drm/amdgpu/pm: Fix the power source flag error

2024-01-17 Thread Lazar, Lijo
On 1/18/2024 7:54 AM, Ma, Jun wrote: Hi Lijo, On 1/17/2024 5:41 PM, Lazar, Lijo wrote: On 1/17/2024 2:22 PM, Ma Jun wrote: The power source flag should be updated when [1] System receives an interrupt indicating that the power source has changed. [2] System resumes from suspend or runtime susp

Re: [PATCH] drm/amdgpu/pm: Fix the power source flag error

2024-01-17 Thread Ma, Jun
Hi Alex, On 1/17/2024 10:13 PM, Alex Deucher wrote: > On Wed, Jan 17, 2024 at 4:01 AM Ma Jun wrote: >> >> The power source flag should be updated when >> [1] System receives an interrupt indicating that the power source >> has changed. >> [2] System resumes from suspend or runtime suspend >> >> S

Re: [PATCH] drm/amdgpu/pm: Fix the power source flag error

2024-01-17 Thread Ma, Jun
Hi Lijo, On 1/17/2024 5:41 PM, Lazar, Lijo wrote: > On 1/17/2024 2:22 PM, Ma Jun wrote: >> The power source flag should be updated when >> [1] System receives an interrupt indicating that the power source >> has changed. >> [2] System resumes from suspend or runtime suspend >> >> Signed-off-by: Ma

Re: [PATCH] drm/amdgpu/pm: Fix the power source flag error

2024-01-17 Thread Alex Deucher
On Wed, Jan 17, 2024 at 4:01 AM Ma Jun wrote: > > The power source flag should be updated when > [1] System receives an interrupt indicating that the power source > has changed. > [2] System resumes from suspend or runtime suspend > > Signed-off-by: Ma Jun > --- > drivers/gpu/drm/amd/pm/swsmu/am

Re: [PATCH] drm/amdgpu/pm: Fix the power source flag error

2024-01-17 Thread Lazar, Lijo
On 1/17/2024 2:22 PM, Ma Jun wrote: The power source flag should be updated when [1] System receives an interrupt indicating that the power source has changed. [2] System resumes from suspend or runtime suspend Signed-off-by: Ma Jun --- drivers/gpu/drm/amd/pm/swsmu/amdgpu_smu.c | 24 +

[PATCH] drm/amdgpu/pm: Fix the power source flag error

2024-01-17 Thread Ma Jun
The power source flag should be updated when [1] System receives an interrupt indicating that the power source has changed. [2] System resumes from suspend or runtime suspend Signed-off-by: Ma Jun --- drivers/gpu/drm/amd/pm/swsmu/amdgpu_smu.c | 24 +++ .../gpu/drm/amd/pm/swsm