Files
linux/drivers/gpu/drm/amd/amdgpu
Christian König a6ff969fe9 drm/amdgpu: fix visible VRAM handling during faults
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 sense is during
eviction, but that is neglitible.

Signed-off-by: Christian König <christian.koenig@amd.com>
Fixes: aed01a6804 ("drm/amdgpu: Remove TTM resource->start visible VRAM condition v2")
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
CC: stable@vger.kernel.org
2024-04-17 11:50:43 -04:00
..
2024-01-18 21:10:41 +01:00
2024-02-12 16:12:00 -05:00
2024-02-27 10:46:59 -05:00
2024-03-06 15:24:24 -05:00
2024-03-06 15:24:24 -05:00
2024-01-15 18:35:37 -05:00
2024-01-15 18:35:37 -05:00
2024-01-15 18:35:37 -05:00
2024-01-15 18:35:37 -05:00
2023-02-03 15:37:31 -05:00
2023-08-07 16:35:38 -04:00
2024-02-12 16:12:00 -05:00
2024-02-12 16:12:00 -05:00
2024-02-12 16:12:00 -05:00
2023-03-15 18:45:26 -04:00
2023-03-15 18:45:26 -04:00
2023-08-30 15:00:27 -04:00
2024-02-16 15:42:15 -05:00
2023-08-31 16:34:05 -04:00