[Bug 212427] [AMDGPU] Multiple ttm_bo_release warnings
bugzilla-daemon at bugzilla.kernel.org
bugzilla-daemon at bugzilla.kernel.org
Wed Mar 24 22:57:25 UTC 2021
https://bugzilla.kernel.org/show_bug.cgi?id=212427
Chris Rankin (rankincj at yahoo.com) changed:
What |Removed |Added
----------------------------------------------------------------------------
Regression|No |Yes
--- Comment #1 from Chris Rankin (rankincj at yahoo.com) ---
I am assuming that these warnings are all due to this one patch:
diff --git a/drivers/gpu/drm/ttm/ttm_bo.c b/drivers/gpu/drm/ttm/ttm_bo.c
index 22073e77fdf9a..a76eb2c14e8c5 100644
--- a/drivers/gpu/drm/ttm/ttm_bo.c
+++ b/drivers/gpu/drm/ttm/ttm_bo.c
@@ -514,7 +514,7 @@ static void ttm_bo_release(struct kref *kref)
* shrinkers, now that they are queued for
* destruction.
*/
- if (bo->pin_count) {
+ if (WARN_ON(bo->pin_count)) {
bo->pin_count = 0;
ttm_bo_del_from_lru(bo);
ttm_bo_add_mem_to_lru(bo, &bo->mem);
which would imply that the only real difference between 5.11.8 and 5.11.9 is
"noise". Is this warning highlighting a real problem?
--
You may reply to this email to add a comment.
You are receiving this mail because:
You are watching the assignee of the bug.
More information about the dri-devel
mailing list