Re: [Intel-gfx] [PATCH 03/14] drm/i915: Get rid of the "sizes are 0 based" stuff

2021-12-03 Thread Souza, Jose
On Thu, 2021-12-02 at 13:56 +0200, Ville Syrjälä wrote: > On Wed, Dec 01, 2021 at 05:18:54PM +, Souza, Jose wrote: > > On Wed, 2021-12-01 at 17:25 +0200, Ville Syrjala wrote: > > > From: Ville Syrjälä > > > > > > Replace the "sizes are 0 based" stuff with just straight > > > up -1 where neede

Re: [Intel-gfx] [PATCH 03/14] drm/i915: Get rid of the "sizes are 0 based" stuff

2021-12-02 Thread Ville Syrjälä
On Wed, Dec 01, 2021 at 05:18:54PM +, Souza, Jose wrote: > On Wed, 2021-12-01 at 17:25 +0200, Ville Syrjala wrote: > > From: Ville Syrjälä > > > > Replace the "sizes are 0 based" stuff with just straight > > up -1 where needed. Less confusing all around. > > > > Signed-off-by: Ville Syrjälä

Re: [Intel-gfx] [PATCH 03/14] drm/i915: Get rid of the "sizes are 0 based" stuff

2021-12-01 Thread Souza, Jose
On Wed, 2021-12-01 at 17:25 +0200, Ville Syrjala wrote: > From: Ville Syrjälä > > Replace the "sizes are 0 based" stuff with just straight > up -1 where needed. Less confusing all around. > > Signed-off-by: Ville Syrjälä > --- > drivers/gpu/drm/i915/display/intel_sprite.c | 26 --

[Intel-gfx] [PATCH 03/14] drm/i915: Get rid of the "sizes are 0 based" stuff

2021-12-01 Thread Ville Syrjala
From: Ville Syrjälä Replace the "sizes are 0 based" stuff with just straight up -1 where needed. Less confusing all around. Signed-off-by: Ville Syrjälä --- drivers/gpu/drm/i915/display/intel_sprite.c | 26 --- .../drm/i915/display/skl_universal_plane.c| 6 + 2 files