[PATCH v3] drm/amdgpu: complete gfxoff allow signal during suspend without delay

2022-11-07 Thread Harsh Jain
change guarantees that gfxoff is allowed before moving further in s2idle sequence to add more reliablity about gfxoff in amdgpu IP's suspend flow Signed-off-by: Harsh Jain --- v2: replaced flush_work with direct call to amdgpu_dpm_set_powergating_by_smu and edited title v3: added brace

[PATCH v2] drm/amdgpu: complete gfxoff allow signal during suspend without delay

2022-11-06 Thread Harsh Jain
change guarantees that gfxoff is allowed before moving further in s2idle sequence to add more reliablity about gfxoff in amdgpu IP's suspend flow Signed-off-by: Harsh Jain --- v2: replaced flush_work with direct call to amdgpu_dpm_set_powergating_by_smu and edited title --- diff --

[PATCH] drm/amdgpu: wait till Gfxoff allow signal completes during suspend

2022-11-03 Thread Harsh Jain
change guarantees that gfxoff is allowed before moving further in s2idle sequence to add more reliablity about gfxoff in amdgpu IP's suspend flow Signed-off-by: Harsh Jain diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c index 222d3d7