RE: [PATCH 1/2] drm/amdgpu: reposition the gpu reset checking for reuse

2023-03-15 Thread Huang, Tim
[Public] -Original Message- From: Alex Deucher Sent: Wednesday, March 15, 2023 10:36 PM To: Huang, Tim Cc: amd-gfx@lists.freedesktop.org; Deucher, Alexander ; Zhang, Yifan ; Limonciello, Mario Subject: Re: [PATCH 1/2] drm/amdgpu: reposition the gpu reset checking for reuse On Wed

Re: [PATCH 1/2] drm/amdgpu: reposition the gpu reset checking for reuse

2023-03-15 Thread Alex Deucher
On Wed, Mar 15, 2023 at 7:05 AM Tim Huang wrote: > > Move the amdgpu_acpi_should_gpu_reset out of > CONFIG_SUSPEND to share it with hibernate case. > > Signed-off-by: Tim Huang > --- > drivers/gpu/drm/amd/amdgpu/amdgpu.h | 4 +-- > drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c | 40

[PATCH 1/2] drm/amdgpu: reposition the gpu reset checking for reuse

2023-03-15 Thread Tim Huang
Move the amdgpu_acpi_should_gpu_reset out of CONFIG_SUSPEND to share it with hibernate case. Signed-off-by: Tim Huang --- drivers/gpu/drm/amd/amdgpu/amdgpu.h | 4 +-- drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c | 40 +--- 2 files changed, 24 insertions(+), 20 deletions(-)