[Nouveau] NVAC - WARN_ON(nvbo->pin_refcnt > 0);

poma pomidorabelisima at gmail.com
Thu Apr 6 14:44:38 UTC 2017


------------[ cut here ]------------
WARNING: CPU: 3 PID: 692 at drivers/gpu/drm/nouveau/nouveau_bo.c:137 nouveau_bo_del_ttm+0x7f/0x90 [nouveau]
Modules linked in: ... nouveau mxm_wmi video i2c_algo_bit ttm drm_kms_helper drm wmi ...
CPU: 3 PID: 692 Comm: Xorg Not tainted 4.10.8-1002.fc24.x86_64 #1
...
Call Trace:
 dump_stack+0x63/0x86
 __warn+0xcb/0xf0
 warn_slowpath_null+0x1d/0x20
 nouveau_bo_del_ttm+0x7f/0x90 [nouveau]
 ttm_bo_release_list+0xcb/0x210 [ttm]
 ttm_bo_release+0x198/0x240 [ttm]
 ttm_bo_unref+0x24/0x30 [ttm]
 nouveau_gem_object_del+0x94/0xf0 [nouveau]
 drm_gem_object_free+0x29/0x70 [drm]
 drm_gem_object_unreference_unlocked+0x3a/0xa0 [drm]
 drm_gem_object_handle_unreference_unlocked+0x65/0xb0 [drm]
 drm_gem_object_release_handle+0x53/0x90 [drm]
 idr_for_each+0xb0/0x110
 ? drm_gem_object_handle_unreference_unlocked+0xb0/0xb0 [drm]
 ? nouveau_abi16_fini+0x50/0x70 [nouveau]
 drm_gem_release+0x20/0x30 [drm]
 drm_release+0x34c/0x3a0 [drm]
 __fput+0xdf/0x1e0
 ____fput+0xe/0x10
 task_work_run+0x80/0xa0
 do_exit+0x2c8/0xb80
 ? __do_page_fault+0x266/0x4e0
 do_group_exit+0x47/0xb0
 SyS_exit_group+0x14/0x20
 entry_SYSCALL_64_fastpath+0x1a/0xa9
...
---[ end trace 02bd4b75c91c94a7 ]---

4.10.8-1002.fc24.x86_64 = 4.10.8-100.fc24.x86_64 + https://github.com/skeggsb/nouveau/commit/23da66b.patch
i.e.
stable 4.10.8 + "kms/nv50: fix double dma_fence_put() when destroying plane state"


Ref.
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git/tree/drivers/gpu/drm/nouveau/nouveau_bo.c?id=refs/tags/v4.10.8#n137



More information about the Nouveau mailing list