Re: [PATCH AUTOSEL 6.11 72/76] drm/amdgpu: nuke the VM PD/PT shadow handling

From: Sasha Levin
Date: Tue Oct 08 2024 - 09:04:50 EST


On Tue, Oct 08, 2024 at 08:46:01AM +0200, Christian König wrote:
Hi Sasha,

Am 04.10.24 um 20:17 schrieb Sasha Levin:
From: Christian König <christian.koenig@xxxxxxx>

[ Upstream commit 7181faaa4703705939580abffaf9cb5d6b50dbb7 ]

This was only used as workaround for recovering the page tables after
VRAM was lost and is no longer necessary after the function
amdgpu_vm_bo_reset_state_machine() started to do the same.

Compute never used shadows either, so the only proplematic case left is
SVM and that is most likely not recoverable in any way when VRAM is
lost.

why is that backported to older kernels? It's basically just removing an old and now unused feature.

Lijo pointed out a related bug fixed by removing the feature, but that only happens extremely rarely and in my view doesn't really justify a backport.

I'll drop it then, thanks!

--
Thanks,
Sasha