Re: [Intel-gfx] [PATCH 1/4] drm/i915/fbc: Use the correct plane stride

2020-07-07 Thread Ville Syrjälä
On Mon, Jul 06, 2020 at 08:53:06PM +, Souza, Jose wrote: > On Fri, 2020-07-03 at 14:38 +0300, Ville Syrjälä wrote: > > On Thu, Jul 02, 2020 at 11:24:04PM +, Souza, Jose wrote: > > > On Thu, 2020-07-02 at 18:37 +0300, Ville Syrjala wrote: > > > > From: Ville Syrjälä > > > > > > > > Consult

Re: [Intel-gfx] [PATCH 1/4] drm/i915/fbc: Use the correct plane stride

2020-07-06 Thread Rodrigo Vivi
On Thu, Jul 02, 2020 at 06:37:20PM +0300, Ville Syrjala wrote: > From: Ville Syrjälä > > Consult the actual plane stride instead of the fb stride. The two > will disagree when we remap the gtt. The plane stride is what the > hw will be fed so that's what we should look at for the FBC > retriction

Re: [Intel-gfx] [PATCH 1/4] drm/i915/fbc: Use the correct plane stride

2020-07-06 Thread Souza, Jose
On Fri, 2020-07-03 at 14:38 +0300, Ville Syrjälä wrote: > On Thu, Jul 02, 2020 at 11:24:04PM +, Souza, Jose wrote: > > On Thu, 2020-07-02 at 18:37 +0300, Ville Syrjala wrote: > > > From: Ville Syrjälä > > > > > > Consult the actual plane stride instead of the fb stride. The two > > > will dis

Re: [Intel-gfx] [PATCH 1/4] drm/i915/fbc: Use the correct plane stride

2020-07-03 Thread Ville Syrjälä
On Thu, Jul 02, 2020 at 11:24:04PM +, Souza, Jose wrote: > On Thu, 2020-07-02 at 18:37 +0300, Ville Syrjala wrote: > > From: Ville Syrjälä > > > > Consult the actual plane stride instead of the fb stride. The two > > will disagree when we remap the gtt. The plane stride is what the > > hw wil

Re: [Intel-gfx] [PATCH 1/4] drm/i915/fbc: Use the correct plane stride

2020-07-02 Thread Souza, Jose
On Thu, 2020-07-02 at 18:37 +0300, Ville Syrjala wrote: > From: Ville Syrjälä > > Consult the actual plane stride instead of the fb stride. The two > will disagree when we remap the gtt. The plane stride is what the > hw will be fed so that's what we should look at for the FBC > retrictions/cfb a

[Intel-gfx] [PATCH 1/4] drm/i915/fbc: Use the correct plane stride

2020-07-02 Thread Ville Syrjala
From: Ville Syrjälä Consult the actual plane stride instead of the fb stride. The two will disagree when we remap the gtt. The plane stride is what the hw will be fed so that's what we should look at for the FBC retrictions/cfb allocation. Since we no longer require a fence we are going to attem