Re: [Intel-gfx] [PATCH v2 14/14] drm/i915/fbc: Reallocate cfb if we need more of it

2019-12-09 Thread Ville Syrjälä
On Thu, Nov 28, 2019 at 04:48:04PM +0100, Maarten Lankhorst wrote: > Op 27-11-2019 om 21:12 schreef Ville Syrjala: > > From: Ville Syrjälä > > > > The code assumes we can omit the cfb allocation once fbc > > has been enabled once. That's nonsense. Let's try to > > reallocate it if we need to. > >

Re: [Intel-gfx] [PATCH v2 14/14] drm/i915/fbc: Reallocate cfb if we need more of it

2019-12-03 Thread Ville Syrjälä
On Tue, Dec 03, 2019 at 09:45:19AM +0100, Maarten Lankhorst wrote: > Op 29-11-2019 om 12:37 schreef Ville Syrjälä: > > On Fri, Nov 29, 2019 at 09:48:45AM +0100, Maarten Lankhorst wrote: > >> Op 28-11-2019 om 16:59 schreef Ville Syrjälä: > >>> On Thu, Nov 28, 2019 at 04:48:04PM +0100, Maarten Lankho

Re: [Intel-gfx] [PATCH v2 14/14] drm/i915/fbc: Reallocate cfb if we need more of it

2019-12-03 Thread Maarten Lankhorst
Op 29-11-2019 om 12:37 schreef Ville Syrjälä: > On Fri, Nov 29, 2019 at 09:48:45AM +0100, Maarten Lankhorst wrote: >> Op 28-11-2019 om 16:59 schreef Ville Syrjälä: >>> On Thu, Nov 28, 2019 at 04:48:04PM +0100, Maarten Lankhorst wrote: Op 27-11-2019 om 21:12 schreef Ville Syrjala: > From: V

Re: [Intel-gfx] [PATCH v2 14/14] drm/i915/fbc: Reallocate cfb if we need more of it

2019-11-29 Thread Ville Syrjälä
On Fri, Nov 29, 2019 at 09:48:45AM +0100, Maarten Lankhorst wrote: > Op 28-11-2019 om 16:59 schreef Ville Syrjälä: > > On Thu, Nov 28, 2019 at 04:48:04PM +0100, Maarten Lankhorst wrote: > >> Op 27-11-2019 om 21:12 schreef Ville Syrjala: > >>> From: Ville Syrjälä > >>> > >>> The code assumes we can

Re: [Intel-gfx] [PATCH v2 14/14] drm/i915/fbc: Reallocate cfb if we need more of it

2019-11-29 Thread Maarten Lankhorst
Op 28-11-2019 om 16:59 schreef Ville Syrjälä: > On Thu, Nov 28, 2019 at 04:48:04PM +0100, Maarten Lankhorst wrote: >> Op 27-11-2019 om 21:12 schreef Ville Syrjala: >>> From: Ville Syrjälä >>> >>> The code assumes we can omit the cfb allocation once fbc >>> has been enabled once. That's nonsense. L

Re: [Intel-gfx] [PATCH v2 14/14] drm/i915/fbc: Reallocate cfb if we need more of it

2019-11-28 Thread Ville Syrjälä
On Thu, Nov 28, 2019 at 04:48:04PM +0100, Maarten Lankhorst wrote: > Op 27-11-2019 om 21:12 schreef Ville Syrjala: > > From: Ville Syrjälä > > > > The code assumes we can omit the cfb allocation once fbc > > has been enabled once. That's nonsense. Let's try to > > reallocate it if we need to. > >

Re: [Intel-gfx] [PATCH v2 14/14] drm/i915/fbc: Reallocate cfb if we need more of it

2019-11-28 Thread Maarten Lankhorst
Op 27-11-2019 om 21:12 schreef Ville Syrjala: > From: Ville Syrjälä > > The code assumes we can omit the cfb allocation once fbc > has been enabled once. That's nonsense. Let's try to > reallocate it if we need to. > > The code is still a mess, but maybe this is enough to get > fbc going in some c

[Intel-gfx] [PATCH v2 14/14] drm/i915/fbc: Reallocate cfb if we need more of it

2019-11-27 Thread Ville Syrjala
From: Ville Syrjälä The code assumes we can omit the cfb allocation once fbc has been enabled once. That's nonsense. Let's try to reallocate it if we need to. The code is still a mess, but maybe this is enough to get fbc going in some cases where it initially underallocates the cfb and there's n