Re: [Intel-gfx] [PATCH 6/6] drm/i915: Stop caching the "golden" renderstate

2017-11-03 Thread Rodrigo Vivi
On Fri, Nov 03, 2017 at 08:39:21AM +, Joonas Lahtinen wrote: > On Thu, 2017-11-02 at 16:34 -0700, Rodrigo Vivi wrote: > > On Thu, Nov 02, 2017 at 10:36:26PM +, Oscar Mateo wrote: > > > > > > > > > On 11/02/2017 07:56 AM, Joonas Lahtinen wrote: > > > > On Thu, 2017-11-02 at 07:54 -0700, Ro

Re: [Intel-gfx] [PATCH 6/6] drm/i915: Stop caching the "golden" renderstate

2017-11-03 Thread Joonas Lahtinen
On Thu, 2017-11-02 at 16:34 -0700, Rodrigo Vivi wrote: > On Thu, Nov 02, 2017 at 10:36:26PM +, Oscar Mateo wrote: > > > > > > On 11/02/2017 07:56 AM, Joonas Lahtinen wrote: > > > On Thu, 2017-11-02 at 07:54 -0700, Rodrigo Vivi wrote: > > > > On Thu, Nov 02, 2017 at 02:43:16PM +, Joonas La

Re: [Intel-gfx] [PATCH 6/6] drm/i915: Stop caching the "golden" renderstate

2017-11-02 Thread Chris Wilson
Quoting Rodrigo Vivi (2017-11-02 23:34:52) > On Thu, Nov 02, 2017 at 10:36:26PM +, Oscar Mateo wrote: > > > > > > On 11/02/2017 07:56 AM, Joonas Lahtinen wrote: > > > On Thu, 2017-11-02 at 07:54 -0700, Rodrigo Vivi wrote: > > > > On Thu, Nov 02, 2017 at 02:43:16PM +, Joonas Lahtinen wrote

Re: [Intel-gfx] [PATCH 6/6] drm/i915: Stop caching the "golden" renderstate

2017-11-02 Thread Rodrigo Vivi
On Thu, Nov 02, 2017 at 10:36:26PM +, Oscar Mateo wrote: > > > On 11/02/2017 07:56 AM, Joonas Lahtinen wrote: > > On Thu, 2017-11-02 at 07:54 -0700, Rodrigo Vivi wrote: > > > On Thu, Nov 02, 2017 at 02:43:16PM +, Joonas Lahtinen wrote: > > > > On Thu, 2017-11-02 at 12:42 +, Chris Wils

Re: [Intel-gfx] [PATCH 6/6] drm/i915: Stop caching the "golden" renderstate

2017-11-02 Thread Oscar Mateo
On 11/02/2017 07:56 AM, Joonas Lahtinen wrote: On Thu, 2017-11-02 at 07:54 -0700, Rodrigo Vivi wrote: On Thu, Nov 02, 2017 at 02:43:16PM +, Joonas Lahtinen wrote: On Thu, 2017-11-02 at 12:42 +, Chris Wilson wrote: As we now record the default HW state and so only emit the "golden" re

Re: [Intel-gfx] [PATCH 6/6] drm/i915: Stop caching the "golden" renderstate

2017-11-02 Thread Joonas Lahtinen
On Thu, 2017-11-02 at 07:54 -0700, Rodrigo Vivi wrote: > On Thu, Nov 02, 2017 at 02:43:16PM +, Joonas Lahtinen wrote: > > On Thu, 2017-11-02 at 12:42 +, Chris Wilson wrote: > > > As we now record the default HW state and so only emit the "golden" > > > renderstate once to prepare the HW, th

Re: [Intel-gfx] [PATCH 6/6] drm/i915: Stop caching the "golden" renderstate

2017-11-02 Thread Rodrigo Vivi
On Thu, Nov 02, 2017 at 02:43:16PM +, Joonas Lahtinen wrote: > On Thu, 2017-11-02 at 12:42 +, Chris Wilson wrote: > > As we now record the default HW state and so only emit the "golden" > > renderstate once to prepare the HW, there is no advantage in keeping the > > renderstate batch around

Re: [Intel-gfx] [PATCH 6/6] drm/i915: Stop caching the "golden" renderstate

2017-11-02 Thread Joonas Lahtinen
On Thu, 2017-11-02 at 12:42 +, Chris Wilson wrote: > As we now record the default HW state and so only emit the "golden" > renderstate once to prepare the HW, there is no advantage in keeping the > renderstate batch around as it will never be used again. > > Signed-off-by: Chris Wilson Revie

[Intel-gfx] [PATCH 6/6] drm/i915: Stop caching the "golden" renderstate

2017-11-02 Thread Chris Wilson
As we now record the default HW state and so only emit the "golden" renderstate once to prepare the HW, there is no advantage in keeping the renderstate batch around as it will never be used again. Signed-off-by: Chris Wilson --- drivers/gpu/drm/i915/i915_drv.h | 1 - drivers/gpu/