Re: [Intel-gfx] [CI 4/4] drm/i915: Skip modeset for cdclk changes if possible

2019-03-26 Thread Imre Deak
On Fri, Mar 22, 2019 at 10:23:07PM +0200, Imre Deak wrote: > On Thu, Mar 21, 2019 at 02:53:00PM -0700, Clinton Taylor wrote: > > > > On 3/20/19 6:54 AM, Imre Deak wrote: > > > From: Ville Syrjälä > > > > > > If we have only a single active pipe and the cdclk change only requires > > > the cd2x d

Re: [Intel-gfx] [CI 4/4] drm/i915: Skip modeset for cdclk changes if possible

2019-03-22 Thread Imre Deak
On Thu, Mar 21, 2019 at 02:53:00PM -0700, Clinton Taylor wrote: > > On 3/20/19 6:54 AM, Imre Deak wrote: > > From: Ville Syrjälä > > > > If we have only a single active pipe and the cdclk change only requires > > the cd2x divider to be updated bxt+ can do the update with forcing a full > > modes

Re: [Intel-gfx] [CI 4/4] drm/i915: Skip modeset for cdclk changes if possible

2019-03-21 Thread Clinton Taylor
On 3/20/19 6:54 AM, Imre Deak wrote: From: Ville Syrjälä If we have only a single active pipe and the cdclk change only requires the cd2x divider to be updated bxt+ can do the update with forcing a full modeset on the pipe. Try to hook that up. v2: - Wait for vblank after an optimized CDCLK c

[Intel-gfx] [CI 4/4] drm/i915: Skip modeset for cdclk changes if possible

2019-03-20 Thread Imre Deak
From: Ville Syrjälä If we have only a single active pipe and the cdclk change only requires the cd2x divider to be updated bxt+ can do the update with forcing a full modeset on the pipe. Try to hook that up. v2: - Wait for vblank after an optimized CDCLK change. - Avoid optimization if the pipe