Re: [Intel-gfx] [PATCH v3 0/2] drm/i915/scheduler: add gvt force-single-submission and notification for guc

2017-04-06 Thread Dong, Chuanxiao
Hello, ping for v3 review. Thanks Chuanxiao > -Original Message- > From: Dong, Chuanxiao > Sent: Wednesday, April 5, 2017 10:05 AM > To: intel-gfx@lists.freedesktop.org > Cc: intel-gvt-...@lists.freedesktop.org; Dong, Chuanxiao > > Subject: [PATCH v3 0/2] drm/i9

Re: [Intel-gfx] [PATCH v2 2/2] drm/i915/scheduler: add gvt notification for guc

2017-04-06 Thread Dong, Chuanxiao
> -Original Message- > From: Chris Wilson [mailto:ch...@chris-wilson.co.uk] > Sent: Thursday, April 6, 2017 9:32 PM > To: Dong, Chuanxiao > Cc: intel-gfx@lists.freedesktop.org; intel-gvt-...@lists.freedesktop.org; > Zheng, Xiao; Tian, Kevin; joonas.lahti...@linux.intel

Re: [Intel-gfx] [PATCH v2 2/2] drm/i915/scheduler: add gvt notification for guc

2017-04-06 Thread Dong, Chuanxiao
> -Original Message- > From: Chris Wilson [mailto:ch...@chris-wilson.co.uk] > Sent: Thursday, April 6, 2017 10:19 PM > To: Dong, Chuanxiao > Cc: intel-gfx@lists.freedesktop.org; intel-gvt-...@lists.freedesktop.org; > Zheng, Xiao; Tian, Kevin; joonas.lahti...@linux.intel

Re: [Intel-gfx] [PATCH v2 2/2] drm/i915/scheduler: add gvt notification for guc

2017-04-06 Thread Dong, Chuanxiao
> -Original Message- > From: Chris Wilson [mailto:ch...@chris-wilson.co.uk] > Sent: Thursday, April 6, 2017 11:07 PM > To: Dong, Chuanxiao > Cc: intel-gfx@lists.freedesktop.org; intel-gvt-...@lists.freedesktop.org; > Zheng, Xiao; Tian, Kevin; joonas.lahti...@linux.inte

Re: [Intel-gfx] [PATCH v2 2/2] drm/i915/scheduler: add gvt notification for guc

2017-04-09 Thread Dong, Chuanxiao
> -Original Message- > From: intel-gvt-dev [mailto:intel-gvt-dev-boun...@lists.freedesktop.org] On > Behalf Of Dong, Chuanxiao > Sent: Thursday, April 6, 2017 11:19 PM > To: Chris Wilson > Cc: Tian, Kevin ; intel-gvt-...@lists.freedesktop.org; > intel-gfx@

Re: [Intel-gfx] [PATCH v2 2/2] drm/i915/scheduler: add gvt notification for guc

2017-04-11 Thread Dong, Chuanxiao
> -Original Message- > From: Dong, Chuanxiao > Sent: Monday, April 10, 2017 10:40 AM > To: Dong, Chuanxiao ; Chris Wilson > > Cc: Tian, Kevin ; intel-gvt-...@lists.freedesktop.org; > intel-gfx@lists.freedesktop.org; joonas.lahti...@linux.intel.com; Zheng, > Xiao

Re: [Intel-gfx] [PATCH v2 2/2] drm/i915/scheduler: add gvt notification for guc

2017-04-12 Thread Dong, Chuanxiao
> -Original Message- > From: intel-gvt-dev [mailto:intel-gvt-dev-boun...@lists.freedesktop.org] On > Behalf Of Chris Wilson > Sent: Wednesday, April 12, 2017 4:22 PM > To: Dong, Chuanxiao > Cc: Tian, Kevin ; intel-gvt-...@lists.freedesktop.org; > intel-gfx@

Re: [Intel-gfx] [PATCH v2 2/2] drm/i915/scheduler: add gvt notification for guc

2017-04-13 Thread Dong, Chuanxiao
> -Original Message- > From: intel-gvt-dev [mailto:intel-gvt-dev-boun...@lists.freedesktop.org] On > Behalf Of Dong, Chuanxiao > Sent: Wednesday, April 12, 2017 5:12 PM > To: Chris Wilson > Cc: Tian, Kevin ; intel-gvt-...@lists.freedesktop.org; > intel-gfx@

Re: [Intel-gfx] [PATCH v2 2/2] drm/i915/scheduler: add gvt notification for guc

2017-04-17 Thread Dong, Chuanxiao
> -Original Message- > From: intel-gvt-dev [mailto:intel-gvt-dev-boun...@lists.freedesktop.org] On > Behalf Of Dong, Chuanxiao > Sent: Thursday, April 13, 2017 7:03 PM > To: Chris Wilson ; intel-gfx@lists.freedesktop.org > Cc: Zheng, Xiao ; Tian, Kevin > ; joonas.lah

Re: [Intel-gfx] [PATCH v2 2/2] drm/i915/scheduler: add gvt notification for guc

2017-04-18 Thread Dong, Chuanxiao
Hi Chris, Ping for your feedback on my comments. Please help to make it to move forward. :) Thanks Chuanxiao > -Original Message- > From: intel-gvt-dev [mailto:intel-gvt-dev-boun...@lists.freedesktop.org] On > Behalf Of Dong, Chuanxiao > Sent: Thursday, April 13, 2017

Re: [Intel-gfx] ✗ Fi.CI.BAT: failure for drm/i915/scheduler: add gvt force-single-submission and notification for guc (rev4)

2017-04-19 Thread Dong, Chuanxiao
> -Original Message- > From: Saarinen, Jani > Sent: Thursday, April 20, 2017 2:30 PM > To: intel-gfx@lists.freedesktop.org; Dong, Chuanxiao > > Subject: RE: [Intel-gfx] ✗ Fi.CI.BAT: failure for drm/i915/scheduler: add gvt > force-single-submission and notification f

Re: [Intel-gfx] [PATCH] drm/i915/gvt: disable GVT-g if host GuC submission is enabled

2017-05-05 Thread Dong, Chuanxiao
> -Original Message- > From: Joonas Lahtinen [mailto:joonas.lahti...@linux.intel.com] > Sent: Friday, May 5, 2017 4:55 PM > To: Zhenyu Wang ; Dong, Chuanxiao > ; Daniel Vetter > Cc: intel-gfx@lists.freedesktop.org; intel-gvt-...@lists.freedesktop.org > Subject: R

Re: [Intel-gfx] [PATCH] drm/i915/gvt: disable GVT-g if host GuC submission is enabled

2017-05-08 Thread Dong, Chuanxiao
> -Original Message- > From: Chris Wilson [mailto:ch...@chris-wilson.co.uk] > Sent: Friday, May 5, 2017 5:11 PM > To: Joonas Lahtinen > Cc: Zhenyu Wang ; Dong, Chuanxiao > ; Daniel Vetter ; intel- > g...@lists.freedesktop.org; intel-gvt-...@lists.freedesktop.org

Re: [Intel-gfx] [PATCH v2] drm/i915/gvt: disable GVT-g if host GuC submission is enabled

2017-05-10 Thread Dong, Chuanxiao
> -Original Message- > From: Joonas Lahtinen [mailto:joonas.lahti...@linux.intel.com] > Sent: Wednesday, May 10, 2017 8:48 PM > To: Dong, Chuanxiao ; intel-gvt- > d...@lists.freedesktop.org; intel-gfx@lists.freedesktop.org > Subject: Re: [Intel-gfx] [PATCH v2] drm/i915/

Re: [Intel-gfx] [PATCH v2] drm/i915/gvt: disable GVT-g if host GuC submission is enabled

2017-05-11 Thread Dong, Chuanxiao
> -Original Message- > From: Joonas Lahtinen [mailto:joonas.lahti...@linux.intel.com] > Sent: Thursday, May 11, 2017 8:50 PM > To: Dong, Chuanxiao ; intel-gvt- > d...@lists.freedesktop.org; intel-gfx@lists.freedesktop.org > Subject: Re: [Intel-gfx] [PATCH v2] drm/i915/

Re: [Intel-gfx] [PATCH] drm/i915: set initialised only when init_context callback is NULL

2017-05-12 Thread Dong, Chuanxiao
> -Original Message- > From: Chris Wilson [mailto:ch...@chris-wilson.co.uk] > Sent: Friday, May 12, 2017 6:11 PM > To: Dong, Chuanxiao ; intel- > g...@lists.freedesktop.org; intel-gvt-...@lists.freedesktop.org > Subject: Re: [Intel-gfx] [PATCH] drm/i915: set ini

Re: [Intel-gfx] [PATCH v2] drm/i915: set initialised only when init_context callback is NULL

2017-05-12 Thread Dong, Chuanxiao
Thanks Chris! Have a nice weekend. :) > -Original Message- > From: Chris Wilson [mailto:ch...@chris-wilson.co.uk] > Sent: Friday, May 12, 2017 6:12 PM > To: intel-gfx@lists.freedesktop.org > Cc: Dong, Chuanxiao ; Chris Wilson > > Subject: [PATCH v2] drm/i915: set

Re: [Intel-gfx] [PATCH v2] drm/i915/gvt: disable GVT-g if host GuC submission is enabled

2017-05-16 Thread Dong, Chuanxiao
> -Original Message- > From: intel-gvt-dev [mailto:intel-gvt-dev-boun...@lists.freedesktop.org] On > Behalf Of Dong, Chuanxiao > Sent: Thursday, May 11, 2017 9:38 PM > To: Joonas Lahtinen ; intel-gvt- > d...@lists.freedesktop.org; intel-gfx@lists.freedesktop.org > Su

Re: [Intel-gfx] [PATCH v2] drm/i915/gvt: disable GVT-g if host GuC submission is enabled

2017-05-21 Thread Dong, Chuanxiao
> -Original Message- > From: Joonas Lahtinen [mailto:joonas.lahti...@linux.intel.com] > Sent: Thursday, May 18, 2017 6:37 PM > To: Dong, Chuanxiao ; intel-gvt- > d...@lists.freedesktop.org; intel-gfx@lists.freedesktop.org > Subject: Re: [Intel-gfx] [PATCH v2] drm/i915/gvt

Re: [Intel-gfx] [PATCH 2/3] drm/i915/gvt: Return -EIO if host enable_execlists not enabled when loading GVT-g

2017-05-26 Thread Dong, Chuanxiao
> -Original Message- > From: Chris Wilson [mailto:ch...@chris-wilson.co.uk] > Sent: Friday, May 26, 2017 5:35 PM > To: Dong, Chuanxiao > Cc: intel-gvt-...@lists.freedesktop.org; intel-gfx@lists.freedesktop.org > Subject: Re: [Intel-gfx] [PATCH 2/3] drm/i915/gvt: R

Re: [Intel-gfx] [PATCH 1/3] drm/i915/gvt: Add gvt options sanitize function

2017-05-27 Thread Dong, Chuanxiao
> -Original Message- > From: intel-gvt-dev [mailto:intel-gvt-dev-boun...@lists.freedesktop.org] On > Behalf Of Chris Wilson > Sent: Friday, May 26, 2017 7:09 PM > To: Dong, Chuanxiao > Cc: intel-gfx@lists.freedesktop.org; intel-gvt-...@lists.freedesktop.org > Su

[Intel-gfx] Can Intel BDW GPU work perfectly with iommu enabled?

2017-07-05 Thread Dong, Chuanxiao
Hello, Found that there is a BDW GPU hang bug with iommu enabled in free desktop Bugzilla since two years ago, and it is still not closed: https://bugs.freedesktop.org/show_bug.cgi?id=89360 The last duplicated issue is 99964 which was reproduced with linux-4.10. Does anyone know if linux-4.11

Re: [Intel-gfx] [PATCH] drm/i915: Fix the kernel panic when using aliasing ppgtt

2017-07-07 Thread Dong, Chuanxiao
> -Original Message- > From: Chris Wilson [mailto:ch...@chris-wilson.co.uk] > Sent: Friday, July 7, 2017 5:38 PM > To: Dong, Chuanxiao ; intel- > g...@lists.freedesktop.org > Cc: intel-gvt-...@lists.freedesktop.org; Dong, Chuanxiao > ; Auld, Matthew ; > Zhenyu Wan

Re: [Intel-gfx] [PATCH] drm/i915: Fix the port submission race during engine reset in execlists mode

2017-07-19 Thread Dong, Chuanxiao
> -Original Message- > From: Chris Wilson [mailto:ch...@chris-wilson.co.uk] > Sent: Wednesday, July 19, 2017 5:26 PM > To: Dong, Chuanxiao ; intel- > g...@lists.freedesktop.org > Cc: intel-gvt-...@lists.freedesktop.org > Subject: Re: [Intel-gfx] [PATCH] drm/i915: Fi

[Intel-gfx] a potential dead loop in intel_lrc_irq_handler

2017-08-07 Thread Dong, Chuanxiao
Hello, Found there might be a corner case for intel_lrc_irq_handler() in a dead loop, want to understand if this can be real or not. The scenario is like: 1. Write wedged to trigger a GPU reset; 2. meanwhile, there is one ongoing request in port[0], and its context switch interrupt is generated

Re: [Intel-gfx] a potential dead loop in intel_lrc_irq_handler

2017-08-07 Thread Dong, Chuanxiao
> -Original Message- > From: Chris Wilson [mailto:ch...@chris-wilson.co.uk] > Sent: Monday, August 7, 2017 5:56 PM > To: Dong, Chuanxiao ; intel- > g...@lists.freedesktop.org; Joonas Lahtinen > > Subject: Re: a potential dead loop in intel_lrc_irq_handler > &

Re: [Intel-gfx] a potential dead loop in intel_lrc_irq_handler

2017-08-07 Thread Dong, Chuanxiao
> -Original Message- > From: Chris Wilson [mailto:ch...@chris-wilson.co.uk] > Sent: Monday, August 7, 2017 7:13 PM > To: Dong, Chuanxiao ; intel- > g...@lists.freedesktop.org; Joonas Lahtinen > > Subject: RE: a potential dead loop in intel_lrc_irq_handler > &

Re: [Intel-gfx] [PATCH] drm/i915: Clear lost context-switch interrupts across reset

2017-08-08 Thread Dong, Chuanxiao
> -Original Message- > From: Thierry, Michel > Sent: Tuesday, August 8, 2017 1:40 AM > To: Chris Wilson ; intel-gfx@lists.freedesktop.org > Cc: Dong, Chuanxiao ; Ursulin, Tvrtko > ; Winiarski, Michal > Subject: Re: [PATCH] drm/i915: Clear lost context-switch inte

Re: [Intel-gfx] [PATCH] drm/i915/gvt: Remove bogus retry around i915_wait_request

2017-03-08 Thread Dong, Chuanxiao
> -Original Message- > From: Chris Wilson [mailto:chris.ickle.wil...@gmail.com] On Behalf Of Chris > Wilson > Sent: Thursday, March 9, 2017 6:08 AM > To: intel-gfx@lists.freedesktop.org > Cc: intel-gvt-...@lists.freedesktop.org; Chris Wilson wilson.co.uk>; Don

Re: [Intel-gfx] [PATCH] drm/i915/gvt: add enable_execlists check before enable gvt

2017-03-09 Thread Dong, Chuanxiao
Hi, Any comments to this patch? Thanks Chuanxiao > -Original Message- > From: intel-gvt-dev [mailto:intel-gvt-dev-boun...@lists.freedesktop.org] On > Behalf Of Chuanxiao Dong > Sent: Monday, March 6, 2017 1:16 PM > To: intel-gfx@lists.freedesktop.org; intel-gvt-...@lists.freedesktop.org

Re: [Intel-gfx] [PATCH] drm/i915/gvt: add enable_execlists check before enable gvt

2017-03-09 Thread Dong, Chuanxiao
> -Original Message- > From: intel-gvt-dev [mailto:intel-gvt-dev-boun...@lists.freedesktop.org] On > Behalf Of Chris Wilson > Sent: Thursday, March 9, 2017 8:45 PM > To: Dong, Chuanxiao > Cc: intel-gfx@lists.freedesktop.org; intel-gvt-...@lists.freedesktop.org > Su

Re: [Intel-gfx] [PATCH] drm/i915/gvt: add enable_execlists check before enable gvt

2017-03-09 Thread Dong, Chuanxiao
> -Original Message- > From: Jani Nikula [mailto:jani.nik...@linux.intel.com] > Sent: Thursday, March 9, 2017 9:48 PM > To: Chris Wilson; Dong, Chuanxiao > Cc: intel-gfx@lists.freedesktop.org; intel-gvt-...@lists.freedesktop.org > Subject: Re: [Intel-gfx] [PATCH]

Re: [Intel-gfx] [PATCH 2/2] drm/i915/scheduler: emulate a scheduler for guc

2017-03-12 Thread Dong, Chuanxiao
> -Original Message- > From: Intel-gfx [mailto:intel-gfx-boun...@lists.freedesktop.org] On Behalf > Of Tvrtko Ursulin > Sent: Wednesday, February 15, 2017 8:34 PM > To: Chris Wilson ; intel-gfx@lists.freedesktop.org > Subject: Re: [Intel-gfx] [PATCH 2/2] drm/i915/scheduler: emulate a sched

Re: [Intel-gfx] [PATCH] drm/i915/gvt: Remove bogus retry around i915_wait_request

2017-03-13 Thread Dong, Chuanxiao
> -Original Message- > From: intel-gvt-dev [mailto:intel-gvt-dev-boun...@lists.freedesktop.org] On > Behalf Of Dong, Chuanxiao > Sent: Thursday, March 9, 2017 9:28 AM > To: Chris Wilson ; intel-gfx@lists.freedesktop.org > Cc: intel-gvt-...@lists.freedesktop.org; Wang

Re: [Intel-gfx] [PATCH] drm/i915/gvt: Remove bogus retry around i915_wait_request

2017-03-13 Thread Dong, Chuanxiao
> -Original Message- > From: intel-gvt-dev [mailto:intel-gvt-dev-boun...@lists.freedesktop.org] On > Behalf Of Chris Wilson > Sent: Monday, March 13, 2017 5:28 PM > To: Dong, Chuanxiao > Cc: intel-gfx@lists.freedesktop.org; intel-gvt-...@lists.freedesktop.org; > Zh

Re: [Intel-gfx] [PATCH] drm/i915/scheduler: add gvt notification for guc submission

2017-03-19 Thread Dong, Chuanxiao
> -Original Message- > From: Zheng, Xiao > Sent: Monday, March 20, 2017 10:46 AM > To: Dong, Chuanxiao ; intel- > g...@lists.freedesktop.org > Cc: intel-gvt-...@lists.freedesktop.org > Subject: RE: [Intel-gfx] [PATCH] drm/i915/scheduler: add gvt notification for >

Re: [Intel-gfx] [PATCH] drm/i915/scheduler: add gvt notification for guc submission

2017-03-20 Thread Dong, Chuanxiao
> -Original Message- > From: Zheng, Xiao > Sent: Tuesday, March 21, 2017 9:39 AM > To: Dong, Chuanxiao ; intel- > g...@lists.freedesktop.org > Cc: intel-gvt-...@lists.freedesktop.org > Subject: RE: [Intel-gfx] [PATCH] drm/i915/scheduler: add gvt notification for >

Re: [Intel-gfx] [PATCH v3] drm/i915/scheduler: add gvt notification for guc submission

2017-03-22 Thread Dong, Chuanxiao
Ping for review. GVT relies on the notification before a request submitted and after a request completed, just like when using execlist mode submission. > -Original Message- > From: Dong, Chuanxiao > Sent: Wednesday, March 22, 2017 2:35 PM > To: intel-gfx@lists.freedesk

Re: [Intel-gfx] [PATCH v3] drm/i915/scheduler: add gvt notification for guc submission

2017-03-23 Thread Dong, Chuanxiao
> -Original Message- > From: Joonas Lahtinen [mailto:joonas.lahti...@linux.intel.com] > Sent: Thursday, March 23, 2017 5:38 PM > To: Dong, Chuanxiao; intel-gfx@lists.freedesktop.org > Cc: intel-gvt-...@lists.freedesktop.org > Subject: Re: [Intel-gfx] [PATCH v3] drm/i

Re: [Intel-gfx] [PATCH v3] drm/i915/scheduler: add gvt notification for guc submission

2017-03-23 Thread Dong, Chuanxiao
> -Original Message- > From: intel-gvt-dev [mailto:intel-gvt-dev-boun...@lists.freedesktop.org] On > Behalf Of Chris Wilson > Sent: Thursday, March 23, 2017 5:43 PM > To: Joonas Lahtinen > Cc: intel-gfx@lists.freedesktop.org; intel-gvt-...@lists.freedesktop.org;

Re: [Intel-gfx] [PATCH v3] drm/i915/scheduler: add gvt notification for guc submission

2017-03-23 Thread Dong, Chuanxiao
> -Original Message- > From: Tvrtko Ursulin [mailto:tvrtko.ursu...@linux.intel.com] > Sent: Thursday, March 23, 2017 5:52 PM > To: Dong, Chuanxiao; intel-gfx@lists.freedesktop.org > Cc: intel-gvt-...@lists.freedesktop.org > Subject: Re: [Intel-gfx] [PATCH v3] drm/i915/

Re: [Intel-gfx] [PATCH v4] drm/i915/scheduler: add gvt notification for guc submission

2017-03-26 Thread Dong, Chuanxiao
Hello, ping for review v4. It fixed the comments from Joonas and Chris. Would like to know if this patch can be applied in i915 to unblock the GVT in GuC mode. :) Thanks Chuanxiao > -Original Message- > From: Dong, Chuanxiao > Sent: Friday, March 24, 2017 9:49 AM > T

Re: [Intel-gfx] [PATCH v4] drm/i915/scheduler: add gvt notification for guc submission

2017-03-27 Thread Dong, Chuanxiao
> -Original Message- > From: Joonas Lahtinen [mailto:joonas.lahti...@linux.intel.com] > Sent: Monday, March 27, 2017 6:14 PM > To: Dong, Chuanxiao ; intel- > g...@lists.freedesktop.org > Cc: intel-gvt-...@lists.freedesktop.org; Zheng, Xiao > ; Tian, Kevin ; chris@

Re: [Intel-gfx] [PATCH v5] drm/i915/scheduler: add gvt notification for guc submission

2017-03-27 Thread Dong, Chuanxiao
> -Original Message- > From: Chris Wilson [mailto:ch...@chris-wilson.co.uk] > Sent: Monday, March 27, 2017 9:50 PM > To: Dong, Chuanxiao > Cc: intel-gfx@lists.freedesktop.org; intel-gvt-...@lists.freedesktop.org; > Zheng, Xiao; Tian, Kevin; joonas.lahti...@linux.intel

Re: [Intel-gfx] [PATCH v5] drm/i915/scheduler: add gvt notification for guc submission

2017-03-27 Thread Dong, Chuanxiao
> -Original Message- > From: intel-gvt-dev [mailto:intel-gvt-dev-boun...@lists.freedesktop.org] On > Behalf Of Chris Wilson > Sent: Monday, March 27, 2017 10:33 PM > To: Dong, Chuanxiao > Cc: Zheng, Xiao; intel-gfx@lists.freedesktop.org; > joonas.lahti...@linux

Re: [Intel-gfx] [PATCH 1/2] drm/i915/scheduler: add gvt force-single-submission for guc

2017-03-28 Thread Dong, Chuanxiao
> -Original Message- > From: Chris Wilson [mailto:ch...@chris-wilson.co.uk] > Sent: Tuesday, March 28, 2017 4:22 PM > To: Dong, Chuanxiao > Cc: intel-gfx@lists.freedesktop.org; intel-gvt-...@lists.freedesktop.org > Subject: Re: [PATCH 1/2] drm/i915/scheduler: ad

Re: [Intel-gfx] [PATCH v2 0/2] drm/i915/scheduler: add gvt force-single-submission and notification for guc

2017-03-31 Thread Dong, Chuanxiao
Hi, ping for review. Would like to know if this serial patches are OK to be taken or I need to drive more comments here :) Thanks Chuanxiao > -Original Message- > From: Dong, Chuanxiao > Sent: Tuesday, March 28, 2017 5:39 PM > To: intel-gfx@lists.freedesktop.org >

Re: [Intel-gfx] [PATCH v2 1/2] drm/i915/scheduler: add gvt force-single-submission for guc

2017-03-31 Thread Dong, Chuanxiao
> -Original Message- > From: intel-gvt-dev [mailto:intel-gvt-dev-boun...@lists.freedesktop.org] On > Behalf Of Chris Wilson > Sent: Friday, March 31, 2017 10:24 PM > To: Dong, Chuanxiao > Cc: intel-gfx@lists.freedesktop.org; intel-gvt-...@lists.freedesktop.org > Sub