WARNING: at drivers/gpu/drm/nouveau/core/core/mm.c:242

Jiri Slaby jslaby at suse.cz
Mon Feb 18 02:27:43 PST 2013


Hi,

we have a report of WARNING from 3.7.6 in nouveau at
drivers/gpu/drm/nouveau/core/core/mm.c:242 here:
https://bugzilla.novell.com/show_bug.cgi?id=802347#c11

There is an order 4 allocation failure in nouveau_drm_open ->
nouveau_vm_create, i.e. this one failed:
vm->pgt  = kcalloc(vm->lpde - vm->fpde + 1, sizeof(*vm->pgt), GFP_KERNEL);

Then, on the error path in still in nouveau_drm_open, it is followed by
a call to nouveau_cli_destroy. But that one calls nouveau_vm_ref ->
nouveau_mm_fini -> nouveau_vm_del -> nouveau_mm_fini which triggers the
warning.

Any ideas?

thanks,
-- 
js
suse labs


More information about the dri-devel mailing list