diff options
| author | 2022-01-06 17:49:08 +0000 | |
|---|---|---|
| committer | 2022-01-10 11:01:42 +0000 | |
| commit | f3cb4a2de5410147b53e53416a3af0ffe26b5f4e (patch) | |
| tree | 43d99abf1c36bfdbe615a739b59d2c46085cd63a /drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | |
| parent | drm/i915: don't call free_mmap_offset when purging (diff) | |
| download | wireguard-linux-f3cb4a2de5410147b53e53416a3af0ffe26b5f4e.tar.xz wireguard-linux-f3cb4a2de5410147b53e53416a3af0ffe26b5f4e.zip | |
drm/i915/ttm: only fault WILLNEED objects
Don't attempt to fault and re-populate purged objects. By some fluke
this passes the dontneed-after-mmap IGT, but for the wrong reasons.
Fixes: cf3e3e86d779 ("drm/i915: Use ttm mmap handling for ttm bo's.")
Signed-off-by: Matthew Auld <matthew.auld@intel.com>
Cc: Thomas Hellström <thomas.hellstrom@linux.intel.com>
Reviewed-by: Thomas Hellström <thomas.hellstrom@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20220106174910.280616-2-matthew.auld@intel.com
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_device.c')
0 files changed, 0 insertions, 0 deletions
