Re: [Intel-gfx] [PATCH 2/2] drm/i915: Stop adding planes to the commit needlessly

2021-03-29 Thread Lisovskiy, Stanislav
On Thu, Mar 25, 2021 at 01:37:31PM +0200, Ville Syrjälä wrote: > On Thu, Mar 25, 2021 at 11:35:53AM +0200, Lisovskiy, Stanislav wrote: > > On Thu, Mar 25, 2021 at 02:44:15AM +0200, Ville Syrjala wrote: > > > From: Ville Syrjälä > > > > > > The dbuf bandwidth calculations don't need the planes to

Re: [Intel-gfx] [PATCH 2/2] drm/i915: Stop adding planes to the commit needlessly

2021-03-25 Thread Ville Syrjälä
On Thu, Mar 25, 2021 at 11:35:53AM +0200, Lisovskiy, Stanislav wrote: > On Thu, Mar 25, 2021 at 02:44:15AM +0200, Ville Syrjala wrote: > > From: Ville Syrjälä > > > > The dbuf bandwidth calculations don't need the planes to be > > added to the state. Each plane's data rate has already been > > pr

Re: [Intel-gfx] [PATCH 2/2] drm/i915: Stop adding planes to the commit needlessly

2021-03-25 Thread Lisovskiy, Stanislav
On Thu, Mar 25, 2021 at 02:44:15AM +0200, Ville Syrjala wrote: > From: Ville Syrjälä > > The dbuf bandwidth calculations don't need the planes to be > added to the state. Each plane's data rate has already been > precalculated and stored in the crtc state, and that with > the dbuf slice usage for

[Intel-gfx] [PATCH 2/2] drm/i915: Stop adding planes to the commit needlessly

2021-03-24 Thread Ville Syrjala
From: Ville Syrjälä The dbuf bandwidth calculations don't need the planes to be added to the state. Each plane's data rate has already been precalculated and stored in the crtc state, and that with the dbuf slice usage for each plane is all the dbuf bandwidth code needs to figure out what the min