zeros, contiguous
sequence of zeros are skipped in the output.
Cc: Mika Kuoppala <mika.kuopp...@intel.com>
Cc: Chris Wilson <ch...@chris-wilson.co.uk>
Signed-off-by: Armin Reese <armin.c.re...@intel.com> (v1)
Signed-off-by: Arun Siluvery <arun.siluv...@linux.intel.com
and one other small change.
Arun Siluvery (1):
drm/i915/error: Use yesno() to report iommu enable status
Dave Gordon (1):
drm/i915/error: capture errored context based on request context-id
drivers/gpu/drm/i915/i915_drv.h | 2 ++
drivers/gpu/drm/i915/i915_gpu_error.c | 48
Signed-off-by: Arun Siluvery <arun.siluv...@linux.intel.com>
---
drivers/gpu/drm/i915/i915_gpu_error.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/gpu/drm/i915/i915_gpu_error.c
b/drivers/gpu/drm/i915/i915_gpu_error.c
index eecb870..3209f6a 100644
--- a/drive
again by using a different way of identifying the
context of interest in execlist mode.
For: VIZ-2021
Cc: Chris Wilson <ch...@chris-wilson.co.uk>
Cc: Mika Kuoppala <mika.kuopp...@intel.com>
Signed-off-by: Dave Gordon <david.s.gor...@intel.com>
Signed-off-by: Arun Siluvery <ar
issues reset request again which is unnecessary. To
avoid this we check if the engine is already prepared, if so we just exit
from that point.
Signed-off-by: Mika Kuoppala <mika.kuopp...@linux.intel.com>
Signed-off-by: Arun Siluvery <arun.siluv...@linux.intel.com>
---
drivers/gpu/drm/i
Driver maintains count of how many times a given engine is reset, useful to
capture this in error state also. It gives an idea of how engine is coping
up with the workloads it is executing before this error state.
Signed-off-by: Arun Siluvery <arun.siluv...@linux.intel.com>
---
drivers/g
event as usual.
Cc: Chris Wilson <ch...@chris-wilson.co.uk>
Cc: Mika Kuoppala <mika.kuopp...@linux.intel.com>
Signed-off-by: Ian Lister <ian.lis...@intel.com>
Signed-off-by: Tomas Elf <tomas@intel.com>
Signed-off-by: Arun Siluvery <arun.siluv...@linux.intel.com
This feature is made available only from Gen8, for previous gen devices
driver uses legacy full gpu reset.
Signed-off-by: Tomas Elf <tomas@intel.com>
Signed-off-by: Arun Siluvery <arun.siluv...@linux.intel.com>
---
drivers/gpu/drm/i915/i915_params.c | 4 ++--
1 file changed,
we do not inspect the reset state during reset
itself i.e. we no longer emit requests during reset, is that we can use
the atomic updates of the state flags to ensure that only one reset
worker is active.
Signed-off-by: Chris Wilson <ch...@chris-wilson.co.uk>
Cc: Arun Siluvery <arun.siluv...@
A new variable is added to export the reset counts to debugfs, this
includes full gpu reset and engine reset count. This is useful for tests
where they areexpected to trigger reset; these counts are checked before
and after the test to ensure the same.
Signed-off-by: Arun Siluvery <arun.si
From: Chris Wilson
Not only does it make for good documentation and debugging aide, but it is
also vital for when we want to unwind requests - such as when throwing away
an incomplete request.
Signed-off-by: Chris Wilson
---
nstead of directly
manipulating the elsp queue from reset path we can examine these ports, fix
up ringbuffer pointers using the incomplete request and restart submissions
again after reset.
Cc: Tvrtko Ursulin <tvrtko.ursu...@intel.com>
Cc: Mika Kuoppala <mika.kuopp...@intel.com>
Cc: Arun Si
ff-by: Tomas Elf <tomas@intel.com>
Signed-off-by: Arun Siluvery <arun.siluv...@linux.intel.com>
---
drivers/gpu/drm/i915/i915_drv.c | 59 +
drivers/gpu/drm/i915/i915_drv.h | 3 ++
drivers/gpu/drm/i915/i915_gem.c | 2 +-
drivers/gpu/drm/
.
v2: ELSP queue request tracking and reset path changes to handle incomplete
requests during reset. Thanks to Chris Wilson for providing these patches.
Arun Siluvery (6):
drm/i915: Update i915.reset to handle engine resets
drm/i915/tdr: Modify error handler for per engine hang recovery
drm
kipped and head is reset to the
start of breadcrumb. This allows us to resume from where we left-off.
Since this request didn't complete normally we also need to cleanup elsp
queue manually.
Cc: Tvrtko Ursulin <tvrtko.ursu...@intel.com>
Cc: Mika Kuoppala <mika.kuopp...@intel.com>
+ if (IS_KBL_REVID(dev_priv, KBL_REVID_C0, REVID_FOREVER))
WA_SET_BIT_MASKED(COMMON_SLICE_CHICKEN2,
GEN8_SBE_DISABLE_REPLAY_BUF_OPTIMIZATION);
Reviewed-by: Arun Siluvery <arun.siluv...@linux.intel.com>
regards
Arun
_
On 02/08/2016 07:20, Yang, Rong R wrote:
I sent a new version, could you check this and give comments/ACK?
Cc: Daniel, intel-gfx mailing list.
regards
Arun
Thanks,
Yang Rong
-Original Message-
From: Beignet [mailto:beignet-boun...@lists.freedesktop.org] On Behalf Of
Yang Rong
On 26/07/2016 22:37, Chris Wilson wrote:
On Tue, Jul 26, 2016 at 05:40:51PM +0100, Arun Siluvery wrote:
The current active request is the one that caused the hang so this is
retrieved and removed from elsp queue, otherwise we cannot submit other
workloads to be processed by GPU.
A consistency
On 27/07/2016 12:41, Chris Wilson wrote:
On Wed, Jul 27, 2016 at 12:16:04PM +0100, Arun Siluvery wrote:
On 26/07/2016 22:52, Chris Wilson wrote:
A totally unexplained change. If it is because you think to want to break
waiters on struct_mutex, try again.
So you don't want error->fl
On 26/07/2016 22:51, Chris Wilson wrote:
On Tue, Jul 26, 2016 at 05:40:53PM +0100, Arun Siluvery wrote:
This change implements support for per-engine reset as an initial, less
intrusive hang recovery option to be attempted before falling back to the
legacy full GPU reset recovery mode
On 26/07/2016 22:52, Chris Wilson wrote:
On Tue, Jul 26, 2016 at 05:40:49PM +0100, Arun Siluvery wrote:
Now that we track reset progress using separate set of flags, update it to
account for engine reset as well.
A bit corresponding engine->id is set if reset is in progress for that
eng
Driver maintains count of how many times a given engine is reset, useful to
capture this in error state also. It gives an idea of how engine is coping
up with the workloads it is executing before this error state.
Signed-off-by: Arun Siluvery <arun.siluv...@linux.intel.com>
---
drivers/g
issues reset request again which is unnecessary. To
avoid this we check if the engine is already prepared, if so we just exit
from that point.
Signed-off-by: Mika Kuoppala <mika.kuopp...@linux.intel.com>
Signed-off-by: Arun Siluvery <arun.siluv...@linux.intel.com>
---
drivers/gpu/drm/i
A new variable is added to export the reset counts to debugfs, this
includes full gpu reset and engine reset count. This is useful for tests
where they areexpected to trigger reset; these counts are checked before
and after the test to ensure the same.
Signed-off-by: Arun Siluvery <arun.si
Everything in place, flip the switch.
This feature is available only from Gen8, for previous gen devices driver
falls back to legacy full gpu reset.
Signed-off-by: Tomas Elf <tomas@intel.com>
Signed-off-by: Arun Siluvery <arun.siluv...@linux.intel.com>
---
drivers/gpu/drm/i915/i
.
Arun Siluvery (9):
drm/i915: Update i915.reset to handle engine resets
drm/i915/tdr: Update reset_in_progress to account for engine reset
drm/i915/tdr: Modify error handler for per engine hang recovery
drm/i915/tdr: Identify hung request and drop it
drm/i915/tdr: Restart submission after
In preparation for engine reset work update this parameter to handle more
than one type of reset. Default at the moment is still full gpu reset.
Signed-off-by: Arun Siluvery <arun.siluv...@linux.intel.com>
---
drivers/gpu/drm/i915/i915_params.c | 6 +++---
drivers/gpu/drm/i915/i915_params
;
Signed-off-by: Arun Siluvery <arun.siluv...@linux.intel.com>
---
drivers/gpu/drm/i915/intel_lrc.c | 45 +---
1 file changed, 42 insertions(+), 3 deletions(-)
diff --git a/drivers/gpu/drm/i915/intel_lrc.c b/drivers/gpu/drm/i915/intel_lrc.c
index 8fc5a
we do not inspect the reset state during reset
itself i.e. we no longer emit requests during reset, is that we can use
the atomic updates of the state flags to ensure that only one reset
worker is active.
Signed-off-by: Chris Wilson <ch...@chris-wilson.co.uk>
Cc: Arun Siluvery <arun.siluv...@
ter <ian.lis...@intel.com>
Signed-off-by: Tomas Elf <tomas@intel.com>
Signed-off-by: Arun Siluvery <arun.siluv...@linux.intel.com>
---
drivers/gpu/drm/i915/i915_drv.c | 23 +++
drivers/gpu/drm/i915/i915_drv.h | 2 +
drivers/gpu
that caused the hang
- reset itself failed for some reason
Cc: Chris Wilson <ch...@chris-wilson.co.uk>
Cc: Mika Kuoppala <mika.kuopp...@linux.intel.com>
Signed-off-by: Tomas Elf <tomas@intel.com>
Signed-off-by: Arun Siluvery <arun.siluv...@linux.intel.com>
---
drivers/gpu/drm/
Now that we track reset progress using separate set of flags, update it to
account for engine reset as well.
A bit corresponding engine->id is set if reset is in progress for that
engine. Bit0 is for full gpu reset.
Signed-off-by: Arun Siluvery <arun.siluv...@linux.intel.com>
---
dr
and we fallback to
full gpu reset.
Cc: Chris Wilson <ch...@chris-wilson.co.uk>
Cc: Mika Kuoppala <mika.kuopp...@linux.intel.com>
Signed-off-by: Arun Siluvery <arun.siluv...@linux.intel.com>
---
drivers/gpu/drm/i915/intel_lrc.c | 116 +++
dr
On 16/06/2016 15:44, Mika Kuoppala wrote:
Add WaDisableGatherAtSetShaderCommonSlice for all gen9 as stated
by bspec.
References: HSD#2135817
Signed-off-by: Mika Kuoppala
---
drivers/gpu/drm/i915/i915_reg.h | 1 +
drivers/gpu/drm/i915/intel_lrc.c | 7 +++
2
On 15/07/2016 08:08, Yang Rong wrote:
Update kernel interface with new I915_GETPARAM ioctl entries for
pooled EU and min no. of eus in a pool. Add a wrapping function
for each parameter. Userspace drivers need these values when decide
the thread count. This kernel enabled pooled eu by default
--
No code changes from v1 except for adding hsd ref.
Reviewed-by: Arun Siluvery <arun.siluv...@linux.intel.com>
regards
Arun
drivers/gpu/drm/i915/intel_lrc.c | 25 +
1 file changed, 25 insertions(+)
diff --git a/drivers/gpu/drm/i915/intel_lrc.c b/drivers/gpu/dr
On 15/06/2016 09:19, Yang Rong wrote:
Update kernel interface with new I915_GETPARAM ioctl entries for
pooled EU and min no. of eus in a pool. Add a wrapping function
for each parameter. Userspace drivers need these values when decide
the thread count. This kernel enabled pooled eu by default
/* Pad to end of cacheline */
while (index % CACHELINE_DWORDS)
wa_ctx_emit(batch, index, MI_NOOP);
looks good to me,
Reviewed-by: Arun Siluvery <arun.siluv...@linux.intel.com>
regards
Arun
___
Intel-gfx m
On 30/06/2016 09:43, Song, Ruiling wrote:
LGTM
Ruiling
Could you please let me know whether these patches are merged/yet to be
merged?
I have submitted kernel patch which is ready to be merged but we would
like to know if userspace bits are merged or not?
On 01/07/2016 12:56, Chris Wilson wrote:
On Fri, Jul 01, 2016 at 11:43:02AM +0100, Arun Siluvery wrote:
Pooled EU is a bxt only feature and kernel changes are already merged. This
feature is not yet exposed to userspace as the support was not yet
available. Beignet team expressed interest
R <rong.r.y...@intel.com>
Cc: Tim Gore <tim.g...@intel.com>
Cc: Jeff McGee <jeff.mc...@intel.com>
Signed-off-by: Arun Siluvery <arun.siluv...@linux.intel.com>
---
drivers/gpu/drm/i915/i915_drv.c | 6 ++
include/uapi/drm/i915_drm.h | 2 ++
2 files changed, 8 inserti
el.com>
Cc: Tim Gore <tim.g...@intel.com>
Cc: Jeff McGee <jeff.mc...@intel.com>
Signed-off-by: Arun Siluvery <arun.siluv...@linux.intel.com>
---
drivers/gpu/drm/i915/i915_drv.c | 6 ++
include/uapi/drm/i915_drm.h | 2 ++
2 files changed, 8 insertions(+)
diff --git
...@lists.freedesktop.org] On Behalf Of
Arun Siluvery
Sent: Wednesday, June 15, 2016 16:17
To: Yang, Rong R <rong.r.y...@intel.com>; beig...@lists.freedesktop.org;
intel-gfx@lists.freedesktop.org
Subject: Re: [Beignet] [PATCH] intel: Export pooled EU and min no. of eus in a
pool.
On 15/06/2016
e competed reset using the global gpu_error->reset_counter
s/competed/completed
anymore, we do not need to track the reset_counter epoch inside the
request.
Signed-off-by: Chris Wilson <ch...@chris-wilson.co.uk>
Cc: Arun Siluvery <arun.siluv...@linux.intel.com>
Cc: Mika Kuoppala
IT(GEN9_GAMT_ECO_REG_RW_IA,
+ GAMT_ECO_ENABLE_IN_PLACE_DECOMPRESS);
+
/* WaDisableLSQCROPERFforOCL:kbl */
ret = wa_ring_whitelist_reg(engine, GEN8_L3SQCREG4);
if (ret)
with the indentation fixed, it is,
Reviewed-by: Arun Siluvery <arun.siluv...@l
the hang
- reset itself failed for some reason
Cc: Chris Wilson <ch...@chris-wilson.co.uk>
Cc: Mika Kuoppala <mika.kuopp...@linux.intel.com>
Signed-off-by: Tomas Elf <tomas@intel.com>
Signed-off-by: Arun Siluvery <arun.siluv...@linux.intel.com>
---
drivers/gpu/drm/
A new variable is added to export the reset counts to debugfs, this
includes full gpu reset and engine reset count. This is useful for tests
where they areexpected to trigger reset; these counts are checked before
and after the test to ensure the same.
Signed-off-by: Arun Siluvery <arun.si
ter <ian.lis...@intel.com>
Signed-off-by: Tomas Elf <tomas@intel.com>
Signed-off-by: Arun Siluvery <arun.siluv...@linux.intel.com>
---
drivers/gpu/drm/i915/i915_drv.c | 23
drivers/gpu/drm/i915/i915_drv.h | 2 +
drivers/gpu
gt;
Signed-off-by: Tomas Elf <tomas@intel.com>
Signed-off-by: John Harrison <john.c.harri...@intel.com>
Signed-off-by: Arun Siluvery <arun.siluv...@linux.intel.com>
---
drivers/gpu/drm/i915/i915_drv.h | 7 ++-
drivers/gpu/drm/i915/i915_gem.c | 34 +
is resubmitted to HW. The request that caused the hang would be at the
start of execlist queue, unless we resubmit and complete this request, it
cannot be removed from the queue.
Cc: Mika Kuoppala <mika.kuopp...@linux.intel.com>
Signed-off-by: Tomas Elf <tomas@intel.com>
Signed-off-by: A
Everything in place, flip the switch.
This feature is available only from Gen8, for previous gen devices driver
falls back to legacy full gpu reset.
Signed-off-by: Tomas Elf <tomas@intel.com>
Signed-off-by: Arun Siluvery <arun.siluv...@linux.intel.com>
---
drivers/gpu/drm/i915/i
and that it needs to back off.
Signed-off-by: Tomas Elf <tomas@intel.com>
Signed-off-by: Ian Lister <ian.lis...@intel.com>
Cc: Chris Wilson <ch...@chris-wilson.co.uk>
Cc: Mika Kuoppala <mika.kuopp...@linux.intel.com>
Signed-off-by: Arun Siluvery <arun.siluv...@linux.in
Driver maintains count of how many times a given engine is reset, useful to
capture this in error state also. It gives an idea of how engine is coping
up with the workloads it is executing before this error state.
Signed-off-by: Arun Siluvery <arun.siluv...@linux.intel.com>
---
drivers/g
Engine reset implementation is currently supported with Execlist based
submission, GuC submission need to be disabled for BAT testing purpose.
Signed-off-by: Arun Siluvery <arun.siluv...@linux.intel.com>
---
Current TDR implementation is only for Execlist submission, we need this
patch to
://lists.freedesktop.org/archives/intel-gfx/2016-April/092349.html
Arun Siluvery (13):
drm/i915: Update i915.reset to handle engine resets
drm/i915/tdr: Extend the idea of reset_counter to engine reset
drm/i915/tdr: Modify error handler for per engine hang recovery
drm/i915/tdr: Prepare
the hang,
once this is done then we continue with the normally submission of two
contexts at a time. The intention is to restore the submission state at the
time of hang.
Signed-off-by: Tomas Elf <tomas@intel.com>
Signed-off-by: Arun Siluvery <arun.siluv...@linux.intel.com>
---
drivers/
in execlist mode relies on the
context resubmission after reset. If the state is inconsistent,
resubmission can cause unforseen side-effects such as unexpected
preemptions.
Engine is restarted after reset with this state.
Signed-off-by: Tomas Elf <tomas@intel.com>
Signed-off-by: Arun Si
issues reset request again which is unnecessary. To
avoid this we check if the engine is already prepared, if so we just exit
from that point.
Signed-off-by: Mika Kuoppala <mika.kuopp...@linux.intel.com>
Signed-off-by: Arun Siluvery <arun.siluv...@linux.intel.com>
---
drivers/gpu/drm/i
.
Signed-off-by: Arun Siluvery <arun.siluv...@linux.intel.com>
---
drivers/gpu/drm/i915/i915_drv.h | 19 +++
1 file changed, 19 insertions(+)
diff --git a/drivers/gpu/drm/i915/i915_drv.h b/drivers/gpu/drm/i915/i915_drv.h
index 9fa9698..8bb05b2 100644
--- a/drivers/gpu/dr
com>
Signed-off-by: Tomas Elf <tomas@intel.com>
Signed-off-by: Arun Siluvery <arun.siluv...@linux.intel.com>
---
drivers/gpu/drm/i915/i915_dma.c | 1 +
drivers/gpu/drm/i915/i915_drv.h | 1 +
drivers/gpu/drm/i915/i915_irq.c | 26 +-
3 files changed, 23 inser
In preparation for engine reset work update this parameter to handle more
than one type of reset. Default at the moment is still full gpu reset.
Cc: Chris Wilson <ch...@chris-wilson.co.uk>
Cc: Mika Kuoppala <mika.kuopp...@intel.com>
Signed-off-by: Arun Siluvery <arun.siluv...@
On 15/06/2016 13:49, Yang Rong wrote:
Update kernel interface with new I915_GETPARAM ioctl entries for
pooled EU and min no. of eus in a pool. Add a wrapping function
for each parameter. Userspace drivers need these values when decide
the thread count. This kernel enabled pooled eu by default
U_SYNC_SWITCH_DISABLE));
+
agrees with spec. It would've been good to have correct spelling but to
match with existing documentation we have to use the same name.
Reviewed-by: Arun Siluvery <arun.siluv...@linux.intel.com>
regards
Arun
/* WaEnableLbsSlaRetryTimerDecrement:skl,bxt
On 10/06/2016 12:16, Gore, Tim wrote:
Tim Gore
Intel Corporation (UK) Ltd. - Co. Reg. #1134945 - Pipers Way, Swindon SN3 1RJ
-Original Message-
From: Arun Siluvery [mailto:arun.siluv...@linux.intel.com]
Sent: Friday, June 10, 2016 7:30 AM
To: Gore, Tim; intel-gfx
On 09/06/2016 20:19, tim.g...@intel.com wrote:
From: Tim Gore
This patch enables a workaround for a mid thread preemption
issue where a hardware timing problem can prevent the
context restore from happening, leading to a hang.
v2: move to gen9_init_workarounds (Arun)
On 09/06/2016 13:48, tim.g...@intel.com wrote:
From: Tim Gore
This patch enables a workaround for a mid thread preemption
issue where a hardware timing problem can prevent the
context restore from happening, leading to a hang.
Signed-off-by: Tim Gore
| 44 ++---
drivers/gpu/drm/i915/intel_lrc.c| 3 ---
drivers/gpu/drm/i915/intel_ringbuffer.c | 8 --
drivers/gpu/drm/i915/intel_ringbuffer.h | 1 -
7 files changed, 15 insertions(+), 112 deletions(-)
looks good to me,
Reviewed-by: Arun Siluvery <arun.siluv...@linux.
On 03/06/2016 22:06, Chris Wilson wrote:
As we only ever keep the first error state around, we can avoid some
work that can be quite intrusive if we don't record the error the second
time around. This does move the race whereby the user could discard one
error state as the second is being
On 06/06/2016 18:30, Tvrtko Ursulin wrote:
On 03/06/16 17:08, Chris Wilson wrote:
Currently __i915_wait_request uses a per-engine wait_queue_t for the dual
purpose of waking after the GPU advances or for waking after an error.
In the future, we may add even more wake sources and require
On 06/06/2016 14:58, Patchwork wrote:
== Series Details ==
Series: drm/i915/gen9: Add WaVFEStateAfterPipeControlwithMediaStateClear (rev2)
URL : https://patchwork.freedesktop.org/series/8218/
State : warning
== Summary ==
Series 8218v2 drm/i915/gen9: Add
Kernel only need to add a register to HW whitelist, required for a
preemption related issue.
Reference: HSD#2131039
Reviewed-by: Jeff McGee <jeff.mc...@intel.com>
Signed-off-by: Arun Siluvery <arun.siluv...@linux.intel.com>
---
drivers/gpu/drm/i915/i915_reg.h | 1 +
drivers/
On 03/06/2016 16:28, Patchwork wrote:
== Series Details ==
Series: BXT Pooled EU kernel support and WA patches (rev3)
URL : https://patchwork.freedesktop.org/series/8200/
State : warning
== Summary ==
Series 8200v3 BXT Pooled EU kernel support and WA patches
On 03/06/2016 21:31, Matthew Auld wrote:
What about skl, this also seems to need the WA until A0?
SKL:A0 is pre-production stepping, it can be ignored.
regards
Arun
___
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
Kernel only need to add a register to HW whitelist, required for a
preemption related issue.
Reference: HSD#2131039
Signed-off-by: Arun Siluvery <arun.siluv...@linux.intel.com>
---
drivers/gpu/drm/i915/i915_reg.h | 1 +
drivers/gpu/drm/i915/intel_ringbuffer.c | 5 +
2 files c
eff.mc...@intel.com>
Signed-off-by: Arun Siluvery <arun.siluv...@linux.intel.com>
---
drivers/gpu/drm/i915/i915_reg.h | 1 +
drivers/gpu/drm/i915/intel_ringbuffer.c | 6 ++
2 files changed, 7 insertions(+)
diff --git a/drivers/gpu/drm/i915/i915_reg.h b/drivers/gpu/drm/i915/i915_
.r.y...@intel.com>
Cc: Tim Gore <tim.g...@intel.com>
Cc: Jeff McGee <jeff.mc...@intel.com>
Cc: Mika Kuoppala <mika.kuopp...@intel.com>
Signed-off-by: Arun Siluvery <arun.siluv...@linux.intel.com>
---
drivers/gpu/drm/i915/i915_dma.c | 10 ++
drivers/gpu/drm/i915/i9
to be exported
using getparam ioctls.
Cc: Winiarski, Michal <michal.winiar...@intel.com>
Cc: Zou, Nanhai <nanhai@intel.com>
Cc: Yang, Rong R <rong.r.y...@intel.com>
Cc: Tim Gore <tim.g...@intel.com>
Cc: Jeff McGee <jeff.mc...@intel.com>
Signed-off-by: Arun Siluvery
This is a WA affecting pooled eu which is a bxt specific feature.
Cc: Winiarski, Michal <michal.winiar...@intel.com>
Cc: Zou, Nanhai <nanhai@intel.com>
Cc: Yang, Rong R <rong.r.y...@intel.com>
Cc: Jeff McGee <jeff.mc...@intel.com>
Signed-off-by: Arun Siluvery <ar
of the related WA patches are also included in this series.
[1] https://lists.freedesktop.org/archives/intel-gfx/2016-May/095890.html
Arun Siluvery (3):
drm/i915:bxt: Enable Pooled EU support
drm/i915/bxt: Add WaEnablePooledEuFor2x6
drm/i915/bxt: Add WaDisablePooledEuLoadBalancingFix
drivers/gpu
ris-wilson.co.uk>
Cc: Armin Reese <armin.c.re...@intel.com>
Cc: Tim Gore <tim.g...@intel.com>
Signed-off-by: Jeff McGee <jeff.mc...@intel.com>
Signed-off-by: Arun Siluvery <arun.siluv...@linux.intel.com>
---
drivers/gpu/drm/i915/i915_debugfs.c
On 26/05/2016 20:59, Mika Kuoppala wrote:
We need this crucial workaround from skl also to all kbl revisions.
Lack of it was causing system hangs on skl enabling so this is
a must have.
References: HSD#2126660
Signed-off-by: Mika Kuoppala
---
On 17/05/2016 15:34, Daniel Vetter wrote:
On Thu, May 12, 2016 at 10:37:14AM +0100, Arun Siluvery wrote:
This mode allows to assign EUs to pools which can process work collectively.
The command to enable this mode should be issued as part of context
initialization.
The pooled mode is global
, they are currently adding userspace and libdrm support,
meanwhile we can get some testing done on these patches.
Arun Siluvery (2):
drm/i915:bxt: Enable Pooled EU support
drm/i915/bxt: Add WaEnablePooledEuFor2x6
drivers/gpu/drm/i915/i915_debugfs.c | 5
drivers/gpu/drm/i915/i915_dma.c
Zou, Nanhai <nanhai@intel.com>
Cc: Yang, Rong R <rong.r.y...@intel.com>
Cc: Mika Kuoppala <mika.kuopp...@intel.com>
Cc: Chris Wilson <ch...@chris-wilson.co.uk>
Cc: Armin Reese <armin.c.re...@intel.com>
Cc: Tim Gore <tim.g...@intel.com>
Signed-off-by: Jeff McGee <
.
Cc: Winiarski, Michal <michal.winiar...@intel.com>
Cc: Zou, Nanhai <nanhai@intel.com>
Cc: Yang, Rong R <rong.r.y...@intel.com>
Cc: Tim Gore <tim.g...@intel.com>
Signed-off-by: Arun Siluvery <arun.siluv...@linux.intel.com>
---
drivers/gpu/drm/i915/i915_debugfs.c
.
These are based on nightly tree pulled on 11th April.
Arun Siluvery (12):
drm/i915: Update i915.reset to handle engine resets
drm/i915/tdr: Extend the idea of reset_counter to engine reset
drm/i915/tdr: Modify error handler for per engine hang recovery
drm/i915/tdr: Prepare execlist submission
Driver maintains count of how many times a given engine is reset, useful to
capture this in error state also. It gives an idea of how engine is coping
up with the workloads it is executing before this error state.
Signed-off-by: Arun Siluvery <arun.siluv...@linux.intel.com>
---
drivers/g
Everything in place, flip the switch.
This feature is available only from Gen8, for previous gen devices driver
falls back to legacy full gpu reset.
Signed-off-by: Tomas Elf <tomas@intel.com>
Signed-off-by: Arun Siluvery <arun.siluv...@linux.intel.com>
---
drivers/gpu/drm/i91
gt;
Signed-off-by: Tomas Elf <tomas@intel.com>
Signed-off-by: John Harrison <john.c.harri...@intel.com>
Signed-off-by: Arun Siluvery <arun.siluv...@linux.intel.com>
---
Note: These names for WAIT_INTERRUPTIBLE and WAIT_LOCKED are not consistent
with the ones used in Sched
A new variable is added to export the reset counts to debugfs, this
includes full gpu reset and engine reset count. This is useful for tests
where they areexpected to trigger reset; these counts are checked before
and after the test to ensure the same.
Signed-off-by: Arun Siluvery <arun.si
in execlist mode relies on the
context resubmission after reset. If the state is inconsistent,
resubmission can cause unforseen side-effects such as unexpected
preemptions.
Engine is restarted after reset with this state.
Signed-off-by: Tomas Elf <tomas@intel.com>
Signed-off-by: Arun Si
<ch...@chris-wilson.co.uk>
Cc: Mika Kuoppala <mika.kuopp...@linux.intel.com>
Signed-off-by: Arun Siluvery <arun.siluv...@linux.intel.com>
---
drivers/gpu/drm/i915/i915_drv.h | 1 +
drivers/gpu/drm/i915/i915_gem.c | 39 +++--
drivers/gpu/dr
the hang
- reset itself failed for some reason
Cc: Chris Wilson <ch...@chris-wilson.co.uk>
Cc: Mika Kuoppala <mika.kuopp...@linux.intel.com>
Signed-off-by: Tomas Elf <tomas@intel.com>
Signed-off-by: Arun Siluvery <arun.siluv...@linux.intel.com>
---
drivers/gpu/drm/
is resubmitted to HW. The request that caused the hang would be at the
start of execlist queue, unless we resubmit and complete this request, it
cannot be removed from the queue.
Cc: Mika Kuoppala <mika.kuopp...@linux.intel.com>
Signed-off-by: Tomas Elf <tomas@intel.com>
Signed-off-by: A
the hang,
once this is done then we continue with the normally submission of two
contexts at a time. The intention is to restore the submission state at the
time of hang.
Signed-off-by: Tomas Elf <tomas@intel.com>
Signed-off-by: Arun Siluvery <arun.siluv...@linux.intel.com>
---
drivers/
issues reset request again which is unnecessary. To
avoid this we check if the engine is already prepared, if so we just exit
from that point.
Signed-off-by: Mika Kuoppala <mika.kuopp...@linux.intel.com>
Signed-off-by: Arun Siluvery <arun.siluv...@linux.intel.com>
---
drivers/gpu/drm/i
intel.com>
Signed-off-by: Tomas Elf <tomas@intel.com>
Signed-off-by: Arun Siluvery <arun.siluv...@linux.intel.com>
---
drivers/gpu/drm/i915/i915_drv.c | 23
drivers/gpu/drm/i915/i915_drv.h | 2 +
drivers/gpu/drm/i915/i915_irq.c | 233 ++
.
Signed-off-by: Arun Siluvery <arun.siluv...@linux.intel.com>
---
drivers/gpu/drm/i915/i915_drv.h | 19 +++
1 file changed, 19 insertions(+)
diff --git a/drivers/gpu/drm/i915/i915_drv.h b/drivers/gpu/drm/i915/i915_drv.h
index 5424016..ca9b1ec 100644
--- a/drivers/gpu/dr
com>
Signed-off-by: Tomas Elf <tomas@intel.com>
Signed-off-by: Arun Siluvery <arun.siluv...@linux.intel.com>
---
drivers/gpu/drm/i915/i915_dma.c | 1 +
drivers/gpu/drm/i915/i915_drv.h | 1 +
drivers/gpu/drm/i915/i915_irq.c | 29 ++---
3 files changed,
In preparation for engine reset work update this parameter to handle more
than one type of reset. Default at the moment is still full gpu reset.
Cc: Chris Wilson <ch...@chris-wilson.co.uk>
Cc: Mika Kuoppala <mika.kuopp...@intel.com>
Signed-off-by: Arun Siluvery <arun.siluv...@
1 - 100 of 470 matches
Mail list logo