aboutsummaryrefslogtreecommitdiff
path: root/fs/jbd2/commit.c
diff options
context:
space:
mode:
authorThomas Hellström <[email protected]>2021-09-22 10:38:05 +0200
committerThomas Hellström <[email protected]>2021-09-24 08:17:39 +0200
commit2dfa597d249cbe16962ac142c882b30f7ff385e5 (patch)
tree7b7765e125d3215a14ac282194ad8bac2a1df312 /fs/jbd2/commit.c
parent017792a041183c4f5ec595f386e76a40ed728cfc (diff)
drm/i915/gem: Fix a lockdep warning the __i915_gem_is_lmem() function
Somehow we managed to invert the test for i915_gem_object_evictable(), which causes a warning in DG1 BAT, igt@debugfs_test@read_all_entries. Fix the lock check to only warn if the object *is* indeed evictable and not protected from eviction by fences. Cc: Matthew Brost <[email protected]> Fixes: 91160c839824 ("drm/i915: Take pinning into account in __i915_gem_object_is_lmem") Signed-off-by: Thomas Hellström <[email protected]> Reviewed-by: Matthew Auld <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'fs/jbd2/commit.c')
0 files changed, 0 insertions, 0 deletions