Re: [Intel-gfx] [PATCH] drm/i915: Use enum plane_id for frontbuffer tracking

2018-01-24 Thread Pandiyan, Dhinakaran
On Wed, 2018-01-24 at 17:16 +0200, Ville Syrjälä wrote: > On Wed, Jan 24, 2018 at 04:16:19AM +, Pandiyan, Dhinakaran wrote: > > On Tue, 2018-01-23 at 20:33 +0200, Ville Syrjala wrote: > > > From: Ville Syrjälä > > > > > > Replace the ad-hoc plane indexing scheme used by the frontbuffer > > >

Re: [Intel-gfx] [PATCH] drm/i915: Use enum plane_id for frontbuffer tracking

2018-01-24 Thread Ville Syrjälä
On Wed, Jan 24, 2018 at 07:36:01PM +0200, Ville Syrjälä wrote: > On Tue, Jan 23, 2018 at 09:11:23PM +, Chris Wilson wrote: > > Quoting Ville Syrjala (2018-01-23 18:33:43) > > > From: Ville Syrjälä > > > > > > Replace the ad-hoc plane indexing scheme used by the frontbuffer > > > tracking with

Re: [Intel-gfx] [PATCH] drm/i915: Use enum plane_id for frontbuffer tracking

2018-01-24 Thread Ville Syrjälä
On Tue, Jan 23, 2018 at 09:11:23PM +, Chris Wilson wrote: > Quoting Ville Syrjala (2018-01-23 18:33:43) > > From: Ville Syrjälä > > > > Replace the ad-hoc plane indexing scheme used by the frontbuffer > > tracking with enum plane_id. > > > > The old video overlay not being part of the plane_

Re: [Intel-gfx] [PATCH] drm/i915: Use enum plane_id for frontbuffer tracking

2018-01-24 Thread Ville Syrjälä
On Wed, Jan 24, 2018 at 04:16:19AM +, Pandiyan, Dhinakaran wrote: > On Tue, 2018-01-23 at 20:33 +0200, Ville Syrjala wrote: > > From: Ville Syrjälä > > > > Replace the ad-hoc plane indexing scheme used by the frontbuffer > > tracking with enum plane_id. > > > > The old video overlay not bein

Re: [Intel-gfx] [PATCH] drm/i915: Use enum plane_id for frontbuffer tracking

2018-01-23 Thread Pandiyan, Dhinakaran
On Tue, 2018-01-23 at 20:33 +0200, Ville Syrjala wrote: > From: Ville Syrjälä > > Replace the ad-hoc plane indexing scheme used by the frontbuffer > tracking with enum plane_id. > > The old video overlay not being part of the plane_id namespace > will just be given the high bit. I'm curious why

Re: [Intel-gfx] [PATCH] drm/i915: Use enum plane_id for frontbuffer tracking

2018-01-23 Thread Chris Wilson
Quoting Ville Syrjala (2018-01-23 18:33:43) > diff --git a/drivers/gpu/drm/i915/intel_sprite.c > b/drivers/gpu/drm/i915/intel_sprite.c > index a92c748ca8ab..18ef0392362e 100644 > --- a/drivers/gpu/drm/i915/intel_sprite.c > +++ b/drivers/gpu/drm/i915/intel_sprite.c > @@ -345,6 +345,8 @@ skl_plane_g

Re: [Intel-gfx] [PATCH] drm/i915: Use enum plane_id for frontbuffer tracking

2018-01-23 Thread Chris Wilson
Quoting Ville Syrjala (2018-01-23 18:33:43) > From: Ville Syrjälä > > Replace the ad-hoc plane indexing scheme used by the frontbuffer > tracking with enum plane_id. > > The old video overlay not being part of the plane_id namespace > will just be given the high bit. > > Signed-off-by: Ville Sy

[Intel-gfx] [PATCH] drm/i915: Use enum plane_id for frontbuffer tracking

2018-01-23 Thread Ville Syrjala
From: Ville Syrjälä Replace the ad-hoc plane indexing scheme used by the frontbuffer tracking with enum plane_id. The old video overlay not being part of the plane_id namespace will just be given the high bit. Signed-off-by: Ville Syrjälä --- drivers/gpu/drm/i915/i915_drv.h | 11 +++-