diff options
author | 2021-09-27 12:41:04 +0100 | |
---|---|---|
committer | 2021-09-29 13:55:09 +0200 | |
commit | 21856e1e342505d79803d7342da3a348981b431c (patch) | |
tree | a4df2f06f57e3cd669c6f7f8c514e28280cc4274 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | drm/ttm: stop setting page->index for the ttm_tt (diff) | |
download | wireguard-linux-21856e1e342505d79803d7342da3a348981b431c.tar.xz wireguard-linux-21856e1e342505d79803d7342da3a348981b431c.zip |
drm/ttm: move ttm_tt_{add, clear}_mapping into amdgpu
Now that setting page->index shouldn't be needed anymore, we are just
left with setting page->mapping, and here it looks like amdgpu is the
only user, where pointing the page->mapping at the dev_mapping is used
to verify that the pages do indeed belong to the device, if userspace
later tries to touch them.
v2(Christian):
- Drop the functions altogether and just inline modifying
the page->mapping
Signed-off-by: Matthew Auld <matthew.auld@intel.com>
Cc: Thomas Hellström <thomas.hellstrom@linux.intel.com>
Cc: Christian König <christian.koenig@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20210927114114.152310-3-matthew.auld@intel.com
Signed-off-by: Christian König <christian.koenig@amd.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions