Re: [Intel-gfx] [PATCH 3/7] drm/i915: Have plane->get_hw_state() return the current pipe

2018-06-01 Thread Mika Kahola
On Tue, 2018-01-30 at 22:38 +0200, Ville Syrjala wrote: > From: Ville Syrjälä > > Like we do for encoder let's make the plane->get_hw_state() return > the pipe to which the plane is currently attached. We don't currently > allow planes to move between the pipes, but perhaps one day we will. > >

[Intel-gfx] [PATCH 3/7] drm/i915: Have plane->get_hw_state() return the current pipe

2018-01-30 Thread Ville Syrjala
From: Ville Syrjälä Like we do for encoder let's make the plane->get_hw_state() return the pipe to which the plane is currently attached. We don't currently allow planes to move between the pipes, but perhaps one day we will. In either case this makes the code more uniform and perhaps makes inte