Re: [PATCH] drm/amdgpu: fix visible VRAM handling during faults

2024-04-08 Thread Alex Deucher
On Fri, Apr 5, 2024 at 3:57 AM Christian König wrote: > > When we removed the hacky start code check we actually didn't took into > account that *all* VRAM pages needs to be CPU accessible. > > Clean up the code and unify the handling into a single helper which > checks if the whole resource is CP

[PATCH] drm/amdgpu: fix visible VRAM handling during faults

2024-04-05 Thread Christian König
When we removed the hacky start code check we actually didn't took into account that *all* VRAM pages needs to be CPU accessible. Clean up the code and unify the handling into a single helper which checks if the whole resource is CPU accessible. The only place where a partial check would make sen