Re: [Intel-gfx] [RFC] drm/i915: Allow the UMD to configure their own power clock state

2017-05-11 Thread Joonas Lahtinen
On ke, 2017-05-10 at 08:33 +, Oscar Mateo wrote: > > > On 05/10/2017 01:28 PM, Daniel Vetter wrote: > > > > On Wed, May 10, 2017 at 2:59 PM, Joonas Lahtinen > > wrote: > > > > > > > > > > > @@ -841,6 +847,11 @@ static int gen9_init_workarounds(struct > >

Re: [Intel-gfx] [RFC] drm/i915: Allow the UMD to configure their own power clock state

2017-05-10 Thread Oscar Mateo
On 05/10/2017 01:28 PM, Daniel Vetter wrote: On Wed, May 10, 2017 at 2:59 PM, Joonas Lahtinen wrote: @@ -841,6 +847,11 @@ static int gen9_init_workarounds(struct intel_engine_cs *engine) if (ret) return ret; + /* Allow the UMD to

Re: [Intel-gfx] [RFC] drm/i915: Allow the UMD to configure their own power clock state

2017-05-10 Thread Oscar Mateo
On 05/10/2017 02:09 PM, Michał Winiarski wrote: On Wed, May 10, 2017 at 04:47:50PM +0300, Mika Kuoppala wrote: Oscar Mateo writes: This allows userspace to shutdown slices at will for performance/power reasons (because it doesn't have a use for more slices). Cc:

Re: [Intel-gfx] [RFC] drm/i915: Allow the UMD to configure their own power clock state

2017-05-10 Thread Chris Wilson
On Wed, May 10, 2017 at 04:09:34PM +0200, Michał Winiarski wrote: > On Wed, May 10, 2017 at 04:47:50PM +0300, Mika Kuoppala wrote: > > Oscar Mateo writes: > > > > > This allows userspace to shutdown slices at will for performance/power > > > reasons > > > (because it

Re: [Intel-gfx] [RFC] drm/i915: Allow the UMD to configure their own power clock state

2017-05-10 Thread Michał Winiarski
On Wed, May 10, 2017 at 04:47:50PM +0300, Mika Kuoppala wrote: > Oscar Mateo writes: > > > This allows userspace to shutdown slices at will for performance/power > > reasons > > (because it doesn't have a use for more slices). > > > > Cc: Dmitry Rogozhkin

Re: [Intel-gfx] [RFC] drm/i915: Allow the UMD to configure their own power clock state

2017-05-10 Thread Mika Kuoppala
Oscar Mateo writes: > This allows userspace to shutdown slices at will for performance/power reasons > (because it doesn't have a use for more slices). > > Cc: Dmitry Rogozhkin > Cc: Chris Wilson > Signed-off-by:

Re: [Intel-gfx] [RFC] drm/i915: Allow the UMD to configure their own power clock state

2017-05-10 Thread Daniel Vetter
On Wed, May 10, 2017 at 2:59 PM, Joonas Lahtinen wrote: >> @@ -841,6 +847,11 @@ static int gen9_init_workarounds(struct intel_engine_cs >> *engine) >> if (ret) >> return ret; >> >> + /* Allow the UMD to configure their own power clock

Re: [Intel-gfx] [RFC] drm/i915: Allow the UMD to configure their own power clock state

2017-05-10 Thread Joonas Lahtinen
On ti, 2017-05-02 at 15:07 +, Oscar Mateo wrote: > This allows userspace to shutdown slices at will for performance/power reasons > (because it doesn't have a use for more slices). > > Cc: Dmitry Rogozhkin > Cc: Chris Wilson >

[Intel-gfx] [RFC] drm/i915: Allow the UMD to configure their own power clock state

2017-05-02 Thread Oscar Mateo
This allows userspace to shutdown slices at will for performance/power reasons (because it doesn't have a use for more slices). Cc: Dmitry Rogozhkin Cc: Chris Wilson Signed-off-by: Oscar Mateo ---