Re: [Intel-gfx] [PATCH v2 4/5] drm/i915: Make updating pipe without modeset atomic.

2015-09-14 Thread Daniel Vetter
On Thu, Sep 10, 2015 at 12:31:03PM -0700, Jesse Barnes wrote: > On 08/27/2015 06:44 AM, Maarten Lankhorst wrote: > > + /* on skylake this is done by detaching scalers */ > > + if (INTEL_INFO(dev)->gen == 9) { > > + skl_detach_scalers(crtc); > > + > > + if

Re: [Intel-gfx] [PATCH v2 4/5] drm/i915: Make updating pipe without modeset atomic.

2015-09-10 Thread Jesse Barnes
On 08/27/2015 06:44 AM, Maarten Lankhorst wrote: > + /* on skylake this is done by detaching scalers */ > + if (INTEL_INFO(dev)->gen == 9) { > + skl_detach_scalers(crtc); > + > + if (pipe_config->pch_pfit.enabled) > + skylake_pfit_enable(crtc); >

Re: [Intel-gfx] [PATCH v2 4/5] drm/i915: Make updating pipe without modeset atomic.

2015-08-27 Thread Ville Syrjälä
On Thu, Aug 27, 2015 at 04:06:46PM +0200, Maarten Lankhorst wrote: Op 27-08-15 om 15:58 schreef Ville Syrjälä: On Thu, Aug 27, 2015 at 03:44:05PM +0200, Maarten Lankhorst wrote: Instead of doing a hack during primary plane commit the state is updated during atomic evasion. It handles

Re: [Intel-gfx] [PATCH v2 4/5] drm/i915: Make updating pipe without modeset atomic.

2015-08-27 Thread Maarten Lankhorst
Op 27-08-15 om 15:58 schreef Ville Syrjälä: On Thu, Aug 27, 2015 at 03:44:05PM +0200, Maarten Lankhorst wrote: Instead of doing a hack during primary plane commit the state is updated during atomic evasion. It handles differences in pipe size and the panel fitter. This is continuing on top

[Intel-gfx] [PATCH v2 4/5] drm/i915: Make updating pipe without modeset atomic.

2015-08-27 Thread Maarten Lankhorst
Instead of doing a hack during primary plane commit the state is updated during atomic evasion. It handles differences in pipe size and the panel fitter. This is continuing on top of Daniel's work to make faster modesets atomic, and not yet enabled by default. Signed-off-by: Maarten Lankhorst

Re: [Intel-gfx] [PATCH v2 4/5] drm/i915: Make updating pipe without modeset atomic.

2015-08-27 Thread Ville Syrjälä
On Thu, Aug 27, 2015 at 03:44:05PM +0200, Maarten Lankhorst wrote: Instead of doing a hack during primary plane commit the state is updated during atomic evasion. It handles differences in pipe size and the panel fitter. This is continuing on top of Daniel's work to make faster modesets