Re: [PATCH] drm/vmwgfx: Keep a gem reference to user bos in surfaces

2023-12-22 Thread Zack Rusin
On Thu, Dec 21, 2023 at 5:54 AM Sverdlin, Alexander wrote: > > Hi Zack, > > thank you for the patch! > > On Thu, 2023-09-28 at 00:13 -0400, Zack Rusin wrote: > > From: Zack Rusin > > > > Surfaces can be backed (i.e. stored in) memory objects (mob's) which > > are created and managed by the usersp

Re: [PATCH] drm/vmwgfx: Keep a gem reference to user bos in surfaces

2023-12-21 Thread Sverdlin, Alexander
Hi Zack, thank you for the patch! On Thu, 2023-09-28 at 00:13 -0400, Zack Rusin wrote: > From: Zack Rusin > > Surfaces can be backed (i.e. stored in) memory objects (mob's) which > are created and managed by the userspace as GEM buffers. Surfaces > grab only a ttm reference which means that the

Re: [PATCH] drm/vmwgfx: Keep a gem reference to user bos in surfaces

2023-09-28 Thread Martin Krastev (VMware)
From: Martin Krastev LGTM Reviewed-by: Martin Krastev Regards, Martin On 28.09.23 г. 7:13 ч., Zack Rusin wrote: From: Zack Rusin Surfaces can be backed (i.e. stored in) memory objects (mob's) which are created and managed by the userspace as GEM buffers. Surfaces grab only a ttm refe

[PATCH] drm/vmwgfx: Keep a gem reference to user bos in surfaces

2023-09-27 Thread Zack Rusin
From: Zack Rusin Surfaces can be backed (i.e. stored in) memory objects (mob's) which are created and managed by the userspace as GEM buffers. Surfaces grab only a ttm reference which means that the gem object can be deleted underneath us, especially in cases where prime buffer export is used. M