diff options
author | Thomas Hellström <thomas.hellstrom@linux.intel.com> | 2021-06-10 10:01:50 +0300 |
---|---|---|
committer | Maarten Lankhorst <maarten.lankhorst@linux.intel.com> | 2021-06-11 11:53:13 +0300 |
commit | 2e53d7c1147a2751e959c53970c61b7ae33e1ecb (patch) | |
tree | 0fa7dd2b4c579adf34d7f20c648c84a193f00307 /drivers/gpu/drm/drm_gem.c | |
parent | 213d5092776345ad5d6e2efa36a6bfbe9899e8b3 (diff) | |
download | linux-2e53d7c1147a2751e959c53970c61b7ae33e1ecb.tar.xz |
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 'drivers/gpu/drm/drm_gem.c')
0 files changed, 0 insertions, 0 deletions