Re: [PATCH v2] drm/vmwgfx: Fix gem refcounting and memory evictions

2022-04-20 Thread Martin Krastev (VMware)
From: Martin Krastev From: Zack Rusin Date: Wed, 20 Apr 2022 at 07:03 Subject: [PATCH v2] drm/vmwgfx: Fix gem refcounting and memory evictions To: Cc: , From: Zack Rusin v2: Add the last part of the ref count fix which was spotted by Philipp Sieweck where the ref count of cpu writers

[PATCH v2] drm/vmwgfx: Fix gem refcounting and memory evictions

2022-04-19 Thread Zack Rusin
From: Zack Rusin v2: Add the last part of the ref count fix which was spotted by Philipp Sieweck where the ref count of cpu writers is off due to ERESTARTSYS or EBUSY during bo waits. The initial GEM port broke refcounting on shareable (prime) surfaces and memory evictions. The prime surfaces br