Re: [PATCH] drm/amdgpu: Disable dpm_enabled flag while VF is in reset

2024-08-08 Thread Lazar, Lijo
On 8/8/2024 10:56 PM, Victor Skvortsov wrote: > VFs do not perform HW fini/suspend in FLR, so the dpm_enabled > is incorrectly kept enabled. Add interface to disable it in > virt_pre_reset call. > > Signed-off-by: Victor Skvortsov > --- > drivers/gpu/drm/amd/amdgpu/amdgpu_device.c| 10 +++

[PATCH] drm/amdgpu: Disable dpm_enabled flag while VF is in reset

2024-08-08 Thread Victor Skvortsov
VFs do not perform HW fini/suspend in FLR, so the dpm_enabled is incorrectly kept enabled. Add interface to disable it in virt_pre_reset call. Signed-off-by: Victor Skvortsov --- drivers/gpu/drm/amd/amdgpu/amdgpu_device.c| 10 + drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c | 8