Re: [PATCH 2/4] drm/vmwgfx: Make sure the screen surface is ref counted

2024-06-27 Thread Zack Rusin
On Thu, Jun 27, 2024 at 8:37 AM Martin Krastev wrote: > > On Thu, Jun 27, 2024 at 8:34 AM Zack Rusin wrote: > > > > Fix races issues in virtual crc generation by making sure the surface > > the code uses for crc computation is properly ref counted. > > > > Crc generation was trying to be too clev

Re: [PATCH 2/4] drm/vmwgfx: Make sure the screen surface is ref counted

2024-06-27 Thread Martin Krastev
On Thu, Jun 27, 2024 at 8:34 AM Zack Rusin wrote: > > Fix races issues in virtual crc generation by making sure the surface > the code uses for crc computation is properly ref counted. > > Crc generation was trying to be too clever by allowing the surfaces > to go in and out of scope, with the hop

[PATCH 2/4] drm/vmwgfx: Make sure the screen surface is ref counted

2024-06-26 Thread Zack Rusin
Fix races issues in virtual crc generation by making sure the surface the code uses for crc computation is properly ref counted. Crc generation was trying to be too clever by allowing the surfaces to go in and out of scope, with the hope of always having some kind of screen present. That's not alw