Re: [Intel-gfx] [PATCH v3 15/22] drm/i915: Read hw state into an atomic state struct

2015-05-31 Thread Maarten Lankhorst
Op 29-05-15 om 02:55 schreef Matt Roper: > On Wed, May 20, 2015 at 06:04:27PM +0200, maarten.lankho...@linux.intel.com > wrote: >> From: Ander Conselvan de Oliveira >> >> To make this work we load the new hardware state into the >> atomic_state, then swap it with the sw state. >> >> This lets us

Re: [Intel-gfx] [PATCH v3 15/22] drm/i915: Read hw state into an atomic state struct

2015-05-28 Thread Matt Roper
On Wed, May 20, 2015 at 06:04:27PM +0200, maarten.lankho...@linux.intel.com wrote: > From: Ander Conselvan de Oliveira > > To make this work we load the new hardware state into the > atomic_state, then swap it with the sw state. > > This lets us change the force restore path in setup_hw_state()

Re: [Intel-gfx] [PATCH v3 15/22] drm/i915: Read hw state into an atomic state struct

2015-05-27 Thread Daniel Vetter
On Wed, May 27, 2015 at 07:30:01AM +0200, Maarten Lankhorst wrote: > Hey, > > Op 20-05-15 om 18:04 schreef maarten.lankho...@linux.intel.com: > > From: Ander Conselvan de Oliveira > > > > To make this work we load the new hardware state into the > > atomic_state, then swap it with the sw state. >

Re: [Intel-gfx] [PATCH v3 15/22] drm/i915: Read hw state into an atomic state struct

2015-05-26 Thread Maarten Lankhorst
Hey, Op 20-05-15 om 18:04 schreef maarten.lankho...@linux.intel.com: > From: Ander Conselvan de Oliveira > > To make this work we load the new hardware state into the > atomic_state, then swap it with the sw state. > > This lets us change the force restore path in setup_hw_state() > to use a sing

[Intel-gfx] [PATCH v3 15/22] drm/i915: Read hw state into an atomic state struct

2015-05-20 Thread maarten . lankhorst
From: Ander Conselvan de Oliveira To make this work we load the new hardware state into the atomic_state, then swap it with the sw state. This lets us change the force restore path in setup_hw_state() to use a single call to intel_mode_set() to restore all the previous state. As a nice bonus th