In that case,
Reviewed-by: Alex Deucher
From: amd-gfx on behalf of Zhu, Rex
Sent: Thursday, August 23, 2018 8:41:28 AM
To: Alex Deucher
Cc: Wu, Hersen; amd-gfx list
Subject: RE: [PATCH] drm/amdgpu: Remove duplicated power source update
Hi Alex,
We get
Hi Alex,
We get initial state in amdgpu_device_init.
Best Regards
Rex
> -Original Message-
> From: Alex Deucher
> Sent: Thursday, August 23, 2018 8:37 PM
> To: Zhu, Rex
> Cc: amd-gfx list ; Wu, Hersen
>
> Subject: Re: [PATCH] drm/amdgpu: Remove duplicate
On Thu, Aug 23, 2018 at 2:40 AM Rex Zhu wrote:
>
> when ac/dc switch, driver will be notified by acpi event.
> then the power source will be updated. so don't need to
> get power source when set power state.
Don't we need this to get the initial state? Maybe we should move
this to one of the ini
when ac/dc switch, driver will be notified by acpi event.
then the power source will be updated. so don't need to
get power source when set power state.
Signed-off-by: Rex Zhu
---
drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c | 8
1 file changed, 8 deletions(-)
diff --git a/drivers/gpu/drm/am