drm/amdgpu: fix missing check in vm_flush()
authorAlex Deucher <alexander.deucher@amd.com>
Fri, 5 Jun 2026 21:46:19 +0000 (17:46 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 12 Aug 2026 14:21:14 +0000 (10:21 -0400)
commit47cd31185090bd1439d4587b835ac22d7ba6f1e3
tree6eb02ae55a536647820c611b9fa0cf4f1b0d9f8a
parentf2a1c4c6fe0a6fcde02e59dde546dba28d283635
drm/amdgpu: fix missing check in vm_flush()

We shouldn't return early if we need to emit spm update.

Reviewed-by: David Rosca <david.rosca@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
(cherry picked from commit 54a118f1d7e184fcbb18f83889f48f17a767878a)
Cc: stable@vger.kernel.org
drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c