diff options
author | Christian König <christian.koenig@amd.com> | 2024-04-04 16:25:40 +0200 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2024-04-17 11:50:43 -0400 |
commit | a6ff969fe9cbf369e3cd0ac54261fec1122682ec (patch) | |
tree | e86a766820e2aaffcf223e257d834f8fdfa51a69 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 6fef2d4c00b5b8561ad68dd2b68173f5c6af1e75 (diff) |
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: aed01a68047b ("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
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions