Re: [Intel-gfx] [PATCH 4/4] drm/i915/bxt: Clean up bxt_init_clock_gating

2015-09-07 Thread Nick Hoath
On 29/06/2015 15:29, Mika Kuoppala wrote: Nick Hoath writes: Add stepping check for A0 workarounds, and remove the associated FIXME tags. Split out unrelated WAs for later condition checking. v2: Fixed format (PeterL) v3: Corrected stepping check for WaDisableSDEUnitClockGating

[Intel-gfx] [PATCH] drm/i915: Split alloc from init for lrc

2015-09-10 Thread Nick Hoath
ebase breakage. Put context pinning in separate function. Removed code churn. (Thomas Daniel) Issue: VIZ-4798 Signed-off-by: Nick Hoath Cc: Daniel Vetter Cc: Chris Wilson Cc: John Harrison Cc: David Gordon Cc: Thomas Daniel --- drivers/gpu/drm/i915/i915_drv.h| 1 - d

[Intel-gfx] [PATCH] drm/i915: Split alloc from init for lrc

2015-09-11 Thread Nick Hoath
ebase breakage. Put context pinning in separate function. Removed code churn. (Thomas Daniel) v6: Cleanup up issues introduced in v2 & v5 (Thomas Daniel) Issue: VIZ-4798 Signed-off-by: Nick Hoath Cc: Daniel Vetter Cc: Chris Wilson Cc: John Harrison Cc: David Gordon Cc: Thomas Danie

[Intel-gfx] [PATCH] drm/i915: Remove extraneous request cancel.

2015-09-21 Thread Nick Hoath
Remove extraneous request cancel in request allocation failure path in intel_lr_context_deferred_alloc (Tvrtko Ursulin) Signed-off-by: Nick Hoath Cc: Tvrtko Ursulin --- drivers/gpu/drm/i915/intel_lrc.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/gpu/drm/i915/intel_lrc.c b

Re: [Intel-gfx] [PATCH] drm/i195/bxt: Add A1 stepping for Broxton

2015-05-05 Thread Nick Hoath
On 29/04/2015 15:35, Deak, Imre wrote: On pe, 2015-03-20 at 09:29 +, Nick Hoath wrote: This stepping isn't listed separately in the specs, so needs confirmation. Signed-off-by: Nick Hoath --- drivers/gpu/drm/i915/i915_drv.h | 1 + 1 file changed, 1 insertion(+) diff --git a/dr

Re: [Intel-gfx] [PATCH 2/3] drm/i915/bxt: Add WaDisableSbeCacheDispatchPortSharing

2015-05-05 Thread Nick Hoath
On 29/04/2015 13:26, Deak, Imre wrote: On pe, 2015-04-10 at 13:12 +0100, Nick Hoath wrote: Signed-off-by: Nick Hoath --- drivers/gpu/drm/i915/i915_reg.h | 1 + drivers/gpu/drm/i915/intel_ringbuffer.c | 7 +++ 2 files changed, 8 insertions(+) diff --git a/drivers/gpu/drm/i915

Re: [Intel-gfx] [PATCH] drm/i195/bxt: Add A1 stepping for Broxton

2015-05-06 Thread Nick Hoath
On 05/05/2015 17:18, Deak, Imre wrote: On ti, 2015-05-05 at 15:20 +0100, Nick Hoath wrote: On 29/04/2015 15:35, Deak, Imre wrote: On pe, 2015-03-20 at 09:29 +, Nick Hoath wrote: This stepping isn't listed separately in the specs, so needs confirmation. Signed-off-by: Nick

Re: [Intel-gfx] [PATCH 3/3] drm/i915/bxt: Add WaForceContextSaveRestoreNonCoherent

2015-05-06 Thread Nick Hoath
On 29/04/2015 14:02, Deak, Imre wrote: On pe, 2015-04-10 at 13:12 +0100, Nick Hoath wrote: Signed-off-by: Nick Hoath --- drivers/gpu/drm/i915/intel_ringbuffer.c | 5 + 1 file changed, 5 insertions(+) diff --git a/drivers/gpu/drm/i915/intel_ringbuffer.c b/drivers/gpu/drm/i915

[Intel-gfx] [PATCH 2/9] drm/i915/bxt: Mark workaround as for Skylake & Broxton

2015-05-07 Thread Nick Hoath
Signed-off-by: Nick Hoath --- drivers/gpu/drm/i915/intel_ringbuffer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/i915/intel_ringbuffer.c b/drivers/gpu/drm/i915/intel_ringbuffer.c index 49e4610..cdbdf49 100644 --- a/drivers/gpu/drm/i915/intel_ringbuffer.c

[Intel-gfx] [PATCH 4/9] drm/i915/bxt: Enable WaSetDisablePixMaskCammingAndRhwoInCommonSliceChicken for Broxton

2015-05-07 Thread Nick Hoath
Signed-off-by: Nick Hoath --- drivers/gpu/drm/i915/intel_ringbuffer.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/i915/intel_ringbuffer.c b/drivers/gpu/drm/i915/intel_ringbuffer.c index 3f1a784..ac1ad44 100644 --- a/drivers/gpu/drm/i915

[Intel-gfx] [PATCH 3/9] drm/i915/bxt: Enable WaDisableDgMirrorFixInHalfSliceChicken5 for Broxton

2015-05-07 Thread Nick Hoath
Signed-off-by: Nick Hoath --- drivers/gpu/drm/i915/intel_ringbuffer.c | 7 --- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/drivers/gpu/drm/i915/intel_ringbuffer.c b/drivers/gpu/drm/i915/intel_ringbuffer.c index cdbdf49..3f1a784 100644 --- a/drivers/gpu/drm/i915

[Intel-gfx] [PATCH 1/9] drm/i915/bxt: Mark WaDisablePartialInstShootdown as for Broxton also.

2015-05-07 Thread Nick Hoath
Signed-off-by: Nick Hoath --- drivers/gpu/drm/i915/intel_ringbuffer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/i915/intel_ringbuffer.c b/drivers/gpu/drm/i915/intel_ringbuffer.c index 7ef9a29..49e4610 100644 --- a/drivers/gpu/drm/i915/intel_ringbuffer.c

[Intel-gfx] [PATCH 0/9] drm/i915/bxt Enable existing workarounds for Broxton

2015-05-07 Thread Nick Hoath
. (Imre) Cleaned up revision ID usage (Imre) Nick Hoath (9): drm/i915/bxt: Mark WaDisablePartialInstShootdown as for Broxton also. drm/i915/bxt: Mark workaround as for Skylake & Broxton drm/i915/bxt: Enable WaDisableDgMirrorFixInHalfSliceChicken5 for Broxton drm/i915/bxt: En

[Intel-gfx] [PATCH 9/9] drm/i915/bxt: Mark WaCcsTlbPrefetchDisable as for Broxton also.

2015-05-07 Thread Nick Hoath
Signed-off-by: Nick Hoath --- drivers/gpu/drm/i915/intel_ringbuffer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/i915/intel_ringbuffer.c b/drivers/gpu/drm/i915/intel_ringbuffer.c index e5c9f9a..001343f 100644 --- a/drivers/gpu/drm/i915/intel_ringbuffer.c

[Intel-gfx] [PATCH 7/9] drm/i915/bxt: Mark Wa4x4STCOptimizationDisable as for Broxton also.

2015-05-07 Thread Nick Hoath
Signed-off-by: Nick Hoath --- drivers/gpu/drm/i915/intel_ringbuffer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/i915/intel_ringbuffer.c b/drivers/gpu/drm/i915/intel_ringbuffer.c index dec0e74..cf36c6b 100644 --- a/drivers/gpu/drm/i915/intel_ringbuffer.c

[Intel-gfx] [PATCH 6/9] drm/i915/bxt: Move WaForceEnableNonCoherent to Skylake only

2015-05-07 Thread Nick Hoath
Signed-off-by: Nick Hoath --- drivers/gpu/drm/i915/intel_ringbuffer.c | 22 +++--- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/drivers/gpu/drm/i915/intel_ringbuffer.c b/drivers/gpu/drm/i915/intel_ringbuffer.c index 076d3e5..dec0e74 100644 --- a/drivers/gpu

[Intel-gfx] [PATCH 5/9] drm/i915/bxt: Enable WaEnableYV12BugFixInHalfSliceChicken7 for Broxton

2015-05-07 Thread Nick Hoath
Signed-off-by: Nick Hoath --- drivers/gpu/drm/i915/intel_ringbuffer.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/i915/intel_ringbuffer.c b/drivers/gpu/drm/i915/intel_ringbuffer.c index ac1ad44..076d3e5 100644 --- a/drivers/gpu/drm/i915

[Intel-gfx] [PATCH 8/9] drm/i915/bxt: Mark WaDisablePartialResolveInVc as for Broxton also.

2015-05-07 Thread Nick Hoath
Signed-off-by: Nick Hoath --- drivers/gpu/drm/i915/intel_ringbuffer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/i915/intel_ringbuffer.c b/drivers/gpu/drm/i915/intel_ringbuffer.c index cf36c6b..e5c9f9a 100644 --- a/drivers/gpu/drm/i915/intel_ringbuffer.c

Re: [Intel-gfx] [PATCH] drm/i915/skl: Implement WaBarrierPerformanceFixDisable (again)

2015-06-03 Thread Nick Hoath
Implement WaBarrierPerformanceFixDisable The workaround ended up in the chv workarounds. Not sure what the reason or history of that is, but it /seems/ wrong. Don't know if this fixes anything patch doesn't always get it right... Reviewed-by: Nick Hoath since I have many other problems with my platform. Cc

[Intel-gfx] [PATCH 2/4] drm/i915: Removed duplicate members from submit_request

2014-12-16 Thread Nick Hoath
Where there were duplicate variables for the tail, context and ring (engine) in the gem request and the execlist queue item, use the one from the request and remove the duplicate from the execlist queue item. Issue: VIZ-4274 v1: Rebase Signed-off-by: Nick Hoath --- drivers/gpu/drm/i915

[Intel-gfx] [PATCH 4/4] drm/i915: Subsume intel_ctx_submit_request in to drm_i915_gem_request

2014-12-16 Thread Nick Hoath
Move all remaining elements that were unique to execlists queue items in to the associated request. Issue: VIZ-4274 v2: Rebase. Fixed issue of overzealous freeing of request. Signed-off-by: Nick Hoath --- drivers/gpu/drm/i915/i915_debugfs.c | 8 +++ drivers/gpu/drm/i915/i915_drv.h

[Intel-gfx] [PATCH 3/4] drm/i915: Remove FIXME_lrc_ctx backpointer

2014-12-16 Thread Nick Hoath
: Integrate this changeset with the removal of duplicate request/execlist queue item members. v3: Rebase Signed-off-by: Nick Hoath --- drivers/gpu/drm/i915/i915_gem.c | 7 ++-- drivers/gpu/drm/i915/intel_lrc.c| 68 - drivers/gpu/drm/i915/intel_lrc.h

[Intel-gfx] [PATCH 0/4] drm/i915: Untangle execlist tracking

2014-12-16 Thread Nick Hoath
it_request and drm_i915_gem_request, rebase changes & add cover letter v3: Rebase over upstreamed "Replace seqno values with request structures" and add overzealous freeing fix. Issue: VIZ-4274 Nick Hoath (4): drm/i915: execlist request keeps ptr/ref to gem_request drm/i915: R

[Intel-gfx] [PATCH 1/4] drm/i915: execlist request keeps ptr/ref to gem_request

2014-12-16 Thread Nick Hoath
Add a reference and pointer from the execlist queue item to the associated gem request. For execlist requests that don't have a request, create one as a placeholder. Issue: VIZ-4274 v1: Rebase after upstream of "Replace seqno values with request structures" patchset. Signed-off

[Intel-gfx] [PATCH 2/4] drm/i915: Removed duplicate members from submit_request

2014-12-22 Thread Nick Hoath
Where there were duplicate variables for the tail, context and ring (engine) in the gem request and the execlist queue item, use the one from the request and remove the duplicate from the execlist queue item. Issue: VIZ-4274 v1: Rebase Signed-off-by: Nick Hoath --- drivers/gpu/drm/i915

[Intel-gfx] [PATCH 0/4] drm/i915: Untangle execlist tracking

2014-12-22 Thread Nick Hoath
it_request and drm_i915_gem_request, rebase changes & add cover letter v3: Rebase over upstreamed "Replace seqno values with request structures" and add overzealous freeing fix. v4: Removed re-addition of cleanup work queue (found by Daniel Vetter) Issue: VIZ-4274 Nick Hoath (

[Intel-gfx] [PATCH 3/4] drm/i915: Remove FIXME_lrc_ctx backpointer

2014-12-22 Thread Nick Hoath
: Integrate this changeset with the removal of duplicate request/execlist queue item members. v3: Rebase Signed-off-by: Nick Hoath --- drivers/gpu/drm/i915/i915_gem.c | 7 ++-- drivers/gpu/drm/i915/intel_lrc.c| 68 - drivers/gpu/drm/i915/intel_lrc.h

[Intel-gfx] [PATCH 4/4] drm/i915: Subsume intel_ctx_submit_request in to drm_i915_gem_request

2014-12-22 Thread Nick Hoath
Move all remaining elements that were unique to execlists queue items in to the associated request. Issue: VIZ-4274 v2: Rebase. Fixed issue of overzealous freeing of request. v3: Removed re-addition of cleanup work queue (found by Daniel Vetter) Signed-off-by: Nick Hoath --- drivers/gpu/drm

[Intel-gfx] [PATCH 1/4] drm/i915: execlist request keeps ptr/ref to gem_request

2014-12-22 Thread Nick Hoath
Add a reference and pointer from the execlist queue item to the associated gem request. For execlist requests that don't have a request, create one as a placeholder. Issue: VIZ-4274 v1: Rebase after upstream of "Replace seqno values with request structures" patchset. Signed-off

[Intel-gfx] [PATCH 1/4] drm/i915: execlist request keeps ptr/ref to gem_request

2015-01-12 Thread Nick Hoath
Add a reference and pointer from the execlist queue item to the associated gem request. For execlist requests that don't have a request, create one as a placeholder. Issue: VIZ-4274 v1: Rebase after upstream of "Replace seqno values with request structures" patchset. Signed-off

[Intel-gfx] [PATCH 3/4] drm/i915: Remove FIXME_lrc_ctx backpointer

2015-01-12 Thread Nick Hoath
: Integrate this changeset with the removal of duplicate request/execlist queue item members. v3: Rebase v4: Rebase. Remove passing of context when the request is passed. Signed-off-by: Nick Hoath --- drivers/gpu/drm/i915/i915_gem.c | 5 +-- drivers/gpu/drm/i915/intel_lrc.c| 67

[Intel-gfx] [PATCH 0/4] drm/i915: Untangle execlist tracking

2015-01-12 Thread Nick Hoath
patch (0002). Separated out the tail pointer from the postfix pointer (found by Thomas Daniel) v6: Actual removal of intel_ctx_submit_request. Update both tail and postfix pointer in __i915_add_request (found by Thomas Daniel) Nick Hoath (4): drm/i915: execlist request keeps ptr/ref to gem_req

[Intel-gfx] [PATCH 2/4] drm/i915: Removed duplicate members from submit_request

2015-01-12 Thread Nick Hoath
tail pointers as these are used in different ways. Reinserted missing full tail pointer update. Signed-off-by: Nick Hoath Signed-off-by: Nick Hoath --- drivers/gpu/drm/i915/i915_debugfs.c | 4 ++-- drivers/gpu/drm/i915/i915_drv.h | 9 - drivers/gpu/drm/i915/i915_gem.c

[Intel-gfx] [PATCH 4/4] drm/i915: Subsume intel_ctx_submit_request in to drm_i915_gem_request

2015-01-12 Thread Nick Hoath
intel_ctx_submit_request. Update both tail and postfix pointer in __i915_add_request (found by Thomas Daniel) Signed-off-by: Nick Hoath --- drivers/gpu/drm/i915/i915_debugfs.c | 8 +++ drivers/gpu/drm/i915/i915_drv.h | 21 + drivers/gpu/drm/i915/i915_gem.c | 12 +- drivers

[Intel-gfx] [PATCH 0/4] drm/i915: Untangle execlist tracking

2015-01-15 Thread Nick Hoath
patch (0002). Separated out the tail pointer from the postfix pointer (found by Thomas Daniel) v6: Actual removal of intel_ctx_submit_request. Update both tail and postfix pointer in __i915_add_request (found by Thomas Daniel) v7: Removed unrelated changes Nick Hoath (4): drm/i915: execlist

[Intel-gfx] [PATCH 1/4] drm/i915: execlist request keeps ptr/ref to gem_request

2015-01-15 Thread Nick Hoath
Add a reference and pointer from the execlist queue item to the associated gem request. For execlist requests that don't have a request, create one as a placeholder. Issue: VIZ-4274 v1: Rebase after upstream of "Replace seqno values with request structures" patchset. Signed-off

[Intel-gfx] [PATCH 2/4] drm/i915: Removed duplicate members from submit_request

2015-01-15 Thread Nick Hoath
tail pointers as these are used in different ways. Reinserted missing full tail pointer update. Signed-off-by: Nick Hoath Signed-off-by: Nick Hoath --- drivers/gpu/drm/i915/i915_debugfs.c | 4 ++-- drivers/gpu/drm/i915/i915_drv.h | 9 - drivers/gpu/drm/i915/i915_gem.c

[Intel-gfx] [PATCH 4/4] drm/i915: Subsume intel_ctx_submit_request in to drm_i915_gem_request

2015-01-15 Thread Nick Hoath
intel_ctx_submit_request. Update both tail and postfix pointer in __i915_add_request (found by Thomas Daniel) v6: Removed unrelated changes Signed-off-by: Nick Hoath --- drivers/gpu/drm/i915/i915_debugfs.c | 8 +++ drivers/gpu/drm/i915/i915_drv.h | 21 + drivers/gpu/drm/i915/i915_gem.c

[Intel-gfx] [PATCH 3/4] drm/i915: Remove FIXME_lrc_ctx backpointer

2015-01-15 Thread Nick Hoath
: Integrate this changeset with the removal of duplicate request/execlist queue item members. v3: Rebase v4: Rebase. Remove passing of context when the request is passed. Signed-off-by: Nick Hoath --- drivers/gpu/drm/i915/i915_gem.c | 5 +-- drivers/gpu/drm/i915/intel_lrc.c| 67

[Intel-gfx] [PATCH] drm/i915: Fix a use-after-free in intel_execlists_retire_requests

2015-01-29 Thread Nick Hoath
Remove request from list before unreferencing it, in case it's actually the only reference. (Found by Tvrtko Ursulin) Signed-off-by: Nick Hoath --- drivers/gpu/drm/i915/intel_lrc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/i915/intel_lrc.c b/driver

Re: [Intel-gfx] [PATCH] drm/i915: Fix a use-after-free in intel_execlists_retire_requests

2015-01-30 Thread Nick Hoath
On 30/01/2015 16:33, Daniel Vetter wrote: On Fri, Jan 30, 2015 at 11:01:30AM +0200, Mika Kuoppala wrote: Nick Hoath writes: Remove request from list before unreferencing it, in case it's actually the only reference. (Found by Tvrtko Ursulin) Signed-off-by: Nick Hoath Do we h

[Intel-gfx] [PATCH 08/10] drm/i915: gen 9 h/w w/a (Wa4x4STCOptimizationDisable)

2015-02-05 Thread Nick Hoath
From: "Hoath, Nicholas" Move Wa4x4STCOptimizationDisable to gen9_init_workarounds v1: rebase Signed-off-by: Nick Hoath --- drivers/gpu/drm/i915/intel_pm.c | 4 drivers/gpu/drm/i915/intel_ringbuffer.c | 3 +++ 2 files changed, 3 insertions(+), 4 deletions(-) diff --git

[Intel-gfx] [PATCH 04/10] drm/i915: gen 9 h/w w/a (WaDisableDgMirrorFixInHalfSliceChicken5)

2015-02-05 Thread Nick Hoath
Move WaDisableDgMirrorFixInHalfSliceChicken5 to gen9_init_workarounds v1: Added stepping check v2: Removed unused register bitmap Signed-off-by: Nick Hoath --- drivers/gpu/drm/i915/intel_pm.c | 8 drivers/gpu/drm/i915/intel_ringbuffer.c | 10 ++ 2 files changed, 10

[Intel-gfx] [PATCH 10/10] drm/i915: gen 9 h/w w/a (WaEnableForceRestoreInCtxtDescForVCS)

2015-02-05 Thread Nick Hoath
From: "Hoath, Nicholas" Add: WaEnableForceRestoreInCtxtDescForVCS v1: Add stepping check. Signed-off-by: Nick Hoath --- drivers/gpu/drm/i915/intel_lrc.c | 15 --- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/drivers/gpu/drm/i915/intel_lrc.c b/drive

[Intel-gfx] [PATCH 01/10] drm/i915: ring w/a initialisation for gen 9

2015-02-05 Thread Nick Hoath
From: "Hoath, Nicholas" Add framework for gen 9 HW WAs v1: Changed SOC specific WA function to gen 9 common function (Req: Damien Lespiau) Signed-off-by: Nick Hoath --- drivers/gpu/drm/i915/intel_ringbuffer.c | 8 1 file changed, 8 insertions(+) diff --git a/drivers/gp

[Intel-gfx] [PATCH 07/10] drm/i915: gen 9 h/w w/a (WaEnableYV12BugFixInHalfSliceChicken7)

2015-02-05 Thread Nick Hoath
Move WaEnableYV12BugFixInHalfSliceChicken7 to gen9_init_workarounds v1: Add stepping check. Signed-off-by: Nick Hoath --- drivers/gpu/drm/i915/i915_reg.h | 3 +++ drivers/gpu/drm/i915/intel_ringbuffer.c | 6 ++ 2 files changed, 9 insertions(+) diff --git a/drivers/gpu/drm/i915

[Intel-gfx] [PATCH 03/10] drm/i915: gen 9 h/w w/a (WaDisablePartialInstShootdown)

2015-02-05 Thread Nick Hoath
From: "Hoath, Nicholas" Add: WaDisablePartialInstShootdown v1: Dont add WaDisableThreadStallDopClockGating as not SKL WA. (Found by Damien Lespiau) Signed-off-by: Nick Hoath --- drivers/gpu/drm/i915/intel_ringbuffer.c | 7 +++ 1 file changed, 7 insertions(+) diff --git a/d

[Intel-gfx] [PATCH 02/10] drm/i915: ring w/a gen 9 revision definitions

2015-02-05 Thread Nick Hoath
From: "Hoath, Nicholas" Add Skylake stepping Revision IDs definitions. v1: Use existing revision id. Signed-off-by: Nick Hoath --- drivers/gpu/drm/i915/i915_drv.h | 6 ++ 1 file changed, 6 insertions(+) diff --git a/drivers/gpu/drm/i915/i915_drv.h b/drivers/gpu/drm/i915/i915_d

[Intel-gfx] [PATCH 00/10] drm/i915: HardWare WorkArounds for gen 9

2015-02-05 Thread Nick Hoath
9 h/w w/a (Wa4x4STCOptimizationDisable) drm/i915: gen 9 h/w w/a (WaForceEnableNonCoherent) drm/i915: gen 9 h/w w/a (WaEnableForceRestoreInCtxtDescForVCS) Nick Hoath (3): drm/i915: gen 9 h/w w/a (WaDisableDgMirrorFixInHalfSliceChicken5) drm/i915: gen 9 h/w w/a (syncing dependencies between

[Intel-gfx] [PATCH 05/10] drm/i915: gen 9 h/w w/a (syncing dependencies between camera and graphics)

2015-02-05 Thread Nick Hoath
Added: Syncing dependencies between camera and graphics v1: Added missing register bitmap Signed-off-by: Nick Hoath --- drivers/gpu/drm/i915/i915_reg.h | 1 + drivers/gpu/drm/i915/intel_ringbuffer.c | 4 2 files changed, 5 insertions(+) diff --git a/drivers/gpu/drm/i915/i915_reg.h

[Intel-gfx] [PATCH 09/10] drm/i915: gen 9 h/w w/a (WaForceEnableNonCoherent)

2015-02-05 Thread Nick Hoath
From: "Hoath, Nicholas" Add: WaForceEnableNonCoherent v1: Don't add WaHdcDisableFetchWhenMasked. Add stepping check for WaForceEnableNonCoherent Signed-off-by: Nick Hoath --- drivers/gpu/drm/i915/intel_ringbuffer.c | 11 +++ 1 file changed, 11 insertions(+) diff --gi

[Intel-gfx] [PATCH 06/10] drm/i915: gen 9 h/w w/a (WaDisableSDEUnitClockGating)

2015-02-05 Thread Nick Hoath
From: "Hoath, Nicholas" Add stepping check for WaDisableSDEUnitClockGating. Signed-off-by: Nick Hoath --- drivers/gpu/drm/i915/intel_pm.c | 14 -- 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/drivers/gpu/drm/i915/intel_pm.c b/drivers/gpu/drm/i915/intel_

Re: [Intel-gfx] [PATCH 03/10] drm/i915: gen 9 h/w w/a (WaDisablePartialInstShootdown)

2015-02-06 Thread Nick Hoath
On 06/02/2015 08:52, Daniel Vetter wrote: On Thu, Feb 05, 2015 at 05:51:46PM +, Damien Lespiau wrote: On Thu, Feb 05, 2015 at 10:47:18AM +, Nick Hoath wrote: From: "Hoath, Nicholas" Add: WaDisablePartialInstShootdown Just an editor note: that's not really additio

[Intel-gfx] [PATCH 2/2] drm/i915: gen 9 h/w w/a (WaEnableForceRestoreInCtxtDescForVCS)

2015-02-06 Thread Nick Hoath
Add: WaEnableForceRestoreInCtxtDescForVCS v2: Add stepping check. v3: Fixed stepping check direction. Cleaned up indentation. Signed-off-by: Nick Hoath --- drivers/gpu/drm/i915/intel_lrc.c | 15 --- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/drivers/gpu/drm

[Intel-gfx] [PATCH 1/2] drm/i915: gen 9 h/w w/a Fix stepping check

2015-02-06 Thread Nick Hoath
Fixed the stepping check on WaDisableDgMirrorFixInHalfSliceChicken5 to be for the correct SOC (Skylake) Signed-off-by: Nick Hoath --- drivers/gpu/drm/i915/intel_ringbuffer.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/gpu/drm/i915/intel_ringbuffer.c b/drivers

[Intel-gfx] [PATCH 0/2] gen 9 h/w w/a cleanup

2015-02-06 Thread Nick Hoath
Fix stepping check on WaDisableDgMirrorFixInHalfSliceChicken5, and clean up WaEnableForceRestoreInCtxtDescForVCS patch. Nick Hoath (2): drm/i915: gen 9 h/w w/a Fix stepping check drm/i915: gen 9 h/w w/a (WaEnableForceRestoreInCtxtDescForVCS) drivers/gpu/drm/i915/intel_lrc.c| 15

Re: [Intel-gfx] [PATCH 01/18] drm/i915: Support not having an init clock gating function defined

2015-02-11 Thread Nick Hoath
On 09/02/2015 19:33, Damien Lespiau wrote: When enabling new platforms, we may not have any W/A to apply, especially that, now, a bunch of them have to be done from the ring. Signed-off-by: Damien Lespiau Reviewed-by: Nick Hoath --- drivers/gpu/drm/i915/intel_pm.c | 3 ++- 1 file

Re: [Intel-gfx] [PATCH 02/18] drm/i915/skl: Implement WaDisableHBR2

2015-02-11 Thread Nick Hoath
On 09/02/2015 19:33, Damien Lespiau wrote: Signed-off-by: Damien Lespiau --- drivers/gpu/drm/i915/intel_dp.c | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/drivers/gpu/drm/i915/intel_dp.c b/drivers/gpu/drm/i915/intel_dp.c index d4c82d7..4a60c6a 100644 --- a/drivers/gp

Re: [Intel-gfx] [PATCH 03/18] drm/i915/skl: Document the WM read latency W/A with its name

2015-02-11 Thread Nick Hoath
On 09/02/2015 19:33, Damien Lespiau wrote: Signed-off-by: Damien Lespiau Reviewed-by: Nick Hoath --- drivers/gpu/drm/i915/intel_pm.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/gpu/drm/i915/intel_pm.c b/drivers/gpu/drm/i915/intel_pm.c index a3b979d..6fd6f26 100644

Re: [Intel-gfx] [PATCH 05/18] drm/i915/skl: Make the init clock gating function skylake specific

2015-02-11 Thread Nick Hoath
On 09/02/2015 19:33, Damien Lespiau wrote: We'll gather cross-gen9 W/A in a separate function later. Signed-off-by: Damien Lespiau Reviewed-by: Nick Hoath --- drivers/gpu/drm/i915/intel_pm.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm

Re: [Intel-gfx] [PATCH 06/18] drm/i915/skl: Implement WaSetGAPSunitClckGateDisable

2015-02-11 Thread Nick Hoath
On 09/02/2015 19:33, Damien Lespiau wrote: Let's also take the opportunity the remove the comment telling it's a pre-prod W/A, it should be obvious from the stepping test. Signed-off-by: Damien Lespiau Reviewed-by: Nick Hoath --- drivers/gpu/drm/i915/i915_reg.h | 1 + drive

Re: [Intel-gfx] [PATCH 04/18] drm/i915/skl: Provide a gen9 specific init_render_ring()

2015-02-11 Thread Nick Hoath
On 09/02/2015 19:33, Damien Lespiau wrote: WaDisableAsyncFlipPerfMode isn't listed for SKL and INSTPM_FORCE_ORDERING is MBZ so let's make a gen9 specific render init function. Signed-off-by: Damien Lespiau Reviewed-by: Nick Hoath --- drivers/gpu/drm/i915/intel_

Re: [Intel-gfx] [PATCH 08/18] drm/i915/skl: Document that we implement WaRsClearFWBitsAtReset

2015-02-11 Thread Nick Hoath
On 09/02/2015 19:33, Damien Lespiau wrote: Signed-off-by: Damien Lespiau Reviewed-by: Nick Hoath --- drivers/gpu/drm/i915/intel_uncore.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/gpu/drm/i915/intel_uncore.c b/drivers/gpu/drm/i915/intel_uncore.c index c47a3ba..ad71575

Re: [Intel-gfx] [PATCH 10/18] drm/i915/skl: Implement WaDisableVFUnitClockGating

2015-02-11 Thread Nick Hoath
On 09/02/2015 19:33, Damien Lespiau wrote: Signed-off-by: Damien Lespiau --- drivers/gpu/drm/i915/i915_reg.h | 1 + drivers/gpu/drm/i915/intel_pm.c | 4 2 files changed, 5 insertions(+) diff --git a/drivers/gpu/drm/i915/i915_reg.h b/drivers/gpu/drm/i915/i915_reg.h index 2043e82..a457c2

Re: [Intel-gfx] [PATCH 11/18] drm/i915/skl: Introduce a SKL specific init_workarounds()

2015-02-11 Thread Nick Hoath
On 09/02/2015 19:33, Damien Lespiau wrote: This function will host SKL-only W/As. Signed-off-by: Damien Lespiau Reviewed-by: Nick Hoath --- drivers/gpu/drm/i915/intel_ringbuffer.c | 11 ++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/drivers/gpu/drm/i915

Re: [Intel-gfx] [PATCH 12/18] drm/i915/skl: Implement WaDisablePowerCompilerClockGating

2015-02-11 Thread Nick Hoath
On 09/02/2015 19:33, Damien Lespiau wrote: Signed-off-by: Damien Lespiau --- drivers/gpu/drm/i915/i915_reg.h | 5 +++-- drivers/gpu/drm/i915/intel_ringbuffer.c | 8 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/i915/i915_reg.h b/drivers/gpu/

Re: [Intel-gfx] [PATCH 13/18] drm/i915/skl: Implement WaDisablePartialResolveInVc

2015-02-11 Thread Nick Hoath
On 09/02/2015 19:33, Damien Lespiau wrote: Signed-off-by: Damien Lespiau Reviewed-by: Nick Hoath --- drivers/gpu/drm/i915/i915_reg.h | 1 + drivers/gpu/drm/i915/intel_ringbuffer.c | 3 +++ 2 files changed, 4 insertions(+) diff --git a/drivers/gpu/drm/i915/i915_reg.h b/drivers

Re: [Intel-gfx] [PATCH 14/18] drm/i915/skl: Implement WaDisableLSQCROPERFforOCL

2015-02-11 Thread Nick Hoath
On 09/02/2015 19:33, Damien Lespiau wrote: Signed-off-by: Damien Lespiau Reviewed-by: Nick Hoath --- drivers/gpu/drm/i915/i915_drv.h | 1 + drivers/gpu/drm/i915/i915_reg.h | 3 +++ drivers/gpu/drm/i915/intel_pm.c | 5 + 3 files changed, 9 insertions(+) diff --git a/drivers/gpu

Re: [Intel-gfx] [PATCH 15/18] drm/i915/skl: Implement WaDisableHDCInvalidation

2015-02-11 Thread Nick Hoath
On 09/02/2015 19:33, Damien Lespiau wrote: Signed-off-by: Damien Lespiau Reviewed-by: Nick Hoath --- drivers/gpu/drm/i915/i915_reg.h | 1 + drivers/gpu/drm/i915/intel_pm.c | 6 ++ 2 files changed, 7 insertions(+) diff --git a/drivers/gpu/drm/i915/i915_reg.h b/drivers/gpu/drm/i915

Re: [Intel-gfx] [PATCH 16/18] drm/i915/skl: Implement WaDisableChickenBitTSGBarrierAckForFFSliceCS

2015-02-11 Thread Nick Hoath
On 09/02/2015 19:33, Damien Lespiau wrote: Signed-off-by: Damien Lespiau Reviewed-by: Nick Hoath --- drivers/gpu/drm/i915/i915_reg.h | 3 +++ drivers/gpu/drm/i915/intel_pm.c | 7 ++- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/drivers/gpu/drm/i915/i915_reg.h b

Re: [Intel-gfx] [PATCH 17/18] drm/i915/skl: Implement WaCcsTlbPrefetchDisable:skl

2015-02-11 Thread Nick Hoath
On 09/02/2015 19:33, Damien Lespiau wrote: Signed-off-by: Damien Lespiau Reviewed-by: Nick Hoath --- drivers/gpu/drm/i915/i915_reg.h | 1 + drivers/gpu/drm/i915/intel_ringbuffer.c | 4 2 files changed, 5 insertions(+) diff --git a/drivers/gpu/drm/i915/i915_reg.h b/drivers

Re: [Intel-gfx] [PATCH 18/18] drm/i915/skl: Implement WaBarrierPerformanceFixDisable

2015-02-11 Thread Nick Hoath
On 09/02/2015 19:33, Damien Lespiau wrote: Signed-off-by: Damien Lespiau Reviewed-by: Nick Hoath --- drivers/gpu/drm/i915/i915_reg.h | 1 + drivers/gpu/drm/i915/intel_ringbuffer.c | 7 +++ 2 files changed, 8 insertions(+) diff --git a/drivers/gpu/drm/i915/i915_reg.h b

[Intel-gfx] [PATCH] drm/i915: Fix an incorrect free rather than derefence issue.

2015-02-12 Thread Nick Hoath
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=88652 Signed-off-by: Nick Hoath --- drivers/gpu/drm/i915/i915_drv.c | 2 +- drivers/gpu/drm/i915/i915_gem.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/i915/i915_gem.c b/drivers/gpu/drm/i915

Re: [Intel-gfx] [PATCH 07/18] drm/i915/skl: Implement WaSetDisablePixMaskCammingAndRhwoInCommonSliceChicken

2015-02-12 Thread Nick Hoath
On 09/02/2015 19:33, Damien Lespiau wrote: Signed-off-by: Damien Lespiau Reviewed-by: Nick Hoath --- drivers/gpu/drm/i915/i915_reg.h | 4 drivers/gpu/drm/i915/intel_ringbuffer.c | 8 2 files changed, 12 insertions(+) diff --git a/drivers/gpu/drm/i915/i915_reg.h b

Re: [Intel-gfx] [PATCH 1/2] drm/i915/skl: Fix always true comparison in a revision id check

2015-02-12 Thread Nick Hoath
27;((->dev->pdev->revision) >= (0)) => (0-255 >= 0)' That's because revision is a u8. Tweak a bit the condition then. Cc: Nick Hoath Signed-off-by: Damien Lespiau A bit contrived :) but: Reviewed-by: Nick Hoath --- drivers/gpu/drm/i915/intel_ringbuffer.c | 4 ++-

Re: [Intel-gfx] [PATCH 2/2] drm/i915/skl: Use a LRI for WaDisableDgMirrorFixInHalfSliceChicken5

2015-02-12 Thread Nick Hoath
On 11/02/2015 18:21, Lespiau, Damien wrote: I have no idea how that crept in, but we need to do the write from the ring and this is a masked register. Two fixes in 1! Cc: Nick Hoath Signed-off-by: Damien Lespiau Reviewed-by: Nick Hoath --- drivers/gpu/drm/i915/intel_ringbuffer.c | 10

Re: [Intel-gfx] [PATCH 09/18] drm/i915/skl: Implement WaEnableLbsSlaRetryTimerDecrement

2015-02-12 Thread Nick Hoath
On 09/02/2015 19:33, Damien Lespiau wrote: This W/A is put in a gen9 specific function because it may well be needed on other gen9 platforms. Signed-off-by: Damien Lespiau Reviewed-by: Nick Hoath --- drivers/gpu/drm/i915/i915_reg.h | 3 +++ drivers/gpu/drm/i915/intel_pm.c | 11

Re: [Intel-gfx] [PATCH] drm/i915: Fix an incorrect free rather than derefence issue.

2015-02-13 Thread Nick Hoath
On 13/02/2015 09:32, Daniel Vetter wrote: On Thu, Feb 12, 2015 at 12:29:21PM +, Nick Hoath wrote: Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=88652 Signed-off-by: Nick Hoath Commit message is missing the absolutely crucial detail about which patch introduced this regression

[Intel-gfx] [PATCH] drm/i915: Fix a use after free, and unbalanced refcounting

2015-02-13 Thread Nick Hoath
place the free's. Problem introduced in: commit 6d3d8274bc45de4babb62d64562d92af984dd238 Author: Nick Hoath AuthorDate: Thu Jan 15 13:10:39 2015 + drm/i915: Subsume intel_ctx_submit_request in to drm_i915_gem_request Signed-off-by: Nick Hoath --- drivers/gpu/drm/i915/i

Re: [Intel-gfx] [PATCH 12/18] drm/i915/skl: Implement WaDisablePowerCompilerClockGating

2015-02-18 Thread Nick Hoath
On 11/02/2015 17:48, Lespiau, Damien wrote: On Wed, Feb 11, 2015 at 03:29:51PM +, Nick Hoath wrote: On 09/02/2015 19:33, Damien Lespiau wrote: Signed-off-by: Damien Lespiau --- drivers/gpu/drm/i915/i915_reg.h | 5 +++-- drivers/gpu/drm/i915/intel_ringbuffer.c | 8 2

[Intel-gfx] [PATCH] drm/i915: Fix a use after free, and unbalanced refcounting

2015-02-18 Thread Nick Hoath
context's reference count should be bumped using i915_gem_context_reference. i915_gem_request_reference will reduce the context reference count when the request is freed. Problem introduced in: commit 6d3d8274bc45de4babb62d64562d92af984dd238 Author: Nick Hoath AuthorDate: Thu Jan 15 13:10

[Intel-gfx] [PATCH 2/3] drm/i915: gen 9 h/w w/a (WaDisablePooledEuLoadBalancingFix)

2015-02-18 Thread Nick Hoath
Signed-off-by: Nick Hoath --- drivers/gpu/drm/i915/i915_reg.h | 3 +++ drivers/gpu/drm/i915/intel_pm.c | 10 ++ 2 files changed, 13 insertions(+) diff --git a/drivers/gpu/drm/i915/i915_reg.h b/drivers/gpu/drm/i915/i915_reg.h index 39bdbf9..7f9150b 100644 --- a/drivers/gpu/drm/i915

[Intel-gfx] [PATCH 1/3] drm/i915: gen 9 h/w w/a (Wa32bitGeneralStateOffset & Wa32bitInstructionBaseOffset)

2015-02-18 Thread Nick Hoath
Signed-off-by: Nick Hoath --- drivers/gpu/drm/i915/i915_dma.c | 4 +++- drivers/gpu/drm/i915/i915_gem.c | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/i915/i915_dma.c b/drivers/gpu/drm/i915/i915_dma.c index 5804aa5..df9a3a5 100644 --- a/drivers/gpu/drm

[Intel-gfx] [PATCH 3/3] gen 9 h/w w/a (WaClearFlowControlGpgpuContextSave)

2015-02-18 Thread Nick Hoath
Signed-off-by: Nick Hoath --- drivers/gpu/drm/i915/i915_reg.h | 1 + drivers/gpu/drm/i915/intel_ringbuffer.c | 2 ++ 2 files changed, 3 insertions(+) diff --git a/drivers/gpu/drm/i915/i915_reg.h b/drivers/gpu/drm/i915/i915_reg.h index 7f9150b..0326399 100644 --- a/drivers/gpu/drm/i915

[Intel-gfx] [PATCH 0/3] drm/i915: Further Skylake h/w w/a's

2015-02-18 Thread Nick Hoath
Nick Hoath (3): drm/i915: gen 9 h/w w/a (Wa32bitGeneralStateOffset & Wa32bitInstructionBaseOffset) drm/i915: gen 9 h/w w/a (WaDisablePooledEuLoadBalancingFix) Signed-off-by: Nick Hoath gen 9 h/w w/a (WaClearFlowControlGpgpuContextSave) Signed-off-by: Nick H

Re: [Intel-gfx] [PATCH] drm/i915: Fix a use after free, and unbalanced refcounting

2015-02-19 Thread Nick Hoath
On 19/02/2015 11:23, Gordon, David S wrote: On 18/02/15 14:01, Nick Hoath wrote: Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=88652 When converting from implicitly tracked execlist queue items to ref counted requests, not all frees of requests were replaced with unrefs, and

[Intel-gfx] [PATCH] drm/i915: Fix a use after free, and unbalanced refcounting

2015-02-19 Thread Nick Hoath
context's reference count should be bumped using i915_gem_context_reference. i915_gem_request_reference will reduce the context reference count when the request is freed. Problem introduced in commit 6d3d8274bc45de4babb62d64562d92af984dd238 Author: Nick Hoath AuthorDate: Thu Jan 15 13:10

[Intel-gfx] [RFC 0/5] drm/i915: Execlist cleanup

2015-07-09 Thread Nick Hoath
This set of patches cleans up a number of issues that were pushed out in the initial execlist submission. Nick Hoath (5): drm/i915: Clean up gen8 irq handler drm/i915: Unify execlist and legacy request life-cycles drm/i915: Simplify runtime_pm reference for execlists drm/i915: Reorder

[Intel-gfx] [RFC 5/5] drm/i915: Clean up lrc context init

2015-07-09 Thread Nick Hoath
intel_lr_context_deferred_alloc, to reflect reduced functionality. Issue: VIZ-4798 Signed-off-by: Nick Hoath --- drivers/gpu/drm/i915/i915_drv.h| 1 - drivers/gpu/drm/i915/i915_gem.c| 41 drivers/gpu/drm/i915/i915_gem_context.c| 21 -- drivers/gpu/drm/i915

[Intel-gfx] [RFC 2/5] drm/i915: Unify execlist and legacy request life-cycles

2015-07-09 Thread Nick Hoath
() is called when contexts complete as well as when a user interrupt occurs so that notification happens when a request is complete and context save has finished. v2: Rebase over the read-read optimisation changes Signed-off-by: Thomas Daniel Signed-off-by: Nick Hoath --- drivers/gpu/drm/i915

[Intel-gfx] [RFC 1/5] drm/i915: Clean up gen8 irq handler

2015-07-09 Thread Nick Hoath
Moved common code handling command streamer interrupts into a function. Renamed tmp variable to the more descriptive iir. Signed-off-by: Thomas Daniel Signed-off-by: Nick Hoath --- drivers/gpu/drm/i915/i915_irq.c | 68 + 1 file changed, 35 insertions

[Intel-gfx] [RFC 4/5] drm/i915: Reorder make_rpcs for later patch

2015-07-09 Thread Nick Hoath
Issue: VIZ-4798 Signed-off-by: Nick Hoath --- drivers/gpu/drm/i915/intel_lrc.c | 86 1 file changed, 43 insertions(+), 43 deletions(-) diff --git a/drivers/gpu/drm/i915/intel_lrc.c b/drivers/gpu/drm/i915/intel_lrc.c index adc4942..770a6f6 100644 --- a

[Intel-gfx] [RFC 3/5] drm/i915: Simplify runtime_pm reference for execlists

2015-07-09 Thread Nick Hoath
No longer take a runtime_pm reference for each execlist request. Only take a single reference when the execlist queue becomes nonempty and release it when it becomes empty. Signed-off-by: Thomas Daniel Signed-off-by: Nick Hoath --- drivers/gpu/drm/i915/i915_gem.c | 10 +++--- drivers/gpu

[Intel-gfx] [PATCH] drm/i915/gen9: Implement WaDisableKillLogic for gen 9

2015-07-14 Thread Nick Hoath
Signed-off-by: Nick Hoath --- drivers/gpu/drm/i915/i915_gem.c | 2 +- drivers/gpu/drm/i915/i915_reg.h | 1 + drivers/gpu/drm/i915/intel_pm.c | 4 3 files changed, 6 insertions(+), 1 deletion(-) diff --git a/drivers/gpu/drm/i915/i915_gem.c b/drivers/gpu/drm/i915/i915_gem.c index 709b3c7

[Intel-gfx] [PATCH] drm/i915/gen9: Implement WaDisableKillLogic for gen 9

2015-07-14 Thread Nick Hoath
v2: Patch leakage fixed Signed-off-by: Nick Hoath --- drivers/gpu/drm/i915/i915_reg.h | 1 + drivers/gpu/drm/i915/intel_pm.c | 4 3 files changed, 6 insertions(+), 1 deletion(-) diff --git a/drivers/gpu/drm/i915/i915_reg.h b/drivers/gpu/drm/i915/i915_reg.h index 059de0f..afa8972 100644

Re: [Intel-gfx] [RFC 2/5] drm/i915: Unify execlist and legacy request life-cycles

2015-07-29 Thread Nick Hoath
On 09/07/2015 12:12, Chris Wilson wrote: On Thu, Jul 09, 2015 at 11:57:41AM +0100, Nick Hoath wrote: There is a desire to simplify the i915 driver by reducing the number of different code paths introduced by the LRC / execlists support. As the execlists request is now part of the gem request

Re: [Intel-gfx] [RFC 3/5] drm/i915: Simplify runtime_pm reference for execlists

2015-07-29 Thread Nick Hoath
On 09/07/2015 12:14, Chris Wilson wrote: On Thu, Jul 09, 2015 at 11:57:42AM +0100, Nick Hoath wrote: No longer take a runtime_pm reference for each execlist request. Only take a single reference when the execlist queue becomes nonempty and release it when it becomes empty. Nak. We already

[Intel-gfx] [PATCH] drm/i915: Clean up lrc context init

2015-08-07 Thread Nick Hoath
intel_lr_context_deferred_alloc, to reflect reduced functionality. Issue: VIZ-4798 Signed-off-by: Nick Hoath --- drivers/gpu/drm/i915/i915_drv.h| 1 - drivers/gpu/drm/i915/i915_gem.c| 23 ++--- drivers/gpu/drm/i915/i915_gem_context.c| 21 - drivers/gpu/drm/i915

Re: [Intel-gfx] [PATCH] drm/i915: Clean up lrc context init

2015-08-10 Thread Nick Hoath
On 07/08/2015 11:13, Chris Wilson wrote: On Fri, Aug 07, 2015 at 11:05:24AM +0100, Nick Hoath wrote: Clean up lrc context init by: - Move context initialisation in to i915_gem_init_hw - Move one off initialisation for render ring to i915_gem_validate_context - Move default

[Intel-gfx] [PATCH] drm/i915: Split alloc from init for lrc

2015-08-18 Thread Nick Hoath
Left ->init_context int intel_lr_context_deferred_alloc (Daniel Vetter) Remove unnecessary init flag & ring type test. (Daniel Vetter) Improve commit message (Daniel Vetter) Issue: VIZ-4798 Signed-off-by: Nick Hoath Cc: Daniel Vetter --- drivers/gpu/drm/i915/i915_drv.h|

<    1   2   3   >