UPSTREAM: drm/amdgpu: Increase reset counter only on success
commit 86790e30 upstream. Increment the reset counter only if soft recovery succeeded. This is consistent with a ring hard reset behaviour where counter gets incremented only if hard reset succeeded. Change-Id: Ia4bb1d1e2ab8c5e8b00ba6a8d21760a1fde2e309 Signed-off-by:Lijo Lazar <lijo.lazar@amd.com> Reviewed-by:
Hawking Zhang <Hawking.Zhang@amd.com> Reviewed-by:
Alex Deucher <alexander.deucher@amd.com> Signed-off-by:
Alex Deucher <alexander.deucher@amd.com> (cherry picked from commit 25c314aa) Cc: stable@vger.kernel.org Signed-off-by:
Greg Kroah-Hartman <gregkh@linuxfoundation.org> (cherry picked from commit 62f2a58a) Signed-off-by:
Greg Kroah-Hartman <gregkh@google.com>
Loading