Re: [PATCH 1/3] drm/nouveau: prime: fix refcount underflow

2024-07-19 Thread Christian König
Am 18.07.24 um 18:58 schrieb Danilo Krummrich: Calling nouveau_bo_ref() on a nouveau_bo without initializing it (and hence the backing ttm_bo) leads to a refcount underflow. Instead of calling nouveau_bo_ref() in the unwind path of drm_gem_object_init(), clean things up manually. Fixes: ab9ccb9

[PATCH 1/3] drm/nouveau: prime: fix refcount underflow

2024-07-18 Thread Danilo Krummrich
Calling nouveau_bo_ref() on a nouveau_bo without initializing it (and hence the backing ttm_bo) leads to a refcount underflow. Instead of calling nouveau_bo_ref() in the unwind path of drm_gem_object_init(), clean things up manually. Fixes: ab9ccb96a6e6 ("drm/nouveau: use prime helpers") Signed-o