Re: [PATCH v3 2/4] drm/qxl: unpin release objects

From: Gerd Hoffmann
Date: Tue Jan 26 2021 - 14:23:01 EST


> > Just calling ttm_bo_unpin() here makes lockdep unhappy.
>
> How does that one splat? But yeah if that's a problem should be
> explained in the comment. I'd then also only do a pin_count--; to make
> sure you can still catch other pin leaks if you have them. Setting it
> to 0 kinda defeats the warning.

Figured the unpin is at the completely wrong place while trying to
reproduce the lockdep splat ...

take care,
Gerd