Re: [Intel-gfx] [PATCH 09/20] drm/i915: add power context allocation and setup on VLV v2

2013-03-12 Thread Jesse Barnes
jbar...@virtuousgeek.org,intel-gfx@lists.freedesktop.org Subject: Re: [Intel-gfx] [PATCH 09/20] drm/i915: add power context allocation and setup on VLV v2 On Tue, Mar 12, 2013 at 12:40:30AM +0100, Daniel Vetter wrote: On Fri, Mar 08, 2013 at 10:45:52AM -0800, Jesse Barnes wrote: The Gunit

Re: [Intel-gfx] [PATCH 09/20] drm/i915: add power context allocation and setup on VLV v2

2013-03-11 Thread Daniel Vetter
On Fri, Mar 08, 2013 at 10:45:52AM -0800, Jesse Barnes wrote: The Gunit has a separate reg for this, so allocate some stolen space for the power context and initialize the reg. Is it a requirement to use stolen space? The reason we're allocating rings and all from stolen is just to test things

Re: [Intel-gfx] [PATCH 09/20] drm/i915: add power context allocation and setup on VLV v2

2013-03-11 Thread Chris Wilson
On Tue, Mar 12, 2013 at 12:40:30AM +0100, Daniel Vetter wrote: On Fri, Mar 08, 2013 at 10:45:52AM -0800, Jesse Barnes wrote: The Gunit has a separate reg for this, so allocate some stolen space for the power context and initialize the reg. Is it a requirement to use stolen space? The

[Intel-gfx] [PATCH 09/20] drm/i915: add power context allocation and setup on VLV v2

2013-03-08 Thread Jesse Barnes
The Gunit has a separate reg for this, so allocate some stolen space for the power context and initialize the reg. v2: check for allocation before freeing at cleanup (Jani) Signed-off-by: Jesse Barnes jbar...@virtuousgeek.org --- drivers/gpu/drm/i915/i915_drv.h|2 ++

Re: [Intel-gfx] [PATCH 09/20] drm/i915: add power context allocation and setup on VLV v2

2013-03-08 Thread Ben Widawsky
On Fri, Mar 08, 2013 at 10:45:52AM -0800, Jesse Barnes wrote: The Gunit has a separate reg for this, so allocate some stolen space for the power context and initialize the reg. v2: check for allocation before freeing at cleanup (Jani) Signed-off-by: Jesse Barnes jbar...@virtuousgeek.org