Re: [Intel-gfx] [PATCH] drm/i915: Use vblank worker to unpin old legacy cursor fb safely

2023-09-12 Thread Maarten Lankhorst
Hey, On 2023-09-01 12:56, Ville Syrjälä wrote: On Fri, Sep 01, 2023 at 12:16:21PM +0200, Maarten Lankhorst wrote: Hey, Den 2023-08-31 kl. 18:26, skrev Ville Syrjala: From: Ville Syrjälä The cursor hardware only does sync updates, and thus the hardware will be scanning out from the old fb u

Re: [Intel-gfx] [PATCH] drm/i915: Use vblank worker to unpin old legacy cursor fb safely

2023-09-01 Thread Ville Syrjälä
On Fri, Sep 01, 2023 at 12:16:21PM +0200, Maarten Lankhorst wrote: > Hey, > > > Den 2023-08-31 kl. 18:26, skrev Ville Syrjala: > > From: Ville Syrjälä > > > > The cursor hardware only does sync updates, and thus the hardware > > will be scanning out from the old fb until the next start of vblank

Re: [Intel-gfx] [PATCH] drm/i915: Use vblank worker to unpin old legacy cursor fb safely

2023-09-01 Thread Maarten Lankhorst
Hey, Den 2023-08-31 kl. 18:26, skrev Ville Syrjala: From: Ville Syrjälä The cursor hardware only does sync updates, and thus the hardware will be scanning out from the old fb until the next start of vblank. So in order to make the legacy cursor fastpath actually safe we should not unpin the o

[Intel-gfx] [PATCH] drm/i915: Use vblank worker to unpin old legacy cursor fb safely

2023-08-31 Thread Ville Syrjala
From: Ville Syrjälä The cursor hardware only does sync updates, and thus the hardware will be scanning out from the old fb until the next start of vblank. So in order to make the legacy cursor fastpath actually safe we should not unpin the old fb until we're sure the hardware has ceased accessing