Re: [PATCH v3] drm/vmwgfx: Make sure bo's are unpinned before putting them back

2021-04-15 Thread Roland Scheidegger
The logic is all complex, but looks good to me. Reviewed-by: Roland Scheidegger On 13.04.21 22:59, Zack Rusin wrote: > During cotable resize we pin the backup buffer to make sure the > trylock doesn't fail. We were never unpinning the backup buffer > resulting in every subsequent cotable resize

Re: [PATCH v3] drm/vmwgfx: Make sure bo's are unpinned before putting them back

2021-04-13 Thread Intel
Hi, Zack, On 4/13/21 10:59 PM, Zack Rusin wrote: During cotable resize we pin the backup buffer to make sure the trylock doesn't fail. We were never unpinning the backup buffer resulting in every subsequent cotable resize trying to release a pinned bo. After we copy the old backup to the new we

[PATCH v3] drm/vmwgfx: Make sure bo's are unpinned before putting them back

2021-04-13 Thread Zack Rusin
During cotable resize we pin the backup buffer to make sure the trylock doesn't fail. We were never unpinning the backup buffer resulting in every subsequent cotable resize trying to release a pinned bo. After we copy the old backup to the new we can release the pin. Mob's are always pinned so we j