diff options
author | Thomas Hellström <thomas.hellstrom@linux.intel.com> | 2021-06-10 09:01:50 +0200 |
---|---|---|
committer | Maarten Lankhorst <maarten.lankhorst@linux.intel.com> | 2021-06-11 10:53:13 +0200 |
commit | 2e53d7c1147a2751e959c53970c61b7ae33e1ecb (patch) | |
tree | 0fa7dd2b4c579adf34d7f20c648c84a193f00307 /arch | |
parent | 213d5092776345ad5d6e2efa36a6bfbe9899e8b3 (diff) | |
download | linux-stable-2e53d7c1147a2751e959c53970c61b7ae33e1ecb.tar.gz linux-stable-2e53d7c1147a2751e959c53970c61b7ae33e1ecb.tar.bz2 linux-stable-2e53d7c1147a2751e959c53970c61b7ae33e1ecb.zip |
drm/i915/lmem: Verify checks for lmem residency
Since objects can be migrated or evicted when not pinned or locked,
update the checks for lmem residency or future residency so that
the value returned is not immediately stale.
Signed-off-by: Thomas Hellström <thomas.hellstrom@linux.intel.com>
Reviewed-by: Matthew Auld <matthew.auld@intel.com>
Signed-off-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20210610070152.572423-3-thomas.hellstrom@linux.intel.com
Diffstat (limited to 'arch')
0 files changed, 0 insertions, 0 deletions