Message ID | alpine.DEB.2.20.1706071013160.3014@hadrien (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_prime.c +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_prime.c @@ -173,7 +173,7 @@ amdgpu_gem_prime_foreign_bo(struct amdgp continue; ww_mutex_unlock(&bo->tbo.resv->lock); - drm_gem_object_reference(&gobj->base); + drm_gem_object_get(&gobj->base); return &gobj->base; }